Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Shipping estimator not working correctly.

Shipping estimator not working correctly.

Views: 5,280

Results 1 to 20 of 27
19 Nov 2015, 5:30 PM
#1
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Shipping estimator not working correctly.

I am running 1.5.4 with the tableau template, and I just noticed that the shipping estimator does not work without being logged in. There are no errors setting, and I can only get the free shipping module to give a result without being logged in. Once logged in, they all work fine.

19 Nov 2015, 5:36 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shipping estimator not working correctly.

Once logged in, they all work fine.
What is all???
Which modules do you have enabled?
Are they followed by a "green" dot in the admin?

19 Nov 2015, 6:39 PM
#3
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

kobra:

What is all???
Which modules do you have enabled?
Are they followed by a "green" dot in the admin?
Sorry, about that, I am using free, store pickup, ups, and usps.

redsautorehab.com

19 Nov 2015, 8:38 PM
#4
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Did you input a zipcode into the estimator so that the estimator would know the shipto location?

19 Nov 2015, 8:43 PM
#5
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

RixStix:

Did you input a zipcode into the estimator so that the estimator would know the shipto location?

yes, I did.In the template's tpl_shopping_cart_default.php, it calls back to the default shipping estimator:```
<?php require(DIR_WS_MODULES . zen_get_module_directory('shipping_estimator.php')); ?>

19 Nov 2015, 11:39 PM
#6
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

vanhorn_s:

yes, I did.In the template's tpl_shopping_cart_default.php, it calls back to the default shipping estimator:```
<?php require(DIR_WS_MODULES . zen_get_module_directory('shipping_estimator.php')); ?>


I wasn't referring to any coding.  Just on the page, when pretending to be a customer.  Link to your site so that others reading this thread can see what you are talking about?
19 Nov 2015, 11:44 PM
#7
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

RixStix:

I wasn't referring to any coding. Just on the page, when pretending to be a customer. Link to your site so that others reading this thread can see what you are talking about?

I already did on post #3. here it is again: redsautorehab.com

The only reason I referenced the coding, is to help solve this.

20 Nov 2015, 12:01 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shipping estimator not working correctly.

Not sure why you are not working, but your are missing from your stylesheet.css

.hiddenField {
    display: none;
}
.visibleField {
    display: inline;
}
20 Nov 2015, 12:11 AM
#9
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Ajeh:

Not sure why you are not working, but your are missing from your stylesheet.css

.hiddenField {
display: none;
}
.visibleField {
display: inline;
}

Here is what is in my stylesheet.css

/* Fields */
.hiddenField {display: none;}
.visibleField {display: inline;}


Should I change to the format you posted?
I really like this template, but it appears to have issues, with little to no support.
20 Nov 2015, 3:01 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Shipping estimator not working correctly.

Afraid I do not know enough about stylesheets to tell you what else you might need ... :lookaroun

For giggles and grins, what happens if you temporarily switch to the Classic Template ... does the problem disappear on the shipping estimator?

20 Nov 2015, 3:13 PM
#11
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Ajeh:

Afraid I do not know enough about stylesheets to tell you what else you might need ... :lookaroun

For giggles and grins, what happens if you temporarily switch to the Classic Template ... does the problem disappear on the shipping estimator?

When I switch back to classic, it works, but sets this error:> An unknown response null: :text/html; charset=iso-8859-1: :Not Found was received while processing an ajax call. The action you requested could not be completed

When I switched back to Tableau, it was still showing the same estimator results as it did with the classic template, and I could not change the zip code. The only way to reset the shipping estimator was to log in, then log back out, then it wasn't working again.

20 Nov 2015, 4:00 PM
#12
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Another thing, is the tableau template adds an extra field, which is blank, to the shipping estimator between state, and zip. I'm wondering if that is the problem.

23 Nov 2015, 6:35 PM
#13
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Any suggestions on where to look for solving this? My wife is getting mad at me, because she has no clue what to charge for shipping on phone orders now.

23 Nov 2015, 7:18 PM
#14
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

It's kind of working now. In configuration - shipping/packaging I changed the shipping estimator display to button.

That created a new problem though: in firefox, and chrome, that link only works by selecting open in new tab. In explorer, it works fine.

30 Nov 2015, 6:15 PM
#15
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

Deleted lines 61-63 of tpl_modules_shipping_estimator.php

    <label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
    <?php echo zen_draw_input_field('state', $selectedState, zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .' <span class="alert" id="stText"></span>'; ?>
    <br class="clearBoth" />

That got rid of the extra state field, but still did not allow the estimator on the shopping cart work. That did, however allow the popup shipping estimator to work properly with all browsers. I would really like to get to the bottom of this, and get the estimator back on the shopping cart, rather than a popup window.

30 Nov 2015, 11:58 PM
#16
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

i dont know if this helps solve the problem, but it isn't letting me add to the shopping cart.

When I first visited your site, I added something to the cart and then went to the shipping estimator. It gave me the pop up window but no estimate. Then I hit LOGIN but i didn't log in. And I didn't close the window, I went back to the forum. Jumped back and nothing in cart. I just don't know at which step it was deleted. And if I try to add to cart, it wants me to log in.

lruskauff

1 Dec 2015, 12:05 AM
#17
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

lruskauff:

i dont know if this helps solve the problem, but it isn't letting me add to the shopping cart.

When I first visited your site, I added something to the cart and then went to the shipping estimator. It gave me the pop up window but no estimate. Then I hit LOGIN but i didn't log in. And I didn't close the window, I went back to the forum. Jumped back and nothing in cart. I just don't know at which step it was deleted. And if I try to add to cart, it wants me to log in.

lruskauff Hello again. I went to a new window and tried again. It won't give me a shipping estimate. When I hit the checkout button, it clears my shopping cart.

I am on an ipad w safari.

1 Dec 2015, 12:25 AM
#18
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

lruskauff:

Hello again. I went to a new window and tried again. It won't give me a shipping estimate. When I hit the checkout button, it clears my shopping cart.

I am on an ipad w safari.

I need to try it on my wife's ipad, because it works on silk, chrome, firefox, and ie.

2 Dec 2015, 1:15 AM
#19
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Shipping estimator not working correctly.

If you are using ZenCart v1.5.4 then you or someone must have altered some core file
If you are using the classic template and stock ZenCart files then it should work as this one HERE**** does

2 Dec 2015, 1:30 AM
#20
vanhorn_s avatar

vanhorn_s

Zen Follower

Join Date:
Apr 2010
Posts:
283
Plugin Contributions:
0

Re: Shipping estimator not working correctly.

kobra:

If you are using ZenCart v1.5.4 then you or someone must have altered some core file
If you are using the classic template and stock ZenCart files then it should work as this one HERE**** does
It is a clean install of 1.5.4 with Tableau template. I can't seem to get anyone from Numinix to help, so I posted this here. What I would really like, is a method of troubleshooting this, so that I can figure it out on my own, but it throws no errors, and worked perfectly when I switched back to the default template. Currently it only works as a popup, and the popup only worked after removing the code I mentioned in an earlier post.