Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Posts
    7
    Plugin Contributions
    0

    red flag Free shipping for one item

    Hey Zenners-

    I've got two zones:
    - US
    - Non-US


    I've got two product types:
    - Magazines
    - Subscriptions


    To support this, I am using the Per Unit perunitweight/Per Unit International perunitweightint Hack as described by Linda McGrath, however I've got one sticky situation.

    The weight unit for the magazines is '4'
    The per unit price is '1' for US
    The per unit price is '2' for Non-us

    This makes shipping to US : $4 AND NON-US $8

    Perfect so far

    Subscriptions have a weight unit of '20'
    Shipping for US is $20
    Shipping for Non-US is $40

    Still good, but shipping for US should be FREE

    SO - I've also added the Free Shipping Options freeoptions module, and set it so that I offer free shipping when the weight is >= 20 <= and set my zone to US, so indeed I get the free option for subscriptions

    Here's the catch - if a customer orders a subscription AND a magazine, the weight is now '24' and the free option goes away... the total shipping here should be $4 (the subscription should be free, the magazine $4)

    I can't just make the free option show up for orders over 20 units, because five magazines should cost $20 to ship to US, but this would end up being free

    HELP!?!?!

    I am SO CLOSE!!!

    Thank you!
    Ron

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

    Default Re: Free shipping for one item

    Free Shipping Options freeoptions is used for when you want Free Shipping to show with all the other shipping modules ...

    You could use the Modules ... Order Total ... Shipping ot_shipping and set the Free Shipping on for orders >= 20.00 for National ...
    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
    Jul 2006
    Location
    Wiltshire, England
    Posts
    69
    Plugin Contributions
    0

    link problem Re: Free shipping for one item

    Quote Originally Posted by webfeathers View Post
    To support this, I am using the Per Unit perunitweight/Per Unit International perunitweightint Hack as described by Linda McGrath
    This sounds like what I want, but what is this hack? I can't find it with a search.

  4. #4
    Join Date
    Jun 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Free shipping for one item

    Essentially, Linda's idea is this:

    Use the Per Unit perunitweight Shipping module for US Zone.
    Then, (after creating another Non-Us Zone) clone the Per Unit perunitweight shipping module, and name it "Per Unit International" (or something). Clone by copying the two files:
    • /includes/modules/shipping/perweightunit.php
      • Name this new file 'perweightunitint.php'
    • /includes/languages/english/modules/shipping/perweightunitint.php
      • Name this new file 'perweightunitint.php'
    You'll need to go through those two files, and change every instance (upper and lower case) from 'PERWEIGHTUNIT' to PERWEIGHTUNITINT'

    Then, in Admin -> Modules -> Shipping,make sure your two modules are installed

    For the Per Unit Module, go to Edit and change the Shipping Cost per Unit to 1 (or whatever you need your multiplier to be)

    For the Per Unit International Module, go to Edit and change the Shipping Cost per Unit to 1.5 (or whatever you need your multiplier to be).

    Next - give each of your products a weight.

    The math is pretty simple - if you want to charge $5 to ship in the US, make the weight of your product '5 units' (since the Per Unit multiplier is '1' the shipping fee will be '5'. If you wanted to charge $7.50 to ship Internationally for that same product, the multiplier for the international module would be 1.5 (5 * 1.5 = 7.50)

    Finally, make sure that you've got the correct module available for the correct Zones and you're all set.

    Hope that helps.
    ~R~

  5. #5
    Join Date
    Jul 2006
    Location
    Wiltshire, England
    Posts
    69
    Plugin Contributions
    0

    Have a Drink Re: Free shipping for one item

    D'you think we can trust this Linda person???

    Ha!

    Well, that looks pretty good, and not (apparently) hard to do. Thank you very much.

    I picked up on your post particularly because you seem to be selling magazines, which is what my query was about. In which case, how d'you stop the shopping cart displaying the (fictitious) "weights"?

    And of course, now I have to follow up the other posts about product specific billing and shipping methods 'cos we not only sell a magazine but also beef & pork

    Many thanks again
    Mark
    www.vowleyfarm.co.uk

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

    Default Re: Free shipping for one item

    Quote Originally Posted by MarkRS View Post
    D'you think we can trust this Linda person???
    /me fools them again with the friendly elf suit and the winning smile ...
    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
    Jul 2006
    Location
    Wiltshire, England
    Posts
    69
    Plugin Contributions
    0

    Default Re: Free shipping for one item

    Quote Originally Posted by Ajeh View Post
    /me fools them again with the friendly elf suit and the winning smile ...
    Don't try it in Ireland

    Of course, with this strategy it looks like

    Finally, make sure that you've got the correct module available for the correct Zones and you're all set.
    isn't necessarily trivial.
    Can the "rest of the world" zone be set as a "catchall" somehow?
    I s'pose it's not too bad adding lots of them in by hand, but...

 

 

Similar Threads

  1. v154 Free Shipping coupon for 1 item makes all shipping free
    By Phil S in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 15
    Last Post: 7 Jun 2016, 11:29 PM
  2. Make entire order free shipping if one item is free shipping
    By sfischer in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 3 Oct 2011, 02:14 PM
  3. Free shipping on one item in USA and with purchase of another item
    By jendera in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Dec 2009, 01:00 AM
  4. Buy one item, offer free shipping on up to two other items
    By donronco in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 24 Oct 2008, 04:26 AM
  5. Free shipping item weight calculated wrongly for non valid free shipping zone
    By firehorse in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 28 Oct 2006, 05:39 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