Forums / Built-in Shipping and Payment Modules / Special Shipping for certain products

Special Shipping for certain products

Locked

Views: 1,221

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
24 May 2010, 4:25 PM
#1
2mymall avatar

2mymall

New Zenner

Join Date:
May 2010
Posts:
22
Plugin Contributions:
0

Special Shipping for certain products

I am using ver 1.39a.

I have a few shipping modules setup.

a) Regular Post
b) Speed Post
c) Special Post for Paint
d) Customer arranges Shipping

I have one product (Paint) which I want only two modules to show up.
c) Special Post for Paint
d) Customer arranges Shipping

Does not matter even if they have other products in the cart but if this product is selected, only two shipping modules should show. How can I do this?

Thanks

1 Jun 2010, 12:32 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Special Shipping for certain products

In the shipping modules, you will see the $this->enabled ...

When $this->enabled is set to true, the module runs ...

When $this->enabled is set to false, the module does not run ...

The main test is checking if it is installed and if so, it sets it to true ... otherwise to false ...

The IF surrounding the $this->enabled is checking if it should run based on Free Shipping that is managed by a function ...

After that function, you can do your own tests or checks to control the $this->enabled ...

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!