What's New
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.
Hi,
1. It requires to modify the \themes\transformer\templates\customer\history.tpl file, change ‘Order reference’ to ‘Order ID’, and change ‘$order.details.reference’ to ‘$order.details.id’, see attached screenshot.
2. To change guest tracking, please modify \themes\transformer\templates\customer\guest-login.tpl, change ‘order_reference’ to ‘order_id’, see attached screenshot.
And modify /controllers/front/GuestTrackingController.php file, change ‘order_reference’ to ‘order_id’, and add the a now line $order = new Order($order_id);
, then change ‘order_reference’ to ‘$order->reference’, see attached screenshot.
Best regards.
Hi,
Please view the article: https://www.sunnytoo.com/11784/change-order-reference-to-number-in-prestashop-1-7
Best regards.
You must be logged in to reply to this topic.