Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Reduced Shipping cost option for only one item

    I'm trying to figure out how to setup my cart so that when you buy product A you get to choose between our standard $7.50 flat rate shipping or a reduced rate of $2.50 for buying that product (in any quantity), but have it setup so if a customer where to order Product A and Product B, the cart would default them to the standard rate of $7.50 because Product B is in the cart.


    Any help would be appreciated.

    Thank you.

    Scott

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

    Default Re: Reduced Shipping cost option for only one item

    Clone Flat Rate flat shipping module and customize it to only show if the whole cart contains Product A and set the Rate to 2.50 ...
    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
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Reduced Shipping cost option for only one item

    Quote Originally Posted by Ajeh View Post
    Clone Flat Rate flat shipping module and customize it to only show if the whole cart contains Product A and set the Rate to 2.50 ...
    Awesome, thank you. I have no idea how to do that just yet, but not that I know what to look for I'm sure I can figure it out.

    Thank you for your help. I've used this forum a few times to figure out issues and you guys are an awesome recourse.

    Scott

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

    Default Re: Reduced Shipping cost option for only one item

    Do a search on:
    clone flat
    clone item

    and that should show you how to clone a shipping module ...

    Once you have cloned it and it is functional, then we can look at customizing it further using a function from the shopping_cart class for something like:
    Code:
    global $cart;
    $chk_product_a = $_SESSION['cart']->in_cart_check('products_id','XX');
    and then compare it to the total items in the cart to see if they are equal ...
    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. Shipping cost on a per item basis only??, is it possible?
    By tcarden in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 23 Jan 2013, 08:32 PM
  2. Individual Shipping Per Item, and reduced cost per extra item
    By canad1an in forum Addon Shipping Modules
    Replies: 7
    Last Post: 6 Feb 2009, 11:41 PM
  3. Can I set up shipping for a base rate plus reduced cost on additional items?
    By buffalohole in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 6 Feb 2009, 09:40 PM
  4. Only allow one shipping option for certain items - HELP!!
    By elliot in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 11 Jul 2008, 06:02 AM
  5. Add Additional Shipping Cost to Only One Item
    By gocujo in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 8 Jan 2008, 09:04 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