Jump to content

Make invoice PDF reflect the BO order of product list


Recommended Posts

I have two issues I'm needing guidance with.

 

1. in the BO, the products are in an order that I need to maintain when printed. Currently, when an invoice PDF is generated, all the products in the cart are sorted by the product ID, the lesser to the greater, this messes up the cart organization that is in place in the BO AdminOrders section which I need for our warehouse pickers and the client.

 

2. Some products have information assigned to them in the "customization" field. I must have this information in a column next to the product it was created for by the client in the invoice PDF.

 

Seems to be little info on the customization field use

 

thanks

Link to comment
Share on other sites

You can sort order items in the invoice according to your needs (even group by a category, for example). The customization text can be in another column next to the product name.

 

Of course, it would need some work. I expect up to 1 hour. I'm writing about the M4 PDF Extensions module and all work can be done just in a template - no core PrestaShop code patching.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...