-
Shipping estimator coming up blank
Hey guys,
Many comments from non-buying customers who I followed up with have suggested offering shipping rates on the cart page...No problem...
But when I enable the option, I don't get any results.
Hopefully someone can take a look and give me an idea of what might be happening, www.tqualizer.biz
I am only using the Canada Post module for shipping, btw.
-
Re: Shipping estimator coming up blank
Additional,
It seems to work if a user logs in, and goes back to the cart page to calculate the shipping via the shipping estimator.
I need to have guests be able to use this feature, any help out there?
-
Re: Shipping estimator coming up blank
Shipping modules that require an address cannot produce a quote until the information exists ...
Add to your text for the estimator more verbage to help the customer get a clue ... :smile:
-
Re: Shipping estimator coming up blank
Hehe...
Unfortunately, it won't even product a quote when the information is manually entered.
-
Re: Shipping estimator coming up blank
What version of Zen Cart?
What other mods/addons have you installed?
What template did you base your site on?
What have you entered in your Admin for "Store Zone" and "Postal Code" ?
Shipping estimator requires nothing special for CPC to provide quotes ... works same as any other shipping module.
Oh ... and ... is this problem occurring when the customer is logged-in, or not-logged-in ?
-
Re: Shipping estimator coming up blank
You hit the nail on the head...The user is not logged in, which is my reason for even offering the shipping estimator.
Once a user is logged in, the shipping quotes are working fine...
but I've had many customers want to know the shipping estimate prior to having to go through the log in process.
There's got to be a solution for this...no?
-
Re: Shipping estimator coming up blank
It just worked fine for me on a client site -- not-logged-in ... choose an address ... update ... CPC quotes show up just fine.
-
Re: Shipping estimator coming up blank
When not logged in ... the customer only has to select the shipping info and hit update to obtain a quote ...
But until they do, nothing will show as a quote ...
-
Re: Shipping estimator coming up blank
Interesting...there is hope!
DrByte, could you give mine a shot at www.tqualizer.biz?
-
Re: Shipping estimator coming up blank
Can you comment on these?
Quote:
Originally Posted by
DrByte
What version of Zen Cart?
What other mods/addons have you installed?
What template did you base your site on?
What have you entered in your Admin for "Store Zone" and "Postal Code" ?
-
Re: Shipping estimator coming up blank
Taking a closer look now,
The update button is pointing to "http://www.tqualizer.biz/_"
Maybe you can tell me where it should be pointing, as I'm sure this isn't right...lol
-
Re: Shipping estimator coming up blank
What version of Zen Cart?
Most recent (that's what the check for updates says.)
What other mods/addons have you installed?
I'm running PSiGate payment, and Canada Post...I installed a FAQ module, but it is not in use. I also am using Sales Report module.
What template did you base your site on?
The site was modified directly from the original green template that is packed with ZC.
What have you entered in your Admin for "Store Zone" and "Postal Code" ?
Zone: Ontario, Postal Code: M2N 7C4
-
Re: Shipping estimator coming up blank
Does the behaviour work any differently when you change the shipping-estimator to be a popup?
Does it work any differently if you switch to "Classic" template ?
-
Re: Shipping estimator coming up blank
It comes up blank when I switch to the classic template,
It still comes up blank when I run it as a popup window.
The update link is pointing to "http://www.tqualizer.biz/_" do you think that has something to do with it??
-
Re: Shipping estimator coming up blank
Quote:
Originally Posted by
tqualizer_man
The update link is pointing to "http://www.tqualizer.biz/_" do you think that has something to do with it??
Perhaps, but not likely.
-
Re: Shipping estimator coming up blank
Could you copy from the Tools ... Server info ... everything from below the menubar up to and including the PHP version just to confirm things?
-
Re: Shipping estimator coming up blank
I'd be inclined to download your /includes/modules and /includes/templates folders and run WinMerge or some diff tool to compare your active files with the original v1.3.6 files to see if something has been missed in an upgrade or busted in a customization ...
http://www.zen-cart.com/wiki/index.p...Obscure_Issues
-
Re: Shipping estimator coming up blank
Do you have a link of working estimator that uses your CP module?
Should I re-install any template files from an original / unmodified backup?
-
Re: Shipping estimator coming up blank
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 06:48:22 Database Date: 12/05/2006 09:48:14 Server Up Time: 06:48:22 up 24 days, 12:50, 0 users, load average: 0.07, 0.07, 0.01
PHP Version: 4.3.11 (Zend: 1.3.0)
HTTP Server: Apache/2.0.51 (Fedora)
Quote:
Originally Posted by
Ajeh
Could you copy from the Tools ... Server info ... everything from below the menubar up to and including the PHP version just to confirm things?
-
Re: Shipping estimator coming up blank
It should specify all the info on the Zen Cart version in more detail ...
-
Re: 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
-
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
-
Re: Shipping estimator coming up blank
Quote:
Originally Posted by
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
-
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 $
-
Re: Shipping estimator coming up blank
Hmmm ... I see nothing wrong in all that ...
-
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.
-
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 ?
-
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?
-
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?
-
Re: Shipping estimator coming up blank
Quote:
Originally Posted by
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 ...
-
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.