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 941 to 960 of 1,020
16 Jun 2021, 4:48 PM
#941
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:

Is this when you view the order in the Customers :: Orders or via Edit Orders itself? Note that versions of EO prior to the *forthcoming *v4.6.0 included its own version of TyPT.

Okay, I have deleted all of TyP that I have and all of EO to start fresh.
I am now getting ready to load your newest version of EO 4.6.0 from the plugin site.
I am reading the section about "Required Notifiers" in the Installation guide and I find that I am missing the "NOTIFY_ADMIN_ORDERS_SHOW_ORDER_DIFFERENCE" in the ADMIN/orders.php file. I have the most recent release of ZC 1.5.7c downloaded and installed but I cannot find that notifier in my site file or in the release file. All other notifiers listed exist.

16 Jun 2021, 4:57 PM
#942
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

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

wsworx:

Okay, I have deleted all of TyP that I have and all of EO to start fresh.
I am now getting ready to load your newest version of EO 4.6.0 from the plugin site.
I am reading the section about "Required Notifiers" in the Installation guide and I find that I am missing the "NOTIFY_ADMIN_ORDERS_SHOW_ORDER_DIFFERENCE" in the ADMIN/orders.php file. I have the most recent release of ZC 1.5.7c downloaded and installed but I cannot find that notifier in my site file or in the release file. All other notifiers listed exist.
Hmm, I show that notification on line 1243 of the "stock" zc157c version of /admin/orders.php.

16 Jun 2021, 5:10 PM
#943
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..

lat9:

Hmm, I show that notification on line 1243 of the "stock" zc157c version of /admin/orders.php.

Losing my mind, apologies.
I have that sorted out now.

16 Jun 2021, 5:15 PM
#944
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:

Losing my mind, apologies.
I have that sorted out now.

I swear though I had an original 1.5.7c download labeled "zen-cart-v1.5.7c-03052021" and ADMIN/orders did not have that notifier in it.
I downloaded the distro again and this one has it.

16 Jun 2021, 5:58 PM
#945
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..

lat9:

Hmm, I show that notification on line 1243 of the "stock" zc157c version of /admin/orders.php.

Okay, ZC updated, EO 4.6.0 installed and all appears to be working correctly.
Now to tackle TyP again.

16 Jun 2021, 6:06 PM
#946
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:

Okay, ZC updated, EO 4.6.0 installed and all appears to be working correctly.
Now to tackle TyP again.

I do have one request though.
Can the billing and shipping address locations be swapped on Edit Orders to match ZC Orders?

16 Jun 2021, 6:11 PM
#947
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

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

wsworx:

I do have one request though.
Can the billing and shipping address locations be swapped on Edit Orders to match ZC Orders?
Further discussion should be in the Edit Orders support-thread, but the answer is yes ... see the Edit Orders configuration settings.

16 Jun 2021, 6:27 PM
#948
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..

Nothing like going backwards.....lol
I am back to having the update info showing at the top all the time and now I can't see the tracking info in the Edit Orders or in the Orders
I made all the changes per the GitHub prior to uploading TyP again.
Again the front end is working perfectly. I can see the tracking link and it opens as it should.

16 Jun 2021, 6:37 PM
#949
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:

Nothing like going backwards.....lol
I am back to having the update info showing at the top all the time and now I can't see the tracking info in the Edit Orders or in the Orders
I made all the changes per the GitHub prior to uploading TyP again.
Again the front end is working perfectly. I can see the tracking link and it opens as it should.

I should add that when I initially log in to Admin the header is not there.
It is not until I go the Orders page that the header appears and then it stays there until I log out.

16 Jun 2021, 6:51 PM
#950
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

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

wsworx:

I should add that when I initially log in to Admin the header is not there.
It is not until I go the Orders page that the header appears and then it stays there until I log out.
Since you've updated from a previous version of TyPT, did you make sure to remove all the leftovers as identified here: https://github.com/lat9/zen_TyPackageTracker/blob/master/pages/Upgrading_to_400.md?

Note, too, that you'll need to update the TyPT configuration now that you've got EO 4.6.0 installed to enable the TyPT integration with EO.

16 Jun 2021, 7:15 PM
#951
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..

lat9:

Since you've updated from a previous version of TyPT, did you make sure to remove all the leftovers as identified here: https://github.com/lat9/zen_TyPackageTracker/blob/master/pages/Upgrading_to_400.md?

Note, too, that you'll need to update the TyPT configuration now that you've got EO 4.6.0 installed to enable the TyPT integration with EO.

Yes, I had originally gone through and done that process before but I went and double checked again. I did find that I had either missed "/YOUR_ADMIN/includes/functions/extra_functions/common_orders_functions.php" or it was installed again when I reinstalled everything.
I deleted it.

I checked the TyP configuration and it is set up correctly and the "Ty Package Tracker Module Switch" is set to True

16 Jun 2021, 7:18 PM
#952
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:

Yes, I had originally gone through and done that process before but I went and double checked again. I did find that I had either missed "/YOUR_ADMIN/includes/functions/extra_functions/common_orders_functions.php" or it was installed again when I reinstalled everything.
I deleted it.

I checked the TyP configuration and it is set up correctly and the "Ty Package Tracker Module Switch" is set to True

This is what I am seeing now:
Attachment 19632

When I first log in it is not there.
After I access Customer:Orders it shows up and stays there

16 Jun 2021, 7:25 PM
#953
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:

This is what I am seeing now:
Attachment 19632

When I first log in it is not there.
After I access Customer:Orders it shows up and stays there

In addition I am now getting log debug files with the following PHP error:

"--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home2/wildstee/public_html/includes/templates/wsworx/sideboxes/tpl_track_orders.php on line 19."

16 Jun 2021, 7:35 PM
#954
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:

In addition I am now getting log debug files with the following PHP error:

"--> PHP Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home2/wildstee/public_html/includes/templates/wsworx/sideboxes/tpl_track_orders.php on line 19."

Googling indicates that sizeof() is an issue with PHP 7.2 and some developers are recommending count instead of sizeof

16 Jun 2021, 7:50 PM
#955
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:

Googling indicates that sizeof() is an issue with PHP 7.2 and some developers are recommending count instead of sizeof

So it appears that I have this issue fixed.
I changed the following code in "includes/templates/YOUR TEMPLATE/sideboxes/tpl_track_orders.php" Line 19

From
if (sizeof($customer_orders)==0) {

To
if (empty($customer_orders)) {

It has stopped the debug log files and the front end is still working correctly

16 Jun 2021, 8:24 PM
#956
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..

Here is the EO Debug file contents if it helps at all"

"
getOrderInfo(edit), on exit:

Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate:  (not set), Shipping Tax-Description:  (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$_SESSION['shipping']: (not set)

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

eoInitializeShipping(7932, edit), on entry:
Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$_SESSION['shipping']: (not set)

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

calculateOrderShippingTax returning 0, rate = '0.0000', cost = 13.7500.
eoInitializeShipping(7932, edit), on exit:
Subtotal: 134.33, Shipping: 13.7500, Shipping Tax-Rate: 0.0000, Shipping Tax-Description: (not set), Shipping Tax: 0, Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$SESSION['shipping']: {"title":"USPS (Priority Mail\u2122 Medium Flat Rate Box)","id":"usps","cost":"13.7500"}

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

Checking order for virtual status. Order contains 2 unique products, 0 of those are virtual

============================================================
= Creating display of Order Product #33723

Product Details:
{"qty":1,"id":"430",
"orders_products_id":"33723",
"name":"VOLTAGE REGULATOR 32 AMP SERIES BLACK COMPUFIRE",
"model":"000-000551-20",
"tax":"0.0000",
"price":"119.7300",
"final_price":"119.7300",
"onetime_charges":"0.0000",
"products_priced_by_attribute":"0",
"product_is_free":"0",
"products_discount_type":"0",
"products_discount_type_from":"0",
"products_weight":"1.13",
"products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_order_min":"1",
"products_quantity_order_units":"1",
"products_quantity_order_max":"0",
"products_quantity_mixed":0,"products_mixed_discount_quantity":1}

============================================================
= Creating display of Order Product #33724

Product Details:
{"qty":2,"id":"2044",
"orders_products_id":"33724",
"name":"TAPPET SCREEN",
"model":"000-01215-15",
"tax":"0.0000",
"price":"7.3000",
"final_price":"7.3000",
"onetime_charges":"0.0000",
"products_priced_by_attribute":"0",
"product_is_free":"0",
"products_discount_type":"0",
"products_discount_type_from":"0",
"products_weight":"0.0625",
"products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_order_min":"1",
"products_quantity_order_units":"1",
"products_quantity_order_max":"0",
"products_quantity_mixed":1,"products_mixed_discount_quantity":1}

Preparing to display status history: {"date_added":{"title":"Date Added",
"show_function":"zen_datetime_short",
"include_field_name":false},"customer_notified":{"title":"Customer Notified",
"show_function":"eo_display_customers_notifications_icon",
"align":"center",
"include_field_name":false},"orders_status_id":{"title":"Status",
"show_function":"built-in"},"comments":{"title":"Comments",
"show_function":"built-in"},"updated_by":{"title":"Updated By",
"align":"center",
"show_function":"built-in"}}
"

16 Jun 2021, 8:35 PM
#957
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:

Here is the EO Debug file contents if it helps at all"

"
getOrderInfo(edit), on exit:

Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$_SESSION['shipping']: (not set)

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

eoInitializeShipping(7932, edit), on entry:
Subtotal: 134.33, Shipping: (not set), Shipping Tax-Rate: (not set), Shipping Tax-Description: (not set), Shipping Tax: (not set), Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$_SESSION['shipping']: (not set)

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

calculateOrderShippingTax returning 0, rate = '0.0000', cost = 13.7500.
eoInitializeShipping(7932, edit), on exit:
Subtotal: 134.33, Shipping: 13.7500, Shipping Tax-Rate: 0.0000, Shipping Tax-Description: (not set), Shipping Tax: 0, Tax: 0.0000, Total: 148.0800, Tax Groups: {"Tax":0}
$SESSION['shipping']: {"title":"USPS (Priority Mail\u2122 Medium Flat Rate Box)","id":"usps","cost":"13.7500"}

Order Totals
ot_subtotal. Text: $134.33, Value: 134.3300
ot_shipping. Text: $13.75, Value: 13.7500
ot_total. Text: $148.08, Value: 148.0800

Checking order for virtual status. Order contains 2 unique products, 0 of those are virtual

============================================================
= Creating display of Order Product #33723

Product Details:
{"qty":1,"id":"430",
"orders_products_id":"33723",
"name":"VOLTAGE REGULATOR 32 AMP SERIES BLACK COMPUFIRE",
"model":"000-000551-20",
"tax":"0.0000",
"price":"119.7300",
"final_price":"119.7300",
"onetime_charges":"0.0000",
"products_priced_by_attribute":"0",
"product_is_free":"0",
"products_discount_type":"0",
"products_discount_type_from":"0",
"products_weight":"1.13",
"products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_order_min":"1",
"products_quantity_order_units":"1",
"products_quantity_order_max":"0",
"products_quantity_mixed":0,"products_mixed_discount_quantity":1}

============================================================
= Creating display of Order Product #33724

Product Details:
{"qty":2,"id":"2044",
"orders_products_id":"33724",
"name":"TAPPET SCREEN",
"model":"000-01215-15",
"tax":"0.0000",
"price":"7.3000",
"final_price":"7.3000",
"onetime_charges":"0.0000",
"products_priced_by_attribute":"0",
"product_is_free":"0",
"products_discount_type":"0",
"products_discount_type_from":"0",
"products_weight":"0.0625",
"products_virtual":0,"product_is_always_free_shipping":0,"products_quantity_order_min":"1",
"products_quantity_order_units":"1",
"products_quantity_order_max":"0",
"products_quantity_mixed":1,"products_mixed_discount_quantity":1}

Preparing to display status history: {"date_added":{"title":"Date Added",
"show_function":"zen_datetime_short",
"include_field_name":false},"customer_notified":{"title":"Customer Notified",
"show_function":"eo_display_customers_notifications_icon",
"align":"center",
"include_field_name":false},"orders_status_id":{"title":"Status",
"show_function":"built-in"},"comments":{"title":"Comments",
"show_function":"built-in"},"updated_by":{"title":"Updated By",
"align":"center",
"show_function":"built-in"}}
"

For troubleshooting the no show of the tracking info

16 Jun 2021, 8:49 PM
#958
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:

So it appears that I have this issue fixed.
I changed the following code in "includes/templates/YOUR TEMPLATE/sideboxes/tpl_track_orders.php" Line 19

From
if (sizeof($customer_orders)==0) {

To
if (empty($customer_orders)) {

It has stopped the debug log files and the front end is still working correctly

So from what I can tell this was a leftover file from a previous TyP install that is not used in the newest version so I have deleted it from my ZC install.

17 Jun 2021, 1:21 AM
#959
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..

So am I the only one having the update success label continuously showing at the top of the page and the inability to see the Tracking data in Admin in Customer:Orders or in Edit Orders? Is anyone else out there having these issues?

17 Jun 2021, 2:09 AM
#960
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:

Nothing like going backwards.....lol
I am back to having the update info showing at the top all the time and now I can't see the tracking info in the Edit Orders or in the Orders
I made all the changes per the GitHub prior to uploading TyP again.
Again the front end is working perfectly. I can see the tracking link and it opens as it should.

So I activated ZenCarts additional debugging and was able to uncover the following when I am in Customer:Orders and I enter Edit Orders:

[16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_TRACKING_ID already defined in /home2//public_html//includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 12
[16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_CARRIER_NAME already defined in /home2//public_html//includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 13
[16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant ENTRY_ADD_TRACK already defined in /home2//public_html//includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 14
[16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant EMAIL_TEXT_COMMENTS_TRACKING_UPDATE already defined in /home2//public_html//includes/languages/english/extra_definitions/ty_package_tracker_admin_definitions.php on line 15
[16-Jun-2021 20:03:41 America/Boise] PHP Notice: Constant TABLE_HEADING_PRODUCTS_MODEL already defined in /home2//public_html//includes/languages/english.php on line 471

I suspect this is why I cannot see the tracking info in the Edit Orders area.