Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2010
    Posts
    39
    Plugin Contributions
    0

    Default Shipping method dependent on one product

    I'm trying to get the shipping method dependent on one product.

    I had found this thread as an example http://www.zen-cart.com/forum/showthread.php?t=120145 but i don't getting it right

    Is it possible to adjust shipping methode so i can exclude a product?

    So one product may not shipped with mail sender 1 but with mail sender 2

  2. #2
    Join Date
    Apr 2010
    Posts
    39
    Plugin Contributions
    0

    Default Re: Shipping method dependent on one product

    I've solved it to put the following into my zones.php.

    // disable one product for shipping
    if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_id','586') > 0)) {
    $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'False') ? true : false);
    }

    // disable one product for shipping
    if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_id','587') > 0)) {
    $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'False') ? true : false);
    }

 

 

Similar Threads

  1. v139g product dependent shipping methods
    By greenman161 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 22 Oct 2013, 06:53 AM
  2. Using more than one shipping method
    By IA7X ShadowsI in forum Customization from the Admin
    Replies: 2
    Last Post: 1 Nov 2010, 09:28 PM
  3. Switch from one shipping module to another dependent on product variables
    By litepockets in forum Built-in Shipping and Payment Modules
    Replies: 19
    Last Post: 27 Sep 2010, 01:30 PM
  4. Display Only ONE Shipping Method
    By marcusflores in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 26 Jan 2007, 06:01 PM
  5. Payment method dependent shipping
    By verybyte in forum General Questions
    Replies: 2
    Last Post: 22 Jul 2006, 09:42 PM

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