Zen Cart Logo
Forums / All Other Contributions/Addons / Track Package from FedEx, UPS, Postal, DHL, etc..

Track Package from FedEx, UPS, Postal, DHL, etc..

Views: 290,285

Results 41 to 60 of 1,019
8 Sep 2006, 8:13 AM
#41
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Track Package from FedEx, UPS, Postal, DHL, etc..

BlessIsaacola:

Okay, there used to be a bug in Zen Cart where when order update is sent, it will show New Status twice. Ty Package tracker fixed this.

However in 1.3.5 this bug has been fixed and not Ty Package tracker is broken because when a Status Update is emailed using Ty Package tracker the New Status is blank in the email sent to customer without any update showing i.e. Cancelled, Shipped, etc.

Thanks for finding the bug. You are correct. On html emails, the status will be blank. Text e-mails are not affected. I will fix it in the next update. This is an easy fix. If you want to fix it now, you need to edit the file admin/ty_package_tracker.php

Look for the following 3 lines (line 114-116)

      $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = $notify_comments;
      $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
      $html_msg['EMAIL_TEXT_STATUS_LABEL'] = '<strong>New status:</strong>';

Replace the 3 lines with this

      $html_msg['EMAIL_TEXT_STATUS_COMMENTS'] = nl2br($notify_comments);
      $html_msg['EMAIL_TEXT_STATUS_UPDATED'] = str_replace('\n','', EMAIL_TEXT_STATUS_UPDATED);
      $html_msg['EMAIL_TEXT_STATUS_LABEL'] = str_replace('\n','', sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] ));

This fix should ONLY be use if you are running Zencart 1.3.5. Do not use the code on version 1.3.0.2 (or earlier) or else you will get the double status as noted above.

Ty.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

8 Sep 2006, 8:27 AM
#42
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Thanks for the prompt response and the fix. It works great now.

Great Mod!

9 Sep 2006, 6:43 PM
#43
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

A new update was added to the download section for Zencart 1.3.5. This version will also work with Zencart 1.3.0 or later.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=167

The fixes are:

  1. Rename files from ty_package_tracker.php to tracker.php.
    The php files were rename to make it more User Friendly.

  2. Fixed the blank New Status on html e-mails.
    On ZC 1.3.5 html emails, the new status will show a blank status. Text emails were unafffected.

  3. Moved Tracking ID info to comment box for Customer Order History. (Admin unchanged.)
    We have people complainting the Status History & Comments section was overlapping or stretching too far right. The tracking id column was removed and will be display in the comment box. This should minimize the problem.

  4. Email text changed.
    The wording was slightly changed. To customize the e-mail, edit the files in admin/tracker.php Edit the TY2 BEGIN section (line 87-97).

Ty.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

12 Sep 2006, 4:18 AM
#44
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I added this to 1.3.5, and the sumbit button under orders is not showing up, I have taken screenshots for you to see it directly also, I changed the defines in filenames .php and I still get nothing but a return to the main page when I go to view an order that has been placed.

Any idea what is causing either of this?

ScreenShot - http://www.wilson-cellular.com/ty_shot.jpg

Thanks in advance

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

12 Sep 2006, 4:35 AM
#45
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

might want to add the install coding for new users as well, as it is it only contains the updates.

Just a note :)

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered

12 Sep 2006, 5:39 AM
#46
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

knuckle-101:

I added this to 1.3.5, and the sumbit button under orders is not showing up, I have taken screenshots for you to see it directly also, I changed the defines in filenames .php and I still get nothing but a return to the main page when I go to view an order that has been placed.

Any idea what is causing either of this?

ScreenShot - http://www.wilson-cellular.com/ty_shot.jpg

Thanks in advance
By the screenshots, I can see that you are missing the
/admin/includes/languages/english/tracker.php file

The submit buttons should show up. My guess is that the file on your web server is incomplete file (probably due to FTP). FTP the files from the module to your server again and overwrite the old files.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

19 Sep 2006, 2:49 AM
#47
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

It seems UPS has changed their tracking url. Clicking on the tracking number no longer pre-fills the number into the UPS website. Has anyone figured out the new url format for this to work?

edit: I found a recent UPS email that had the format. Plug this into Admin>config>ty package tracker

http://wwwapps.ups.com/WebTracking/processRequest?loc=en_US&tracknum=

Jim
Wheaton Website Services

19 Sep 2006, 3:00 AM
#48
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

http://wwwapps.ups.com/WebTracking/processRequest?loc=en_US&tracknum=

Thanks for posting the new tracking link!
Ty.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

19 Sep 2006, 3:04 AM
#49
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

No trouble.

Question, I've got a site using version 1.2 If I follow the upgrade instructions, will previous orders retain their tracking data?

Jim
Wheaton Website Services

19 Sep 2006, 3:17 AM
#50
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

jeking:

No trouble.

Question, I've got a site using version 1.2 If I follow the upgrade instructions, will previous orders retain their tracking data?

ALWAYS back up the database before upgrading.

The tracking information is saved in the database. If you do the upgrade correctly, all your orders, customers info, products, etc... and tracking id should carry over to the new version.

Ty.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

24 Sep 2006, 5:39 PM
#51
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I have found a major bug, which i really hope can be fixed.

When you install this add-on and execute the SQL query it messes up the attributes.

If you have a text attribute and mark it as required, it still lets users continue to the cart without typing anything in..

I know for a fact it is this addon because i had to start from scratch again and once I executed the SQL I was unable to receive an error when no text was entered in the text attribute

Please let me know if this can be fixed because i really do love this addon!!!

26 Sep 2006, 2:52 AM
#52
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

tylerd213:

I have found a major bug, which i really hope can be fixed.

When you install this add-on and execute the SQL query it messes up the attributes.

If you have a text attribute and mark it as required, it still lets users continue to the cart without typing anything in..

I know for a fact it is this addon because i had to start from scratch again and once I executed the SQL I was unable to receive an error when no text was entered in the text attribute

Please let me know if this can be fixed because i really do love this addon!!!

Thanks for finding the bug. I reviewed the sql code and the database and found out that 3 fields were accidentally removed.
To fix the bug, you should BACKUP your database and then run the following 3 statements in Admin->Tools->Install SQL Patches

INSERT INTO `configuration` VALUES (316, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);
INSERT INTO `configuration` VALUES (322, 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);
INSERT INTO `configuration` VALUES (323, 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);

The above code adds the 3 fields that were initially removed when Ty_Package_Tracker was installed. The above statements were ran on my live website and tested without any problems.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

26 Sep 2006, 6:49 PM
#53
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

I tried that but I get this error:

1062 Duplicate entry '316' for key 1
in:
[INSERT INTO configuration VALUES (316, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

26 Sep 2006, 7:01 PM
#54
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

tylerd213:

I tried that but I get this error:

1062 Duplicate entry '316' for key 1
in:
[INSERT INTO configuration VALUES (316, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

This means that the 3 missing fields already exist in your database. If you get the above error, you can ignore the error since the fields already exist. Your required text should be working. If not let me know.

The bug fix was uploaded to ZenCart downloads.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=167

The new uploaded version does not have the database problem. So if you are installing a Fresh version (not upgrading from a previous version), you do not have to worry about the problem. For those user that have previous versions of the Tracker mod, all you have to do is run the 3 statements from the above post.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

26 Sep 2006, 7:16 PM
#55
ladysaat avatar

ladysaat

Zen Follower

Join Date:
May 2006
Location:
Anywhere USMC points
Posts:
330
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Okay I'm using v1.3.5, this will work fine with it right? I really really would love this module. I read that it's in the downloads section, and you just now put the bug fixed one over there right? I'll post how it runs after I install it. I do have alot of other mods, so hopefully none conflict with this one. :laugh:

The ART of Zen ; man I wish I was an ARTIST!~!

Donate $5 a month, you spend more for NOTHING at McDonalds!

26 Sep 2006, 8:00 PM
#56
tylerd213 avatar

tylerd213

New Zenner

Join Date:
Sep 2006
Posts:
22
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Okay it works now I had to reinstall the package though. It wouldn't let me insert those 3 commands, when I did it gave me the error they already existed (and the problem persisted) once I uploaded my backup database I used the new Fresh Install that you just uploaded and it works great. Thanks for the help and great job with this mod.

29 Sep 2006, 2:01 AM
#57
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Correction:
The code should be

INSERT INTO `configuration` VALUES ('', 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, '2006-09-25 20:11:52', '2006-09-25 20:11:52', NULL, NULL);

The first value for each field should be blank.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

1 Oct 2006, 8:07 PM
#58
ghgarcia avatar

ghgarcia

New Zenner

Join Date:
Sep 2006
Posts:
34
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

Installed the module it's great. However just having a little problem with UPS. The link that is generated does go to UPS but even with an invalid tracking number I receive no error that that number is invalid just a screen to input tracking numbers and a check box that must be checked in order for UPS to track a number. Hope I explained it correctly. Any help would be greatly appreciated.

Thanks

George Garcia

Plushcosmetics.net

1 Oct 2006, 8:34 PM
#59
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

That was the old UPS tracking link.
You need to update it. The new tracking link is

http://wwwapps.ups.com/WebTracking/processRequest?loc=en_US&tracknum=

To update the link, Go to
Admin->Configuration->Ty_Package_Tracker to configure settings.

By default, UPS is Carrier 2. Change the Carrier 2 tracking link and it should work.
Ty.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

2 Oct 2006, 12:33 AM
#60
ghgarcia avatar

ghgarcia

New Zenner

Join Date:
Sep 2006
Posts:
34
Plugin Contributions:
0

Re: Track Package from FedEx, UPS, Postal, DHL, etc..

:yes: That did it. Works great.

Thanks

George Garcia

Plushcosmetics.net