Re: Shipping estimator coming up blank
I did get the UPSxml module installed, and it returns shipping rates in the shipping estimator whether a user is logged in or not.
I definitely need to figure the Canada Post out, because my rates with them are really good.
If I was to reinstall just the shipping estimator files, do you know which ones I'd have to upload?
Re: Shipping estimator coming up blank
Update on the Canada Post shipping module...
No success yet.
Does anyone have a working model showing a user who is not logged in being able to use the shipping estimator?
Re: Shipping estimator coming up blank
Found a bug ...
/includes/modules/shipping/canadapost.php
around line 131:
Code:
$this->_canadapostDest($order->delivery['city'], $order->delivery['state'], $order->delivery['country']['iso_code_2'], $order->delivery['postcode']);
should be changed to:
Code:
if (!zen_not_null($order->delivery['state']) && $order->delivery['zone_id'] > 0 ) {
$state_name = zen_get_zone_code($order->delivery['country_id'], $order->delivery['zone_id'], '');
$order->delivery['state'] = $state_name;
}
$this->_canadapostDest($order->delivery['city'], $order->delivery['state'], $order->delivery['country']['iso_code_2'], (zen_not_null($order->delivery['postcode']) ? $order->delivery['postcode'] : 'null'));
This way the null values being handled due to not-logged-in-customers get set to usable values.
Downloads section has been updated
Re: Shipping estimator coming up blank
I bow to thee..thank you many many much for this.
Re: Shipping estimator coming up blank
I am experiencing the same blank shipping estimator and don't know where to start finding my problem. Too bad I'm not in Canada. It looks like that got solved.
I have both USPS and UPS installed. When user is not logged in, the estimator does not list any shipping methods.
Where do I start lookiing?
Thanks
John
Re: Shipping estimator coming up blank
Until the user adds their zip code there is nothing to show... there is nothing to calculate rates from.
Re: Shipping estimator coming up blank
Thanks, Kim, but I was even dumber than that. I had the zone set in USPS to not ship anywhere but the middle of the ocean.
Once I took out the zone, it worked like a charm.
Next thing I have learn is how to restrict the shipping methods based on product. e.g I can't send a widget via media mail.
Can you oint me in the direction of restricting USPS methods based on product?
Thanks
John
Re: Shipping estimator coming up blank
Quote:
Originally Posted by
johnd
Next thing I have learn is how to restrict the shipping methods based on product. e.g I can't send a widget via media mail.
Can you oint me in the direction of restricting USPS methods based on product?
Zen Cart doesn't offer that feature at the present time.
However, if you wanted to write custom code, you could tackle it yourself or perhaps post in the Commercial Help Wanted section to hire a coder to assist you.
Re: Shipping estimator coming up blank
Unless you carry things that can actually go media mail or other restricted classes it would be better to simply not offer those rates. Offer Priority and Parcel Post.
Re: Shipping estimator coming up blank
DrByte -- I'd love to tackle your suggestion of coding it someday -- I'm not there now.
But, Kim, I'm going to go with your suggestion to get me live faster.
Thank you both, so much.
Now, that's today's thank you. I'll be back.