Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Shipping estimator coming up blank

Shipping estimator coming up blank

Locked

Views: 5,325

Results 21 to 40 of 40
This thread is locked. New replies are disabled.
5 Dec 2006, 3:00 PM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Shipping estimator coming up blank

What is the version number of these files?
/includes/modules/tqualizer/shipping_estimator.php
/includes/modules/shipping_estimator.php
/includes/templates/tqualizer/templates/tpl_modules_shipping_estimator.php
/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php

5 Dec 2006, 3:11 PM
#22
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

The only files which seem to not match between my modifications and the original are:

tpl_contact_us_default.php
tpl_index_default.php
tpl_index_product_list.php
tpl_login_default.php
tpl_modules_attributes.php
tpl_modules_create_account.php
tpl_modules_main_product_image.php
tpl_modules_products_all_listing.php
tpl_modules_product_info_display.php
tpl_products_all_default.php
tpl_shopping_cart_default.php
stylesheet.css
html_header.php
tpl_footer.php
tpl_header.php
tpl_main_page.php
template_info.php

5 Dec 2006, 3:12 PM
#23
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

Ajeh:

It should specify all the info on the Zen Cart version in more detail ...

There is a tonne of information in there...not sure how much you want!lol

** Server Host: ** shared.tor.plhosting.com (127.0.0.1) ** Database Host: ** 69.90.75.37 (69.90.75.37) ** Server OS: ** Linux 2.4.20-021stab028.12.777-smp ** Database: ** MySQL 4.1.11-Debian_4sarge2 ** Server Date: ** 12/05/2006 07:12:08 ** Database Date: ** 12/05/2006 10:12:08 ** Server Up Time: ** 07:12:08 up 24 days, 13:14, 0 users, load average: 0.02, 0.03, 0.00
** PHP Version: ** 4.3.11 (Zend: 1.3.0)
** HTTP Server: ** Apache/2.0.51 (Fedora)** Zen Cart 1.3.6**

 ** Database Patch Level:  1.3.6**

v1.3.6 [2006-11-12 01:25:19] (Fresh Installation)
PHP Version 4.3.11

5 Dec 2006, 3:17 PM
#24
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

/includes/modules/tqualizer/shipping_estimator.php:
I don't have a tqualizer directory in here - ehhh?

/includes/modules/shipping_estimator.php:

  • @version $Id: shipping_estimator.php 4717 2006-10-09 09:27:48Z drbyte $

/includes/templates/tqualizer/templates/tpl_modules_shipping_estimator.php:
@version $Id: tpl_modules_shipping_estimator.php 4717 2006-10-09 09:27:48Z drbyte $

/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php[/quote]:

  • @version $Id: tpl_modules_shipping_estimator.php 4717 2006-10-09 09:27:48Z drbyte $
5 Dec 2006, 3:25 PM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shipping estimator coming up blank

Hmmm ... I see nothing wrong in all that ...

5 Dec 2006, 3:34 PM
#26
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

This is so strange, I feel I should say again that if a customer is logged in, and works their way back to the cart page, and they open the shipping estimator, it works fine.

5 Dec 2006, 4:50 PM
#27
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shipping estimator coming up blank

If you turn on some of the other shipping modules, do those modules bring up any rates for the not-logged-in-user ?

5 Dec 2006, 5:17 PM
#28
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

I've not been able to get the UPS module to work...

Which ones would you recommend that will work for a Canadian store, that can pull real time rates?

5 Dec 2006, 5:45 PM
#29
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

Hey DrByte,

Speaking with Canada post, they have pointed out an error message being return on my requests that the Postal Code is not getting passed to the server.

Have you ever seen this before, and might it have anything to do with the problem of shipping estimator not working?

5 Dec 2006, 8:52 PM
#30
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shipping estimator coming up blank

tqualizer_man:

Speaking with Canada post, they have pointed out an error message being return on my requests that the Postal Code is not getting passed to the server.

...might it have anything to do with the problem of shipping estimator not working?

Yes ... missing the postal code would certainly cause there to be no rate returned, and thus the lack of options being presented...

I'm not sure "why" that's happening though ...

6 Dec 2006, 2:17 AM
#31
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

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?

6 Dec 2006, 4:17 PM
#32
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

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?

7 Dec 2006, 1:19 AM
#33
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shipping estimator coming up blank

Found a bug ...

/includes/modules/shipping/canadapost.php
around line 131:$this->_canadapostDest($order->delivery['city'], $order->delivery['state'], $order->delivery['country']['iso_code_2'], $order->delivery['postcode']);should be changed to:```
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
7 Dec 2006, 5:12 AM
#34
tqualizer_man avatar

tqualizer_man

New Zenner

Join Date:
Nov 2006
Posts:
79
Plugin Contributions:
0

Re: Shipping estimator coming up blank

I bow to thee..thank you many many much for this.

1 Jan 2007, 3:50 AM
#35
johnd avatar

johnd

Zen Follower

Join Date:
Oct 2006
Location:
New Jersey, USA
Posts:
119
Plugin Contributions:
0

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

1 Jan 2007, 3:57 AM
#36
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

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.

1 Jan 2007, 4:40 PM
#37
johnd avatar

johnd

Zen Follower

Join Date:
Oct 2006
Location:
New Jersey, USA
Posts:
119
Plugin Contributions:
0

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

2 Jan 2007, 4:19 AM
#38
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Shipping estimator coming up blank

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.

2 Jan 2007, 4:23 AM
#39
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

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.

2 Jan 2007, 11:00 PM
#40
johnd avatar

johnd

Zen Follower

Join Date:
Oct 2006
Location:
New Jersey, USA
Posts:
119
Plugin Contributions:
0

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.