Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2014
    Location
    New Westminster, B.C. CANADA
    Posts
    34
    Plugin Contributions
    0

    Default Combined Zone Rate Shipping Costs

    Finally figured out how to get shipping pricing for different items based on master id's and cloning the zone rate module.
    zones - for some category id#s, zones2 (clone) - for other category id items.
    This works for each category on it's own but won't provide a price for mixed items - says "Not available at this time.""Sorry we are not shipping to your region at this time."
    This is the code I added to the cloned zone rate. What am I missing?
    Is there something else I need to add or remove?


    Added to zones.php:

    if (!IS_ADMIN_FLAG) {
    global $cart;
    $chk_categories = 0;
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','1');
    if ($_SESSION['cart']->count_contents() != $chk_categories) {
    $this->enabled = false;
    }
    }

    Added to zones2.php:

    if (!IS_ADMIN_FLAG) {
    global $cart;
    $chk_categories = 0;
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','15');
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','22');
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','23');
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','24');
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','25');
    $chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','26');
    if ($_SESSION['cart']->count_contents() != $chk_categories) {
    $this->enabled = false;
    }
    }

    Thanks

  2. #2
    Join Date
    Oct 2014
    Location
    New Westminster, B.C. CANADA
    Posts
    34
    Plugin Contributions
    0

    Default Re: Combined Zone Rate Shipping Costs

    My question is how to get the different category shipping prices to calculate together when people order a mixed variety of items.

 

 

Similar Threads

  1. Zone shipping charging rate from zone 3 to zone 1
    By John Zwikstra in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 28 Dec 2009, 01:10 PM
  2. What's the difference between Zone Definitions and Zone Rate Shipping?
    By Sevenhelmets in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Nov 2009, 05:25 PM
  3. Set up this Shipping costs for E.U & Worldwide & Combined Shipping?
    By hcd888 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 25 Oct 2009, 03:12 AM
  4. Zone shipping charging rate from zone 3 to zone 1
    By John Zwikstra in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 6 Aug 2009, 04:32 PM
  5. Free Shipping Combined with Flat Rate
    By TBs4Sale in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 26 Jun 2009, 05:49 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR