Forums / Upgrading from 1.3.x to 1.3.9 / 1.3.37 - Manual State/Province block appears even when not required - ship estimator

1.3.37 - Manual State/Province block appears even when not required - ship estimator

Locked

Views: 3,459

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
4 Feb 2007, 2:47 PM
#1
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

1.3.37 - Manual State/Province block appears even when not required - ship estimator

On a fresh install of 1.3.37 - when using the shipping estimator, we have found that the block where a user would manually type in his state/or province when selecting a country that does not have a pull down box

appears at time when it is not required (when there IS a pull down box)

Thanks

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

4 Feb 2007, 6:25 PM
#2
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

If so, there might be a problem from this file: includes/templates/<your_template>/templates/tpl_modules_shipping_estimator.php -

<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $state_zone_id, 'id="stateZone"');?>
<br class="clearBoth" id="stBreak" />
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .' <span class="alert" id="stText"> </span>'; ?>
<br class="clearBoth" />

Do you have this content as shown for the state/prov ?

4 Feb 2007, 6:31 PM
#3
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Here is what our file has there

<label class="inputLabel" for="stateZone" id="zoneLabel"><?php echo ENTRY_STATE; ?></label>
<?php echo zen_draw_pull_down_menu('zone_id', zen_prepare_country_zones_pull_down($selected_country), $state_zone_id, 'id="stateZone"');?>
<br class="clearBoth" id="stBreak" />
<label class="inputLabel" for="state" id="stateLabel"><?php echo $state_field_label; ?></label>
<?php echo zen_draw_input_field('state', '', zen_set_field_length(TABLE_ADDRESS_BOOK, 'entry_state', '40') . ' id="state"') .' <span class="alert" id="stText"> </span>'; ?>
<br class="clearBoth" />

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

5 Feb 2007, 11:24 PM
#4
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Anything you have on this?

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

5 Feb 2007, 11:31 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

What is the URL where this happens ... and what is the address you are trying to use?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Feb 2007, 11:34 PM
#6
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

You can go to our site

http://www.jlaenterprises.net

Add an item to your cart then use the shipping estimator

You will see the block below the state drop down. It sits justified left and is not accessible until you select any country that DOES NOT have a drop down. Once you do that, it lines back up where it should be an allows you to manually type in a province/state

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

5 Feb 2007, 11:49 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Looks like you have issues on some files or your template ...

That isn't how it looks in v1.3.7 ...

Did you get your Zen Cart v1.3.7 from our Download link at the top of the screen or from somewhere eles?

What happens if you switch to the Classic Template?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Feb 2007, 11:52 PM
#8
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Downloaded the files in the following manner

Went to https://www.zencart.com

Click download link at top right of page - this takes you to

http://sourceforge.net/project/showfiles.php?group_id=83781&package_id=171544

Downloaded the one that says

1.3.37 - FULL RELEASE

Will switching templates disrupt any of our current template settings? Want to make sure of this before doing this

Thanks

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

5 Feb 2007, 11:54 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

It shouldn't ... you are using templates and overrides of your own and Classic uses its own ...

The idea is never the two shall meet ...

Not having touched any core files, you should not have any problems ...

You haven't been playing with core files ... have you?! :eek:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Feb 2007, 11:58 PM
#10
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Ok, switched to Classic and this does not appear the same way there

No, we have not screwed with the core files

The shipping estimator file is located in template default

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 Feb 2007, 12:01 AM
#11
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

I would have to see what your template is doing wrong ...

You can try comparing it with Beyond Compare from scootersoftware.com to the Classic template files or the default template files and see if you can locate what it is doing incorrectly ...

But there isn't anything wrong with the code it is something related to your template and override files that is causing this issue ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2007, 12:06 AM
#12
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Ok, we are using the Blue-strip reloaded template from the contrib on this site

I am figuring that since this is just the one page (shipping estimator) then it has to be related to that file or the CSS file

Will do a beyond compare of the downloaded ship estimator file with one from fresh DL package and also do a comparison of default css and blue strip css referencing the LABEL classes and see what I come up with

Back in a min

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 Feb 2007, 12:15 AM
#13
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Ok, when looking at the default CSS and bluestrip css for the label classes I see

Blue strip

Label, h4.optionName {
line-height: 1em;
padding: 0.1em;
}

Default
Label, h4.optionName {
line-height: 1.5em;
padding: 0.2em;
}

That is the only difference for label classes

Checked the shipping estimator template and found no difference in the virgin file that would cause this (template default vs virgin template default)

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 Feb 2007, 12:20 AM
#14
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Off the top of my head I could not say ...

I do know that it worked in Classic Template and broke in your template ...

Someone has something unhappy ... :cry:

Without actually going through your site to see what changes etc. you have done I am shooting in the dark here ...

You could try setting up a test directory with a test database and the demo data ... then load the Blue template you are using and reinstall it on this test site ...

And without touching anything ... see if it works or it breaks ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2007, 12:23 AM
#15
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Just for grins, compared the CSS file from the CLASSIC template folder and compared the CSS from the template default folder and the CSS from the VIRIGIN install template default

The classic CSS has MANY difference from the two. The two latter match

????

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 Feb 2007, 12:43 AM
#16
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Good news and bad news ...

Good News: Load blue strip on my site and it breaks the look of the Shipping Estimator like it does on your site ... :smile:

Bad News: Haven't a clue why ... I write code ... :cry:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2007, 12:52 AM
#17
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Linda - I have a feeling this is possible related to a CSS issue

Again, when using beyond compare

The CSS from template default and classic has several differences. I feel that it probably lies there somewhere

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com

6 Feb 2007, 12:55 AM
#18
ajeh avatar

ajeh

Oba-san

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

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

Most likely ... but I just write the code that uses the CSS and I am afraid that the nuances of this are beyond me so I couldn't tell you the solution ...

Do let us know if you come up with the answer ... thanks! :cool:

Perhaps one of the design buffs is about and has a solution ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Feb 2007, 2:41 AM
#20
jla avatar

jla

Zen Follower

Join Date:
Jul 2005
Posts:
128
Plugin Contributions:
0

Re: 1.3.37 - Manual State/Province block appears even when not required - ship estimator

That did it

THANKS!

JLA ENTERPRISES DIRECT
http://www.jlaenterprises.net

JLA FORUMS
http://www.jlaforums.com