right so based on your code, then I don't have to do anything other than assign the categories to the code? right?
right so based on your code, then I don't have to do anything other than assign the categories to the code? right?
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Correct ... and if you need more categories to be checked then you can just add more lines of:
where you set the 7 to the flammable categories_id ... which is the master_categories_id ... to be checked if Products from it are in the cart ...Code:$chk_skip_categories += $_SESSION['cart']->in_cart_check('master_categories_id','7');
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!
ok I think that could be a solution then. will do some testing :-)
Thanks for your time and patience Linda.
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Just one more thing Linda, and sorry for being dim. What file would I put this code in?
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
You have two shipping modules ... one of them you do not want when there are flammable products ... which shipping module is that?![]()
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!
Just thought I'd add that I'm using table rates and there's two separate files set up called table1.php (first class) and table2.php (royal mail track and trace)
Would I add the code into both of these files?
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk
Do you want them BOTH to not work?
Or are you trying to turn off 1 of these two files?
Or, are you trying to turn ON a 3 shipping module and turn OFF these two shipping modules?![]()
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!
No, if a flammable product is in the cart then I want to be able to turn off table1.php
I assume now your going to tell me that the code would need to be entered into table 2.php?
Nick Smith - Venture Design and Print
https://venturedesignandprint.co.uk