Jump to content

(SOLVED) Extra items in PDF invoice


Recommended Posts

have you attempted to delete orders in your store?  Perhaps orders that were created during a testing cycle?

 

Yes, but there is no way the orders I deleted could have included orders for those extra products by that customer. All the default products were removed long before a test purchase by that particular customer could have occurred.

Link to comment
Share on other sites

apparently not in this case.

 

If you do not delete every single record from the orders database tables, then orphaned records remain.  Then when you create new orders, the id_order value restarts from 1, and the old order products with the same id_order will show up.

 

Look at your database for the id_order in question and you will see for yourself.

Link to comment
Share on other sites

It appears that the only order in the ps_orders database table is the one belonging to the picture in my original post, but other tables, such as ps_order_details and anything else starting with ps_orders, have records. It seems the plugin I used to delete the test orders was not very thorough.

 

Is it safe for me to empty all the ps_orders_* records (since I know there are no real orders yet)?

Link to comment
Share on other sites

After a little more research, I've discovered that the method I used to delete test orders is known to be incomplete. Since there are no real orders yet anyway, I just used the Prestashop Cleaner plugin to remove all orders and all customers.

 

Thanks for your help bellini13

Edited by batman42ca (see edit history)
Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...