Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2011
    Location
    Roseburg, OR
    Posts
    36
    Plugin Contributions
    0

    Default selective shipping charge

    using zen cart v1.3.9h.

    I am offering free shipping on all my stuff (magazines), but would like to be able to charge shipping on items within a certain category of magazines. Is that possible?

    Thanks in advance.

    marty

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

    Default Re: selective shipping charge

    Did you try setting the weight on all Products to 0 and then in the Products in the Category you want to charge shipping on add weight to the Products? Then set the 0 Weight is Free Shipping in the Shipping/Packaging ... and install the FREE SHIPPING! freeshipper shipping module ...

    To see Free Shipping on your Products set all Products to be marked as:
    Always Free Shipping: Yes, Always Free Shipping
    And set the Products in the one Category to be:
    Always Free Shipping: No, Normal Shipping Rules
    And set the Product Weight to be set to what you are using for your shipping weight if using modules such as USPS and UPS ...
    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!

  3. #3
    Join Date
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: selective shipping charge

    My question is similar so I hope it's OK to jump into this thread.

    I have a new install V1.3.9h
    We offer free shipping on items when the order is greater than $75.00 so we still have to use our weights for small orders. Everything is working fine so far with USPS, UPS, and using free shipping options >$75.00

    EXCEPT

    We have also indicated that certain (very few) overweight items are exempt from free shipping. Is there a way to force a shipping surcharge in attributes or some other way so when these few heavy items are ordered, that the additional shipping surcharge will applY?

    the store is www.scplaceonline.com/zen/

    Thanks,
    Craig
    Last edited by Craig Hairston; 8 Dec 2011 at 02:33 AM. Reason: fix URL

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

    Default Re: selective shipping charge

    Is there anything to identify these Products other than their products_id ... such as the master_categories_id where the master_categories_id always has this extra charge?

    Do you just want to disable the Free Shipping Options freeoptions when these Products are in the Cart?

    Or, do you want to disable the Free Shipping Options freeoptions shipping module and disable the USPS and UPS and activate a customized shipping module that only charges the extra charge per Product x quantity x extra charge for these Products?

    Or, do you want to disable the Free Shipping Options freeoptions shipping module and add an extra charge to the USPS and UPS shipping charges for these Products for Product x quantity x extra charge ...
    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
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: selective shipping charge

    The products are not in a special category. To be specific, we have a sphere chair for USC Gamecocks and Clemson Tigers. These chairs are big and it will cost about $15-20 dollars each just to ship the chair. The three or four overweight/oversized items are listed in various subcategories, However you have given me an idea if a category based solution exists. I can create a new category - "oversize items" and then cross list them in Home and Garden or Tailgating where they currently exist. For orders over 75, I only want to charge for shipping for the oversized item.

    So if they order just a chair at 69.99 shipping will kick in. No problem there. If they order a chair and a cap or whatever, free shiiping kicks in and we spend too much of the net profit covering shipping. If the oversized item is part of any order greater than 75.00 which it will almost always be, other items can still ship free and the fair cost of shipping for the oversized item would be enough to cover the shipping costs for other items.
    Therefore the logic I'm looking to implement is if order is greater than 75 and overweight item is included, shipping is "free" + overweight shipping surcharge.

    Did I explain it properly? Any creative thoughts would be appreciated.

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

    Default Re: selective shipping charge

    You could do this by products_id by customizing the code:
    /includes/modules/shipping/freeoptions.php

    and change the code to add the code in RED:
    Code:
    // final check for display of Free Options
          if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
            $this->enabled = true;
          } else {
            $this->enabled = false;
          }
    
    // bof: check for oversized items 12, 17, 18 and charge $15.00 extra per item
          global $cart;
          $chk_oversized = 0;
          $oversized_title = '';
          $chk_oversized += $_SESSION['cart']->in_cart_check('products_id', '12');
          $chk_oversized += $_SESSION['cart']->in_cart_check('products_id', '17');
          $chk_oversized += $_SESSION['cart']->in_cart_check('products_id', '18');
          $extra_shipping = $chk_oversized * 15.00;
          if ($extra_shipping > 0) {
            $oversized_title = '+ overweight shipping surcharge';
          }
    
    
          if ($this->enabled) {
            $this->quotes = array('id' => $this->code,
                                  'module' => MODULE_SHIPPING_FREEOPTIONS_TEXT_TITLE,
                                  'methods' => array(array('id' => $this->code,
                                                           'title' => MODULE_SHIPPING_FREEOPTIONS_TEXT_WAY . $oversized_title,
                                                           'cost'  => MODULE_SHIPPING_FREEOPTIONS_COST + MODULE_SHIPPING_FREEOPTIONS_HANDLING + $extra_shipping)));
    // eof: check for oversized items 12, 17, 18 and charge $15.00 extra per item
    NOTE: be sure to scroll over on that code to see the changes in the $this->quotes ...
    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
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: selective shipping charge

    Thanks very much.
    As always, I do appreciate the support and creative solutions. Since there are so few items that require this, implementation should be pretty straightforward. I'll give this a try tomorrow morning and I will post my results.

  8. #8
    Join Date
    Aug 2011
    Posts
    46
    Plugin Contributions
    0

    Default Re: selective shipping charge

    Ajeh,

    Installed and tested. Works great, just what I needed, and it's easily expandible if we want to add more overweight products.

    Consider a donut donation coming in your holiday stocking (via Paypal).

    Score another victory for the great band of Zen experts!

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

    Default Re: selective shipping charge

    Thanks for the update that this was able to work for you ... and thanks for the donuts, always appreciated!
    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. v151 Force shipping - If zc cant calculate shipping, it doesnt charge for shipping
    By Laidlawgifts in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Apr 2014, 09:11 PM
  2. Selective Shipping
    By enawdski in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 29 Mar 2009, 02:07 AM
  3. Selective Shipping Settings
    By batteryman in forum General Questions
    Replies: 2
    Last Post: 29 Apr 2007, 06:26 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