Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Posts
    40
    Plugin Contributions
    0

    Default Shipping for first item of category, only

    In my webshop I have free shipping as default.

    Now I want to introduce a new category of articles and I want the buyer to pay a fixed shipping fee whenever he buys one or more items of this category.

    I also have a fast shipping fee. When buyers choose it they pay a fixed amount, regardless of the quantity of products.

    So, I want the shipping to remain free for all categories but this new one, and I want the buyer to pay the same fee regardless of the quantity of products, unless he chooses the fast delivery shipping, where he'll pay a different value.

    How can I go about this?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Shipping for first item of category, only

    If I understand correctly, you can clone the table rate for your "fast" ship that can be selected. Your "free ship" items remain free and your others are not marked as free ship when you create them
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Shipping for first item of category, only

    OK. How do I clone the table rate?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Shipping for first item of category, only

    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Shipping for first item of category, only

    Sorry, I tried it and this is not what I need. Maybe I wasn't clear.

    What I need is for the first ordered item of a certain category to have a default shipping cost. But then the following items won't have shipping cost. This way the buyer pays the same shipping cost regardless of the number of items he buys.
    But I want this to happen on one category of products, not all. So, it must not be a shipping option, but a characteristic of the product category.

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

    Default Re: Shipping for first item of category, only

    What shipping method(s) do you use for all other Products/Categories on your site?
    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: v1.5.5]
    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
    Nov 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Shipping for first item of category, only

    For all products I have free shipping and Express delivery via TNT.

    In this case the shipping must not be optional, it must cost 5€ for the first item of the category.

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

    Default Re: Shipping for first item of category, only

    You could just test the cart and if 1 or more products from that category is in the cart you can add $5.00 to the cost ...

    What specific Shipping module is managing the Free Shipping?

    I have no idea what the TNT shipping is that you are using for the Express, but the idea is probably the same ...
    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: v1.5.5]
    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!

  9. #9
    Join Date
    Nov 2007
    Posts
    40
    Plugin Contributions
    0

    Default Re: Shipping for first item of category, only

    The free shipping is done by "free options", and the TNT (courier) is done by "Flat Rate Clone".

    So, how do I test the cart and add 5€ if a certain product or category is there?

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

    Default Re: Shipping for first item of category, only

    If you do not use Linked Products, then you can test if a Product from a particular categories_id is in the shopping_cart by test the master_categories_id ...

    There is a function in the shopping_cart class for testing things like this:
    Code:
      /**
       * Method to calculate the number of items in a cart based on an abitrary property
       *
       * $check_what is the fieldname example: 'products_is_free'
       * $check_value is the value being tested for - default is 1
       * Syntax: $_SESSION['cart']->in_cart_check('product_is_free','1');
       *
       * @param string product field to check
       * @param mixed value to check for
       * @return integer number of items matching restraint
       */
      function in_cart_check($check_what, $check_value='1') {
    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: v1.5.5]
    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. v139h Shipping special for 1 item only?
    By wirefram in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Apr 2014, 05:00 PM
  2. v139h Giving USPS First-Class only for products in a certain category
    By zaaep005 in forum Addon Shipping Modules
    Replies: 36
    Last Post: 11 Dec 2013, 03:10 PM
  3. v139h Calculating Shipping - First Item a Set Cost, Each Additional Item $1.00 Per Item
    By Beachcovers in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Mar 2012, 04:00 AM
  4. Flat Rate for 1 category/item only
    By mheishman in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 16 May 2009, 06:55 AM
  5. First item gets image for a different item!
    By Legion in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Apr 2008, 09:55 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