Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Free Shipping Options not working with zones

Free Shipping Options not working with zones

Views: 4,705

Results 21 to 38 of 38
28 Jan 2012, 5:08 PM
#21
ajeh avatar

ajeh

Oba-san

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

Free Shipping Options not working with zones

You have a few things going on that makes this not work the way you are describing you need it to ...

1 You appear to have marked all Products as Always Free Shipping ... this means ALL Products marked as Always Free Shipping are Free shipping to everyone ...

2 You have set up the Modules ... Order Totals ... Shipping ot_shipping as Free Shipping on orders of 0.00 for National ... this gives everyone in the US Free Shipping ... so there isn't really a need for the Free Shipping Options freeoptions as that is overridden by the Shipping setting ...

If you just want the Free Shipping icon on your Products for the US you would be better off customizing your template tpl_product_info_display.php where the code says:

<!--bof free ship icon  -->
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon  -->

to something like:

<!--bof free ship icon  -->
<?php // if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php // } ?>
<!--eof free ship icon  -->

so that the icon shows on all products ...

to always show the free shipping icon, after you change it to something for Free Shipping US ...

Then mark your Products as:

Always Free Shipping: No, Normal Shipping Rules

so that they work with the other shipping modules, such as USPS ...

Then, anyone in the Zone Definition DETAILS for:
Rest of the world shipping

will see the USPS shipping module ...

28 Jan 2012, 5:35 PM
#22
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

it has your name on it...is this the one in 'cherry zen'?

28 Jan 2012, 5:43 PM
#23
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

You should be using your templates and overrides ...

You will have to see what code is in your file:
tpl_product_info_display.php

If you do not have one in your templates and overrides directory, then you should make a copy of the file to make your changes to it ...

28 Jan 2012, 5:50 PM
#24
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

do I remove 'freeshipper' also?

28 Jan 2012, 5:54 PM
#25
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

...maybe the last question......is there an easy way to change my products from ..
Always Free Shipping ...to... No, Normal Shipping Rules

28 Jan 2012, 5:59 PM
#26
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

am I able to test the suggestions?
I entered estimated shipping to Australia..and it still is not listing shipping............

geez......4 hours already!!

28 Jan 2012, 6:11 PM
#27
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

I believe you need to call USPS and activate your USPS Web Tools User ID for the Production server ...

28 Jan 2012, 6:33 PM
#28
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

yes you are right!!...
OMG.....wow you're very good..
it's got all kinds of shipping info....

ok cool....
last question....is there an easy way to change my products from ..
Always Free Shipping ...to... No, Normal Shipping Rules?

oh...and ......do I need to add all the countries to the 'zone definitions'?
is there an easy way?:clap::clap:

28 Jan 2012, 7:12 PM
#29
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

I showed you the FAQs where you can build a Zone Definition for the Rest of the World ... scroll back ... so if you want EVERYONE except the US to be able to use USPS then you need to build a complete Zone Definition with all of the DETAILS ...

To change ALL of your Products from:

Always Free Shipping: Yes, Always Free Shipping

to be:

Always Free Shipping: No, Normal Shipping Rules

You can run this in the Tools ... Install SQL Patches ... to change ALL Products to NOT be Always Free Shipping and to be Normal Shipping rules:

UPDATE products SET product_is_always_free_shipping=0;

28 Jan 2012, 9:46 PM
#30
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

great ..I would have been there for hours without that patch

28 Jan 2012, 9:53 PM
#31
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

BRAD SAYS: ok......there's gotta be an easier way then adding each country individually to the zone definitions list:yuck:

28 Jan 2012, 11:14 PM
#32
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

Can't i JUST EDIT THE 'ZONES DEFINITION' php file?

28 Jan 2012, 11:31 PM
#33
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

Can't you just go here:
https://www.zen-cart.com/tutorials/index.php?article=409

and grab the Zone Definition code for:
To create a Zone Definition for the Rest of the World, excluding the United States, you can use:

and paste that into your Tools ... Install SQL Patches ... and make the REST OF THE WORLD from it?

28 Jan 2012, 11:39 PM
#34
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

oops I be confused........I thought in
Zone Definitions - Taxes, Payment and Shipping | Rest of the World | Details......

you need to add all the countries...also......
I did paste the SQL patch in......

28 Jan 2012, 11:45 PM
#35
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

You started to make a Zone Definition for Rest of the World ... it is not complete ...

The post you need to run is the one I made which will build you the whole Rest of the World with 242 countries in it ... I do not see that you have done this ...

29 Jan 2012, 12:03 AM
#36
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

NOTE: your Zone for California has the settings in the DETAILS of:
Country: United States
Zones: All Zones

so that means you are charging Tax to ALL people in the Country United States ... perhaps you only want to charge those in California instead ... :unsure:

29 Jan 2012, 12:11 AM
#37
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: Free Shipping Options not working with zones

BRAD SAYS: ....Gosh darnit Bob....
I think I got it dis time!!

my gosh....
Angelina says hello...:clap::clap::lamo:

29 Jan 2012, 12:12 AM
#38
ajeh avatar

ajeh

Oba-san

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

Re: Free Shipping Options not working with zones

You might also edit your Tax Rate and set to Priority 1 rather than 0 ...

Other than that ... I think ... I think ... I think ... you gots it!! :lamo: