If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Track Package from FedEx, UPS, Postal, DHL, etc..

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

Started by colosports on 19 May 2006, 6:05 AM · Views: 290,851

Results 881 to 900 of 1,020
4 Nov 2020, 7:55 PM
#881
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

lat9:

Missing a right-paren:

       // Begin Ty Package Tracker       
       if (is_array($track_id)[B])[/B] {
        foreach($track_id as $id => $track) {
            $osh_sql['track_id' . $id] = zen_db_input($track);
        }
       }  

Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:
4 Nov 2020, 7:56 PM
#882
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

wsworx:

Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:

At this point it appears that edit has resolved the only issue I was having with TyPackage Tracker version 3.1.6 in 1.5.7a

4 Nov 2020, 8:38 PM
#883
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

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

wsworx:

Thank You carlwhat and lat9 your assistance is always much appreciated.:smile:

i am the typo miscreant. my apologies!

thanks @lat9 for the cleanup!

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

17 Dec 2020, 9:11 AM
#884
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

I have installed this mod on a fresh install of 1.5.7b running php7.3

Mod posts the tracking number and displays in the admin order details, sends out tan email with tracking number, however, it does not display the tracking number in the My Account>>Order Information facing the customer.

In earlier versions of zc, 1.5.6, it would display the tracking number in the customers Order details.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

17 Dec 2020, 8:30 PM
#885
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

Carbonless:

I have installed this mod on a fresh install of 1.5.7b running php7.3

Mod posts the tracking number and displays in the admin order details, sends out tan email with tracking number, however, it does not display the tracking number in the My Account>>Order Information facing the customer.

In earlier versions of zc, 1.5.6, it would display the tracking number in the customers Order details.

I'm guessing that you haven't incorporated this mod's customizations for tpl_account_history_info_default.php into your template.
https://share.getcloudapp.com/JruqOlxr

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Dec 2020, 11:24 PM
#886
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

DrByte:

I'm guessing that you haven't incorporated this mod's customizations for tpl_account_history_info_default.php into your template.
https://share.getcloudapp.com/JruqOlxr

You guessed correctly. I "assumed" the "custom_template" folder had to be uploaded as is. All is working.
THANK YOU!

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

18 Dec 2020, 4:01 AM
#887
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

Carbonless:

You guessed correctly. I "assumed" the "custom_template" folder had to be uploaded as is. All is working.
THANK YOU!

WHile the mod is working, it's also causing an error log with each log in.

[17-Dec-2020 21:59:16 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

Not sure what needs to be corrected?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

18 Dec 2020, 4:11 AM
#888
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

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

Carbonless:

WHile the mod is working, it's also causing an error log with each log in.

[17-Dec-2020 21:59:16 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

Not sure what needs to be corrected?

i would suggest reading this thread.... it might help.... especially right around here:

https://www.zen-cart.com/showthread.php?36126-Track-Package-from-FedEx-UPS-Postal-DHL-etc&p=1355813#post1355813

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

18 Dec 2020, 2:52 PM
#889
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

carlwhat:

i would suggest reading this thread.... it might help.... especially right around here:

https://www.zen-cart.com/showthread.php?36126-Track-Package-from-FedEx-UPS-Postal-DHL-etc&p=1355813#post1355813

best.

oh man... I overwrote the fix and didnt realize it. Thank you!

I am now only getting log errors when logging into or out of a customer account.

LOGIN error code:

[18-Dec-2020 08:53:09 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1  sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2  require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php)  called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3  include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4  require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5  require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object  that implements Countable in  /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

LOG OFF error code:

[18-Dec-2020 08:52:33 America/Chicago] Request URI: /index.php?main_page=logoff, IP address: xxxxx
#1  sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2  require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php)  called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3  include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4  require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5  require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object  that implements Countable in  /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

18 Dec 2020, 11:21 PM
#890
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

Carbonless:

oh man... I overwrote the fix and didnt realize it. Thank you!

I am now only getting log errors when logging into or out of a customer account.

LOGIN error code:

[18-Dec-2020 08:53:09 America/Chicago] Request URI: /index.php?main_page=login, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2 require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php) called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3 include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4 require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

> 
> LOG OFF error code:
> ```
[18-Dec-2020 08:52:33 America/Chicago] Request URI: /index.php?main_page=logoff, IP address: xxxxx
#1  sizeof() called at [/includes/templates/ntobs20/sideboxes/tpl_track_orders.php:19]
#2  require(/includes/templates/ntobs20/sideboxes/tpl_track_orders.php)  called at [/includes/modules/sideboxes/ntobs20/track_orders.php:55]
#3  include(/includes/modules/sideboxes/ntobs20/track_orders.php) called at [/includes/modules/column_right.php:25]
#4  require(/includes/modules/column_right.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:234]
#5  require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object  that implements Countable in  /includes/templates/ntobs20/sideboxes/tpl_track_orders.php on line 19.

I didnt notice this till JUST now, I was only viewing from the "EDIT" orders mod... when viewing outside of the edit orders mod, the tracking fields dont display nor does the tracking data entered.

this is the only error log I'm getting:

[18-Dec-2020 17:20:08 America/Chicago] Request URI: /index.php?main_page=account_history_info&order_id=6, IP address: xxxxx
#1 sizeof() called at [/includes/templates/ntobs20/templates/tpl_account_history_info_default.php:27]
#2 require(/includes/templates/ntobs20/templates/tpl_account_history_info_default.php) called at [/includes/templates/ntobs20/common/tpl_main_page.php:195]
#3 require(/includes/templates/ntobs20/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /includes/templates/ntobs20/templates/tpl_account_history_info_default.php on line 27.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

18 Dec 2020, 11:31 PM
#891
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

You said you're using the zca bootstrap template version 3.0.0, right? Here's the merged tpl-account-history-info template file with the Ty stuff added
Attachment #19326

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Dec 2020, 3:46 AM
#892
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

DrByte:

You said you're using the zca bootstrap template version 3.0.0, right? Here's the merged tpl-account-history-info template file with the Ty stuff added
Attachment #19326

Correct! I'll give a gander and advise. I truly appreciate this!

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

19 Dec 2020, 4:02 AM
#893
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

DrByte:

You said you're using the zca bootstrap template version 3.0.0, right? Here's the merged tpl-account-history-info template file with the Ty stuff added
Attachment #19326

That does clean up the client side of things....

But didnt touch that from the admin panel when viewing an order, I cannot see the tracking mod or data. If I use the EDIT ORDER mod, I can see the mod and enter tracking along with seeing it.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

21 Dec 2020, 9:01 PM
#894
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

DrByte:

You said you're using the zca bootstrap template version 3.0.0, right? Here's the merged tpl-account-history-info template file with the Ty stuff added
Attachment #19326

I downloaded the ZCA4 beta and scrapped the last template.

IF I am looking at order details, I still cannot see the TY mod, however, if I EDIT order I can see the tracking mod and associated data that has been input.

Any other ideas?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

22 Dec 2020, 4:35 AM
#895
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

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

If you mean you can't see it in the Admin, it's probably because of merging issues with the admin orders file.

The mod hasn't been upgraded for v1.5.7. There are hooks in v157 that would allow it to work without editing the admin orders file at all.

I make tackle it in spare time.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

22 Dec 2020, 2:32 PM
#896
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

DrByte:

If you mean you can't see it in the Admin, it's probably because of merging issues with the admin orders file.

The mod hasn't been upgraded for v1.5.7. There are hooks in v157 that would allow it to work without editing the admin orders file at all.

I may tackle it in my spare time.

Correct, cannot see in the admin when viewing the order. I have Edit Order mod installed and with that, I can post and view using the tracking mod, which then displays properly on the client side too.

I completely appreciate all you have done for ZC over the years, you are a staple in the community.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

29 Dec 2020, 7:10 PM
#897
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

Carbonless:

Correct, cannot see in the admin when viewing the order. I have Edit Order mod installed and with that, I can post and view using the tracking mod, which then displays properly on the client side too.

I completely appreciate all you have done for ZC over the years, you are a staple in the community.

1.5.7b
PHP 7.3
Responsive Classic Template
TyPackage Tracker

I can see it on the Admin side, without editing an order, but cannot get it working on the client side.

8 Jan 2021, 2:49 PM
#898
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

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

wsworx:

1.5.7b
PHP 7.3
Responsive Classic Template
TyPackage Tracker

I can see it on the Admin side, without editing an order, but cannot get it working on the client side.

When you post the tracking and send the email, does the email include the tracking number and link?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

8 Jan 2021, 6:44 PM
#899
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

Carbonless:

When you post the tracking and send the email, does the email include the tracking number and link?

I am not sure what happened but all appears to be working correctly now.

8 Jan 2021, 7:18 PM
#900
wsworx avatar

wsworx

Zen Follower

Join Date:
Jun 2012
Location:
California
Posts:
260
Plugin Contributions:
0

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

wsworx:

I am not sure what happened but all appears to be working correctly now.

I spoke to soon I guess.
It is odd because I did a walk through with a test account and everything seemed to work. The word "Test" showed up in the test accounts view of the invoice and the test email showed the word "Test" in the email.
I then went in and completed a real order for shipment, added the tracking number and saved the order then went in to the front end, with Encrypted Master Password, and checked the customer's account invoice history view of the invoice and the tracking number is not shown. The tracking number is showing up on the updated email sent to the customer though.
After all that I went and did a new test order again, through the test account, and now it is doing the same thing as the real order did, no tracking number in the account history view.
I also noticed the email has "$EMAIL_SALUTATION" listed before the customer's name. I am assuming because the variable is not defined somewhere.