- Posts: 272
- Thank you received: 13
Sub-orders can't be deleted
- deltafidesign
-
Topic Author
- Offline
Less
More
13 years 10 months ago #80987
by deltafidesign
Sub-orders can't be deleted was created by deltafidesign
I'm trying to delete some tests orders in backend but I got this message: "Sub-orders [2, 4, 6] can't be deleted, please delete their parents".
What should I do?
What should I do?
Please Log in or Create an account to join the conversation.
13 years 10 months ago #80994
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Sub-orders can't be deleted
Hi,
You should delete the parent order and not the suborder, as explained.
Deleting a sub-order is forbidden because it would broke the database.
When you delete a parent order, his sub-orders would be automatically delete in the same time. At this moment, the delete would be clean.
Regards,
You should delete the parent order and not the suborder, as explained.
Deleting a sub-order is forbidden because it would broke the database.
When you delete a parent order, his sub-orders would be automatically delete in the same time. At this moment, the delete would be clean.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- deltafidesign
-
Topic Author
- Offline
Less
More
- Posts: 272
- Thank you received: 13
13 years 10 months ago #81011
by deltafidesign
Replied by deltafidesign on topic Sub-orders can't be deleted
Ok, where can I find parent orders? In my orders list in back-end, if I filter to "All vendors" I see only 3 items and if I try delete them I got that message: "Sub-orders [2, 4, 6] can't be deleted, please delete their parents".
So I set filter to "No vendors" and I delete all the orders that it show me, the are correctly deleted. Now I set back filter to "All vendors" and I still see all vendors orders and I cannot delete them, same message: "Sub-orders [2, 4, 6] can't be deleted, please delete their parents".
What's wrong?
So I set filter to "No vendors" and I delete all the orders that it show me, the are correctly deleted. Now I set back filter to "All vendors" and I still see all vendors orders and I cannot delete them, same message: "Sub-orders [2, 4, 6] can't be deleted, please delete their parents".
What's wrong?
Please Log in or Create an account to join the conversation.
- deltafidesign
-
Topic Author
- Offline
Less
More
- Posts: 272
- Thank you received: 13
13 years 10 months ago #81012
by deltafidesign
Replied by deltafidesign on topic Sub-orders can't be deleted
ADD to previous post.
Now, when I click on the order menu link I go this error: 500 SQL=SELECT a.* FROM jos_hikamarket_vendor AS a WHERE a.vendor_id IN ()
Now, when I click on the order menu link I go this error: 500 SQL=SELECT a.* FROM jos_hikamarket_vendor AS a WHERE a.vendor_id IN ()
Please Log in or Create an account to join the conversation.
13 years 10 months ago #81041
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Sub-orders can't be deleted
Hi,
The delete problem has been fixed.
But I can't reproduce your last problem.
Regards,
The delete problem has been fixed.
But I can't reproduce your last problem.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- deltafidesign
-
Topic Author
- Offline
Less
More
- Posts: 272
- Thank you received: 13
13 years 10 months ago #81048
by deltafidesign
Replied by deltafidesign on topic Sub-orders can't be deleted
Thanks Jerome. I think now it's better I wait for your new package with new fixed issues and improvements so I can install it on a fresh J! and Hikashop installation. Maybe during tests something went wrong.
Hope you'll send me soon the new package so I'll go on testing.
Best regards
Hope you'll send me soon the new package so I'll go on testing.
Best regards
Please Log in or Create an account to join the conversation.
13 years 10 months ago #81087
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Sub-orders can't be deleted
Hi,
I have found and fix the SQL error.
I will send you a new package after validation of my tests.
Regards,
I have found and fix the SQL error.
I will send you a new package after validation of my tests.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: deltafidesign
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.076 seconds