neocomputersuk Posted March 11 Share Posted March 11 Hello is there a way I can edit the delivery-slip.summary-tab.tpl file to display the order ID rather than the order reference? TIA Link to comment Share on other sites More sharing options...
NedraG Posted March 11 Share Posted March 11 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 More sharing options...
Prestashop Addict Posted March 15 Share Posted March 15 Le 11/03/2024 à 11:46 AM, neocomputersuk a dit : Hello is there a way I can edit the delivery-slip.summary-tab.tpl file to display the order ID rather than the order reference? TIA But you'll have the same reference on each product line! Link to comment Share on other sites More sharing options...
neocomputersuk Posted March 15 Author Share Posted March 15 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now