Forums / Built-in Shipping and Payment Modules / Can I set all products "Always Free Shipping"?

Can I set all products "Always Free Shipping"?

Started by zihaizi on 1 Mar 2012, 8:37 AM · Views: 2,095

Results 1 to 6 of 6
1 Mar 2012, 8:37 AM
#1
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Can I set all products "Always Free Shipping"?

Hey Guys,
I want to set all products "Always Free Shipping" but it seems I need to edit these products one by one.
Is there any way to complete it all?
I've google it, and I followed one of the instruction:

In my zen cart admin go to Tools -> Install SQL Patches

Copy and pate the sql code with my added category ID number into the box and click on the “send” button.

"UPDATE products SET product_is_always_free_shipping = 1 WHERE master_categories_id = xx;"

But it NOT working for me. Anybody has better idea?
Thanks a lot!

1 Mar 2012, 2:03 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Can I set all products "Always Free Shipping"?

If you want ALL Products to be Always Free Shipping, use:

UPDATE products SET product_is_always_free_shipping = 1;

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!

2 Mar 2012, 4:05 AM
#3
zihaizi avatar

zihaizi

New Zenner

Join Date:
Jul 2009
Posts:
28
Plugin Contributions:
0

Re: Can I set all products "Always Free Shipping"?

Ajeh:

If you want ALL Products to be Always Free Shipping, use:

UPDATE products SET product_is_always_free_shipping = 1;


Cool, that works.
Thank you very much.
But what's wrong with previous code? What if I want only one category "Free Shipping"?
Maybe I just need to change the category number?
2 Mar 2012, 1:56 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Can I set all products "Always Free Shipping"?

You needed to change the code for each master_categories_id ... but since you wanted ALL Products changed, you did not need the WHERE statement on it ... :smile:

Thanks for the update that this worked for you ...

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!

12 Jul 2012, 7:55 AM
#5
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I set all products "Always Free Shipping"?

Ajeh:

If you want ALL Products to be Always Free Shipping, use:

UPDATE products SET product_is_always_free_shipping = 1;


Where do I put this line of code?
12 Jul 2012, 1:12 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Can I set all products "Always Free Shipping"?

Go to the Tools ... Install SQL Patches ... and paste that in there and hit SEND ...

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!