Swickaar Posted October 25, 2012 Share Posted October 25, 2012 Hi, We have upgraded to Ps 1.5.1, Earlier we used to get order numbers for any order and the same was there with the customer. Now the customer gets a reference number which is like Order #376342 (VFJBAYYOH) Now in this case the customer only gets to see VFJBAYYOH code as reference number and when he calls up our service then we dont get any response when we search in order. please help us restore back to numbers. this order no. 376342 is visible only on our backend. Please help us resolve this issue Link to comment Share on other sites More sharing options...
acfccfsignals Posted October 25, 2012 Share Posted October 25, 2012 try this post... it worked for me. http://www.prestashop.com/forums/topic/192541-order-reference-in-15-uppercase-replace-with-number/page__hl__id_order__fromsearch__1 Link to comment Share on other sites More sharing options...
Swickaar Posted October 26, 2012 Author Share Posted October 26, 2012 Shouldn't there be an option so that we can choose from order number or letters. Also note that this reference number in reference cannot search an order. Link to comment Share on other sites More sharing options...
Nuno Loureiro Posted December 27, 2012 Share Posted December 27, 2012 (edited) Hello, order-detail.tpl {$order->id|string_format:"%06d"} <br /> {$order->id|intval} <br /> {Order::getUniqReferenceOf($order->id)} Results: 000002 2 PRQPKOMXZ Edited December 27, 2012 by Nuno Loureiro (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts