Jump to content

Delivery Slip - Order Reference to Order ID


Recommended Posts

Hello,

Thank you for reaching out with your inquiry.

Yes, it is indeed possible to edit the delivery-slip.summary-tab.tpl file to display the order ID instead of the order reference. This customization would require modification of the template file and the associated code.

To ensure proper implementation and to avoid any potential issues, we recommend seeking assistance from a developer or agency partner who is experienced with PrestaShop customization. They have the expertise to efficiently make the necessary changes while maintaining the integrity of your system.

You can find experienced PrestaShop developers and agencies through the following link: https://www.prestashop.com/en/experts

I wish you an excellent day.

Kind regards

Link to comment
Share on other sites

9 minutes ago, Prestashop Addict said:

But you'll have the same reference on each product line!

It's sorted now, I tried one adjustment to the code which didn't work then hired a freelancer who then supplied the correct variable and it now works so instead of the order reference it now shows the order ID which is easier for us to work from when doing shipping and tracking.

 

Code on line 34 in the summary tpl file was changed from {$order->getUniqReference()} to {$order->id} and this then uses the ID rather than the reference

Screenshot 2024-03-15 115347.png

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...