Toplam Gönderi:
4
Karma:
38
Katılım:
13.05.2016
yer:
Canada
I'm in the process of testing/setting up a new store, but I would like to remove any of my test orders from the system when I am ready to go live. How can I do this?
MVP
Sertifikalı Geliştirici
Toplam Gönderi:
1052
Karma:
8801
Katılım:
12.06.2015
yer:
Bangladesh
you need to make empty Order,OrderItem and OrderNote Tables.
Toplam Gönderi:
4
Karma:
38
Katılım:
13.05.2016
yer:
Canada
I assume that there is also another table to clean (the items in the order), correct?
MVP
Sertifikalı Geliştirici
Toplam Gönderi:
1052
Karma:
8801
Katılım:
12.06.2015
yer:
Bangladesh
I think these three tables are enough.
Toplam Gönderi:
5
Karma:
123
Katılım:
16.06.2017
yer:
India
Use this. TRUNCATE TABLE OrderNote DELETE FROM GiftCard DELETE FROM OrderItem DELETE FROM [Order] DBCC CHECKIDENT (OrderNote, RESEED, 0) DBCC CHECKIDENT (GiftCard, RESEED, 0) DBCC CHECKIDENT (OrderItem, RESEED, 0) DBCC CHECKIDENT ([Order], RESEED, 0)
Toplam Gönderi:
54
Karma:
338
Katılım:
10.09.2014
yer:
New Zealand
Needs one more table deleted TRUNCATE TABLE OrderNote DELETE FROM GiftCard DELETE FROM OrderItemDELETE FROM RewardPointsHistory DELETE FROM [Order] DBCC CHECKIDENT (OrderNote, RESEED, 0) DBCC CHECKIDENT (GiftCard, RESEED, 0)DBCC CHECKIDENT (RewardPointsHistory, RESEED, 0) DBCC CHECKIDENT (OrderItem, RESEED, 0) DBCC CHECKIDENT ([Order], RESEED, 0)
Toplam Gönderi:
311
Karma:
2556
Katılım:
15.04.2010
yer:
United States
Is this still a valid list for nopC 4.1? TIA...
Toplam Gönderi:
125
Karma:
892
Katılım:
29.03.2019
yer:
United States
The better thing to do is create a full database backup BEFORE start your tests, so you are free to test everything as you want. When you finish it, just restore your database backup. Easy peasy!
Toplam Gönderi:
311
Karma:
2556
Katılım:
15.04.2010
yer:
United States
True enough, but won't help in my situation. The info would still be useful. Thx.