Results 1 to 10 of 44

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping Problem

    Correct ... and if you need more categories to be checked then you can just add more lines of:
    Code:
            $chk_skip_categories += $_SESSION['cart']->in_cart_check('master_categories_id','7');
    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 ...
    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. #2
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Shipping Problem

    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

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Shipping Problem

    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

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping Problem

    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!

  5. #5
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Shipping Problem

    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

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping Problem

    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!

  7. #7
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Shipping Problem

    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

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Shipping Problem

    No, if you want to turn off table1.php for flammable products, and you set those master_categories_id to the flammable products master_categories_id then you want to add that code to the table1.php code just below the code similar to:
    Code:
        // disable only when entire cart is free shipping
        if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
        }
    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!

 

 

Similar Threads

  1. v154 shipping problem concerning shipping bij weight unit
    By cj.dekrijger in forum Built-in Shipping and Payment Modules
    Replies: 38
    Last Post: 22 Nov 2015, 09:45 AM
  2. Replies: 1
    Last Post: 16 Apr 2012, 08:05 PM
  3. Free Shipping/Shipping Estimator problem
    By willieWontGo in forum Built-in Shipping and Payment Modules
    Replies: 13
    Last Post: 5 Dec 2009, 03:17 AM
  4. "Not Shipping to your region" problem - Shipping Estimator
    By hnchew in forum Addon Shipping Modules
    Replies: 0
    Last Post: 28 Dec 2006, 04:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg