-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
novastar
Questions,
Does this mod add a page to your site where customers can enter the tracking number and it returns the status, or does it link directly to the shippers site, e.g. UPS, DHL?
Lastly do you have to get the tracking number from the shippinng company ( I'm asking because if so, how do you test it?) and is there a working example of this mod that someone could post? Thanks
The readme file explains how this module works.. I suggest if you are thinking about installing it that you should download the module and review the readme..
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
DivaVocals
Just submitted v3.1.1
Thank you!:clap:
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Please make the following code multilingual in a next version
PHP Code:
// TY TRACKER 4 BEGIN ----------------------------------------------
$status = $status_info->fields['orders_status_id'];
$track_id1 = $status_info->fields['track_id1'];
$track_id2 = $status_info->fields['track_id2'];
$track_id3 = $status_info->fields['track_id3'];
$track_id4 = $status_info->fields['track_id4'];
$track_id5 = $status_info->fields['track_id5'];
if (zen_not_null($status_info->fields['comments']) && $status_info->fields['comments'] != '' && $_POST['notify_comments'] == 'on') {
$notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . $status_info->fields['comments'] . "\n\n";
}
if (zen_not_null($track_id1)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_1 . " Tracking ID is " . $track_id1 . " \n<br /><a href=" . CARRIER_LINK_1 . $track_id1 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_1 . $track_id1 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id2)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_2 . " Tracking ID is " . $track_id2 . " \n<br /><a href=" . CARRIER_LINK_2 . $track_id2 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_2 . $track_id2 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id3)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_3 . " Tracking ID is " . $track_id3 . " \n<br /><a href=" . CARRIER_LINK_3 . $track_id3 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_3 . $track_id3 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id4)) { $notify_comments .= "\n\n<br /><br />Uw " . CARRIER_NAME_4 . " Tracking ID is " . $track_id4 . " \n<br /><a href=" . CARRIER_LINK_4 . $track_id4 . ">Klik hier</a> om uw pakket te volgen. \n<br />Als de bovenstaande link niet werkt, kopieer dan het volgende url adres naar uw webbrowser. \n<br />" . CARRIER_LINK_4 . $track_id4 . "\n\n<br /><br />Het kan tot 24 uur duren voordat de track informatie zichtbaar is op de website." . "\n<br />"; }
if (zen_not_null($track_id5)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_5 . " Tracking ID is " . $track_id5 . " \n<br /><a href=" . CARRIER_LINK_5 . $track_id5 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_5 . $track_id5 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
// END TY TRACKER 4 -------------------------------------------------
this is code form the file common_orders_fucntions.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
If you provide the code needed for this requested change, I would have been happy to include it..
In the meantime you might have overlooked this post..
http://www.zen-cart.com/forum/showpo...&postcount=510
Quote:
Originally Posted by
Design75
Please make the following code multilingual in a next version
PHP Code:
// TY TRACKER 4 BEGIN ----------------------------------------------
$status = $status_info->fields['orders_status_id'];
$track_id1 = $status_info->fields['track_id1'];
$track_id2 = $status_info->fields['track_id2'];
$track_id3 = $status_info->fields['track_id3'];
$track_id4 = $status_info->fields['track_id4'];
$track_id5 = $status_info->fields['track_id5'];
if (zen_not_null($status_info->fields['comments']) && $status_info->fields['comments'] != '' && $_POST['notify_comments'] == 'on') {
$notify_comments = EMAIL_TEXT_COMMENTS_UPDATE . $status_info->fields['comments'] . "\n\n";
}
if (zen_not_null($track_id1)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_1 . " Tracking ID is " . $track_id1 . " \n<br /><a href=" . CARRIER_LINK_1 . $track_id1 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_1 . $track_id1 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id2)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_2 . " Tracking ID is " . $track_id2 . " \n<br /><a href=" . CARRIER_LINK_2 . $track_id2 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_2 . $track_id2 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id3)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_3 . " Tracking ID is " . $track_id3 . " \n<br /><a href=" . CARRIER_LINK_3 . $track_id3 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_3 . $track_id3 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
if (zen_not_null($track_id4)) { $notify_comments .= "\n\n<br /><br />Uw " . CARRIER_NAME_4 . " Tracking ID is " . $track_id4 . " \n<br /><a href=" . CARRIER_LINK_4 . $track_id4 . ">Klik hier</a> om uw pakket te volgen. \n<br />Als de bovenstaande link niet werkt, kopieer dan het volgende url adres naar uw webbrowser. \n<br />" . CARRIER_LINK_4 . $track_id4 . "\n\n<br /><br />Het kan tot 24 uur duren voordat de track informatie zichtbaar is op de website." . "\n<br />"; }
if (zen_not_null($track_id5)) { $notify_comments .= "\n\n<br /><br />Your " . CARRIER_NAME_5 . " Tracking ID is " . $track_id5 . " \n<br /><a href=" . CARRIER_LINK_5 . $track_id5 . ">Click here</a> to track your package. \n<br />If the above link does not work, copy the following URL address and paste it into your Web browser. \n<br />" . CARRIER_LINK_5 . $track_id5 . "\n\n<br /><br />It may take up to 24 hours for the tracking information to appear on the website." . "\n<br />"; }
// END TY TRACKER 4 -------------------------------------------------
this is code form the file common_orders_fucntions.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Will this module allow for multiple tracking numbers per order? For instance, if a customer's order is shipped in 3 packages shipped by the same carrier, how would I handle this?
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
chickpeajunkie
Will this module allow for multiple tracking numbers per order? For instance, if a customer's order is shipped in 3 packages shipped by the same carrier, how would I handle this?
Never mind :). Found the answer here:
http://www.zen-cart.com/forum/showth...ers#post547043
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Two quick things I have found.
We have it set up on our order updates as
RECEIVED
PROCESSING
PARTIALLY SHIPPED
SHIPPED COMPLETE
Now I noticed you cannot go to the EDIT order and enter the tracking number. You have to use DETAILS. Why is that?
Also if you have already entered tracking numbers under PARTIALLY SHIPPED and the next day have another package PARTIALLY SHIPPED, it will not take the tracking number. The top of the screen will say order not updated.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
willie bee
Now I noticed you cannot go to the EDIT order and enter the tracking number. You have to use DETAILS. Why is that?
Not sure I understand your question.. Are you referring to the Edit Orders module??
Quote:
Originally Posted by
willie bee
Also if you have already entered tracking numbers under PARTIALLY SHIPPED and the next day have another package PARTIALLY SHIPPED, it will not take the tracking number. The top of the screen will say order not updated.
From the readme:
Quote:
Add comments or change the status. (Required or your tracking information will not be saved!)*
and again on the same page of the README:
Quote:
- I get the Warning: Nothing to change. The order was not updated.
-> When you add a tracking number, you must either change the order status or add a comment in order to update the order with the tracking data.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Yes I understand the README file.
Maybe I can explain it better.
Sometimes we ship partials. So say you have three packages you need to ship.
We have our notifcations set up as.
ORDER RECEIVED (their default confirmation)
ORDER PROCESSING (lets them know we're working on it)
ORDER PARTIALLY SHIPPED (let's them know we shipped a partial)
ORDER SHIPPED (lets them know the balance has shipped.
So say we get an order. it's ORDER RECEIVED.
We then update it to ORDER PROCESSING.
So we have three boxes.
We put in a tracking number say UPS in the field and hit ORDER PARTIALL SHIPPED for the first package shipped.
Now if we go back the next day and enter the tracking number for the second package shipped and do a PARTIALLY SHIPPED and enter the tracking in the field again, it will not update it.
We have to do the the old regular way and put it in the comments.
Now for the last package you can enter the tracking in the field and hit ORDER SHIPPED and it'll take.
So looks like the mod only allows you to use ONE instance of each order update.
See what I'm sayin'?
So "When you add a tracking number, you must either change the order status or add a comment in order to update the order with the tracking data." That is why I think it won't take, you have to update it to a DIFFERENT STATUS, but we ship multiple packages partially sometimes.
-
Re: Track Package from FedEx, UPS, Postal, DHL, etc..
Quote:
Originally Posted by
willie bee
Yes I understand the README file.
Maybe I can explain it better.
Sometimes we ship partials. So say you have three packages you need to ship.
We have our notifcations set up as.
ORDER RECEIVED (their default confirmation)
ORDER PROCESSING (lets them know we're working on it)
ORDER PARTIALLY SHIPPED (let's them know we shipped a partial)
ORDER SHIPPED (lets them know the balance has shipped.
So say we get an order. it's ORDER RECEIVED.
We then update it to ORDER PROCESSING.
So we have three boxes.
We put in a tracking number say UPS in the field and hit ORDER PARTIALL SHIPPED for the first package shipped.
Now if we go back the next day and enter the tracking number for the second package shipped and do a PARTIALLY SHIPPED and enter the tracking in the field again, it will not update it.
We have to do the the old regular way and put it in the comments.
Now for the last package you can enter the tracking in the field and hit ORDER SHIPPED and it'll take.
So looks like the mod only allows you to use ONE instance of each order update.
See what I'm sayin'?
So "When you add a tracking number, you must either change the order status or add a comment in order to update the order with the tracking data." That is why I think it won't take, you have to update it to a DIFFERENT STATUS, but we ship multiple packages partially sometimes.
I understood what you were saying.. what I am saying is that you could simply enter a comment when you do the second partial shipment and the tracking number will "take"..