ruilong Posted December 19, 2008 Share Posted December 19, 2008 Where is this? I click on orders, open one order but I can't find the button to add a tracking number?what is missing? do I have to make some setting for it to show up? or what? 1 Link to comment Share on other sites More sharing options...
TropischBruin Posted December 19, 2008 Share Posted December 19, 2008 I think you're not missing anything, PrestaShop is ;-) As far is I know it is not possible to at a Track&Trace;number, only as a comment to the order. Link to comment Share on other sites More sharing options...
ruilong Posted December 19, 2008 Author Share Posted December 19, 2008 I think you're not missing anything, PrestaShop is ;-) As far is I know it is not possible to at a Track&Trace;number, only as a comment to the order. no it should be possible, I have seen the Add tracking number button on one or two test orders.. but it dosn't show up on all orders.. there must be some kind of flag for showing this or not somewhere.. Link to comment Share on other sites More sharing options...
clokwise Posted December 19, 2008 Share Posted December 19, 2008 The Tracking # input field only show up AFTER you set the order as "Shipped" status. This has been mentioned before here. Seems like a better way would be to add the Tracking # at the same time as setting the "Shipped" status so that the customer can get a notice about shipping with a tracking # too. As it is now, the only way a customer can find the tracking # is to go to his account and poke around and look for it. Or else you have to send him a note manually with the details. Either way, definitely not the best way to handle this IMO. Link to comment Share on other sites More sharing options...
ruilong Posted December 20, 2008 Author Share Posted December 20, 2008 Look at the image, two orders, same carrier, both set to "shipping" only one showing tracking number box.. I have too look into this even more.. maybe another bug? Link to comment Share on other sites More sharing options...
ruilong Posted December 20, 2008 Author Share Posted December 20, 2008 hmm seems that the first orders where created when the carrier hadn't any tracking URL so then the tracking number didn't show up..so to get tracking number1. Set tracking url = must do2. set status to shipping Link to comment Share on other sites More sharing options...
jose27madrid Posted December 20, 2008 Share Posted December 20, 2008 Yes, this feature need to be implemented so when you send the shipping email to the customer they could see the tracking number and the company phone or web page in the same email. 1 Link to comment Share on other sites More sharing options...
TropischBruin Posted December 22, 2008 Share Posted December 22, 2008 The funny thing is that if you add the Trackinnumber and then just click the button next to the Shipping statusmessage again it resends the Shipping e-mail inlcuding the Trackinnumber! :smirk: How strange is that? The only thing else is that the link to the track&trace;site goes no-where :-S Link to comment Share on other sites More sharing options...
TropischBruin Posted December 22, 2008 Share Posted December 22, 2008 I've been trying to add another Order-status but I cannot get it to behave like the Shipping one.To me it looks like there is something hardcoded in PS that "opens" the option to add the Trackingnumber once the Shipped status is set.Is there anyone from the Team who can comment on that please? Link to comment Share on other sites More sharing options...
TropischBruin Posted December 28, 2008 Share Posted December 28, 2008 I've been trying to add another Order-status but I cannot get it to behave like the Shipping one.To me it looks like there is something hardcoded in PS that "opens" the option to add the Trackingnumber once the Shipped status is set.Is there anyone from the Team who can comment on that please? No-one has a clue? Link to comment Share on other sites More sharing options...
TropischBruin Posted January 4, 2009 Share Posted January 4, 2009 BUMP!And a workarround :cheese: Thanks to the member toysstore on PrestaShop Forums Nederland.Goto tabs/adminorders.phpArround 405 find: if ($carrier->url AND $currentState->id == _PS_OS_SHIPPING_) Change: if ($carrier->url AND $currentState->id == _PS_OS_PREPARATION_) Now you can enter the Trackingnumber when the order gets the status Preparation.When the order gets the status Shipped the trackingnumber gets send. Link to comment Share on other sites More sharing options...
clokwise Posted January 5, 2009 Share Posted January 5, 2009 This sounds great! Will try it now...EDIT: It works, but after the order status is changed to Shipped the tracking # can no longer be edited. I would recommend this fix instead: if ($carrier->url AND ($currentState->id == _PS_OS_PREPARATION_ || $currentState->id == _PS_OS_SHIPPING_)) This code will allow editing of the tracking # before shipping AND after shipping.Can someone make sure that a fix gets patched into the SVN codebase?? I don't want this to break next time I upgrade, because I'm sure I'll forget how I fixed it by then. Link to comment Share on other sites More sharing options...
Rain3r Posted January 15, 2009 Share Posted January 15, 2009 If you want to tracking number field be displayed on orders before you add tracking URL, go to the database (table prefix_carrier) and paste your tracking url into column called "tracking_number" or somehow like that and line with your previously used carrier without tracking url. After that, you will be able to set tracking number on orders, which hadn't this option before. Link to comment Share on other sites More sharing options...
Jimmy R J Posted February 20, 2009 Share Posted February 20, 2009 Made the changes but i encountered another bug i think.. It reuses the Track And Trace number from earlier orders and not the new ones i enter?.Anyone encountered the same problem? Link to comment Share on other sites More sharing options...
L. Brett Sinclair Posted February 20, 2009 Share Posted February 20, 2009 I noticed that the tracking # is available once the delivery ticket is created ..if that helps. Link to comment Share on other sites More sharing options...
brandonc503 Posted February 10, 2010 Share Posted February 10, 2010 heya im using 1.2.5 final and this code dosent seem to be the same as what i have in my /admin/tabs/AdminOrders.php any suggestions? i do want the tracking number to show up during the preperation step. idealy id like to select shipping and have field open for tracking number, then i can click change and it will email the tracking link with the shipping email.. insted of one for traking number and one for shipping. and if there is no tracking number then the field can be blank to click change for shipping. Link to comment Share on other sites More sharing options...
kleinermann Posted October 27, 2010 Share Posted October 27, 2010 Did anyone come up with a new solution for this? The old solution is not working anymore in the latest release of Prestshop. Link to comment Share on other sites More sharing options...
JTT Posted January 14, 2011 Share Posted January 14, 2011 If you want to enalbe editing shipping number, you can edit in Adminorders.php aournd line 582 if ($carrier->url && $order->hasBeenShipped()) to // if ($carrier->url && $order->hasBeenShipped()) and also around line 69 // if (!$order->hasBeenShipped()) // die(Tools::displayError('The shipping number can only be set once the order has been shipped!')); It is not a clean solution, but i do not have time now to make it better. When you will set the shipping number, then prestashop will send the email, that it is shipped (with shipping number) , but the state remains unchanged.Also remember to set the carrier URL in the shipping tab. Link to comment Share on other sites More sharing options...
salko Posted April 28, 2011 Share Posted April 28, 2011 If you want to enalbe editing shipping number, you can edit in Adminorders.php aournd line 582if ($carrier->url && $order->hasBeenShipped()) to // if ($carrier->url && $order->hasBeenShipped()) and also around line 69 // if (!$order->hasBeenShipped()) // die(Tools::displayError('The shipping number can only be set once the order has been shipped!')); It is not a clean solution, but i do not have time now to make it better. When you will set the shipping number, then prestashop will send the email, that it is shipped (with shipping number) , but the state remains unchanged.Also remember to set the carrier URL in the shipping tab. I used this solution for enabling editing shipping number in PS 1.4, entered a shipping number in shipping tab and changed status to shipped and then test it if it works but I receive 'Invalid order' error in FO if I use guest-tracking.php link. I'm using 'YMDnum OrderID numbering' module for order numbering. Is it possible to check tracking information of an order of registered user via guest-tracking.php (if this user is not logged in)? Or where in FO is possible to find a link to tracking information of a registered user?? Link to comment Share on other sites More sharing options...
periyasamy Posted August 2, 2015 Share Posted August 2, 2015 how to control product catelog filter option in prestashop Link to comment Share on other sites More sharing options...
Recommended Posts