Post by dev15 » Wed Jun 07, 2023 6:28 pm

Hi,

I am currently using opencart Version 2.0.1.0

So Currently whenever I am trying to create a new order either from Backend or frontend... It is adding the blank products with in that order...

Even It is showing the Two rows of subtotal as well as total... I've checked for these even in code as well But in code order products are coming fine but while inserting the data db it is somehow adding the extra blank products in oc_order_products table as well as in the oc_order_total table.

Can you pleas let me know exactly why this issue is coming...

Attachments

Screenshot at 2023-06-07 15-56-15.png

Screenshot at 2023-06-07 15-56-15.png (50.47 KiB) Viewed 3490 times


Newbie

Posts

Joined
Wed Jun 07, 2023 5:52 pm

Post by ADD Creative » Thu Jun 08, 2023 2:44 am

Check you oc_order_products and oc_order_total don't already have entries for further order IDs. This can happen if orders were deleted directly from the database and the next index was reset.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 55 guests