Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    4
    Plugin Contributions
    0

    Various shipping prices

    I', very new to this and was wondering if its possbile to have different shipping prices depending on the number of items a user buys.

    Example:
    If you buy one item then shipping is £2.50
    If you buy two or more then shipping is £3.00

    Over 5 then shipping is free? (this option yet is not essencial)

    Thanks in advance

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

    Default Re: Various shipping prices

    You could customize items.php

    Handling Fee 2.00
    Per Item is 0.50

    This will give you:
    1 item $2.50
    2 items $3.00
    etc.

    However, then you would need to customize it to turn off when 5 or more items exist ...


    Next, turn on the Free Shipping Options freeoptions and set this to have blank on all settings except for the:
    Item Count >= and set that to 5
    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
    Jun 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Various shipping prices

    Hi Ajeh,

    Thanks for that info but where abouts in item.php would be the best place to put this amendment to the code?

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

    Default Re: Various shipping prices

    You would need 2 functions to manage this ...

    The current items.php uses a function to test should it show ...
    PHP Code:
          // disable only when entire cart is free shipping
          
    if (zen_get_shipping_enabled($this->code)) {
            
    $this->enabled = ((MODULE_SHIPPING_ITEM_STATUS == 'True') ? true false);
          } 
    You would want to add another function in there as well ...

    That function would check how many items are in the cart for the Catalog side ... and on the Admin side would just return true so the module can work in the setup ...
    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 Various shipping for multiple items
    By jen2swt in forum Customization from the Admin
    Replies: 1
    Last Post: 11 Feb 2014, 06:23 PM
  2. v150 Various shipping conditions
    By badknight in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 28 Feb 2012, 02:06 PM
  3. how to use various shipping costs?
    By artifaxworthing in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 1 Jun 2010, 04:19 PM
  4. Howto Create a item with various subitems that displays different pictures and prices
    By verzulsan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Apr 2010, 06:53 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