Re: UPS XML: Support Thread
I just installed the UPSXML from the standard UPS version that was not calculating insurance. I have a lot of high value items on my site and we were losing that money on transactions.
The rates seem to be calculating fine as long as you are logged in. If you are not logged in, the rates show as stanard rates without insurance. I could not find any settings that would affect this. I am worried about potential customers checking the estimated shipping rates and then when they sign up the cost is drastically different.
Site is v1.5.5f
upsxml is 1.7.5
Re: UPS XML: Support Thread
Quote:
Originally Posted by
eairtool
I just installed the UPSXML from the standard UPS version that was not calculating insurance. I have a lot of high value items on my site and we were losing that money on transactions.
The rates seem to be calculating fine as long as you are logged in. If you are not logged in, the rates show as stanard rates without insurance. I could not find any settings that would affect this. I am worried about potential customers checking the estimated shipping rates and then when they sign up the cost is drastically different.
Site is v1.5.5f
upsxml is 1.7.5
You're correct. The shipping module currently looks for an "order" (i.e. during the checkout process) to gather the subtotal to be submitted to UPS (otherwise defaulting to a 100.00 value).
I'll create an issue on the UPSXML GitHub (https://github.com/lat9/upsxml) to track this change.
Re: UPS XML: Support Thread
Quote:
Originally Posted by
lat9
You're correct. The shipping module currently looks for an "order" (i.e. during the checkout process) to gather the subtotal to be submitted to UPS (otherwise defaulting to a 100.00 value).
I'll create an issue on the UPSXML GitHub (
https://github.com/lat9/upsxml) to track this change.
I've got this update staged for v1.7.6 of the shipping module. You can edit your copy (line 109), changing from:
Code:
$this->pkgvalue = (MODULE_SHIPPING_UPSXML_INSURE == 'False' || !isset($order)) ? 100 : ceil($order->info['subtotal']);
to
Code:
$this->pkgvalue = (MODULE_SHIPPING_UPSXML_INSURE == 'False' || !isset($order->info['subtotal'])) ? ceil($_SESSION['cart']->total) : ceil($order->info['subtotal']);
Re: UPS XML: Support Thread
lat9, big thanks! That worked perfectly.
Re: UPS XML: Support Thread
Quote:
Originally Posted by
eairtool
lat9, big thanks! That worked perfectly.
... and thanks back to you for the confirmation that the code posted above corrects the issue!
I'll get that packaged up over the weekend for v1.7.6.
Re: UPS XML: Support Thread
I've just submitted v1.7.6 of UPSXML for the Zen Cart moderators' review and will post back here once it's approved.
This release contains changes associated with the following GitHub issue:
#18: Correct shipping-estimator quotes, when insurance is included.
Re: UPS XML: Support Thread
We operate a B2B site (1.55f, php 7.1). I have the Quote Type (Residential / Commercial) set to Commercial, resulting in lower rates being returned. That fits the majority of my customers.
The problem is many business operate from residences. When a customer ships to a residence, the site is undercharging them by a significant amount. On premium services it is often $20 or more.
Any ideas are appreciated.
@lat9, thanks very much for the work on this module.
Re: UPS XML: Support Thread
You could use the UPS 'address validation service' to determine whether the ship-to address is commercial vs. residential, clone the upsxml module so that one instance is for residential and one is for commercial.
Then update each of the upsxml versions to disable themselves if the address validation indicates that the address isn't valid for the service.
Re: UPS XML: Support Thread
Quote:
Originally Posted by
lat9
I've just submitted v1.7.6 of UPSXML for the Zen Cart moderators' review and will post back here once it's approved.
This release contains changes associated with the following GitHub issue:
#18: Correct shipping-estimator quotes, when insurance is included.
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=126
Re: UPS XML: Support Thread
I've just submitted v1.7.7 of UPS XML for the Zen Cart moderators' review; I'll post back when it's available for download.
This release contains changes associated with the following GitHub issues:
#19: Correct PHP notices generated.
#20: Display "New version available" only from admin's Modules->Shipping
#21: Correct "Next Day Air Early" quotes not being returned.
#22: Restructure distribution.
#23: Sort quotes returned by cost.