Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Free Shipping for Quantity > 1

by

Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple Shopping Cart Tweaks › Free Shipping for Quantity > 1

Tagged: conditional coupons, free shipping, shipping, shipping costs, tweak

  • This topic has 10 replies, 3 voices, and was last updated 15 years, 1 month ago by solixta.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • December 10, 2009 at 5:44 pm #542
    macedoniasking
    Member

    I would like to make shipping FREE for all orders with a quantity greater than 1. Shipping is currently set at $5.99 for the base shipping cost.

    I want people to ONLY get charged shipping when they are ordering just 1 (everything greater than 1 gets free shipping).

    I don’t know much about programming, but I’d imagine that this can’t bee too complex.

    Please help. Thank you.

    December 11, 2009 at 2:30 am #16638
    amin007
    Participant

    The simple shopping cart doesn’t have conditional shipping coupons option like the WP eStore but you said it isn’t hard to add this option in. Basically all you have to do is add a conditional “if” statement to check the total item quantity in the cart and remove the shipping if it is more than 1. I can tell you what to do if you can do the coding.

    December 11, 2009 at 7:41 pm #16639
    macedoniasking
    Member

    @amin007, thank you. That would be great. Please let me know what I need to do.

    December 12, 2009 at 7:47 am #16640
    amin007
    Participant

    In the “wp_shopping_cart.php” file search for the following line:

    $item_total_shipping += $item['shipping'] * $item['quantity'];

    This is where the shipping is getting calculated… you can add a condition here saying if the quantity is more that 2 then set shipping to 0.

    December 13, 2009 at 9:36 pm #16641
    macedoniasking
    Member

    It seems to have worked out great.

    I just replaced $item_total_shipping += $item * $item; with

    if ($item > 1)

    {

    $item_total_shipping += 0;

    }

    else

    {

    $item_total_shipping += $item * $item;

    }

    Now whenever someone buys > 1 product, their shipping is free.

    **I also had to make the base shipping 0.00 and use the individual buy buttons to add the shipping fee.

    Thank you for your help.

    May 17, 2010 at 12:03 pm #16642
    solixta
    Member

    Hi friends,

    I am offering free shipping on ALL orders and using:

    [wp_cart:xxxxx:price:47.95:shipping:0.00:end]

    With UP TO 5 items (less than $200) no shipping is added which is great but with 5 items $50 shipping is added. I have no clue where it is coming from and I do not recall I set it up that way in Paypal.

    If anybody can help it will be great because it is driving me nuts!

    Thanks,

    Henrik

    May 17, 2010 at 12:45 pm #16643
    solixta
    Member

    Just want to add that I just tested with other products and it looks like it is when the total os more than $200.00 if that helps..

    Thanks again,

    Henrik

    May 17, 2010 at 2:50 pm #16644
    amin007
    Participant

    Is the shipping being added after going to PayPal site or is it in the shopping cart?

    Please post a link to your site where the shopping cart is.

    May 17, 2010 at 3:28 pm #16645
    solixta
    Member

    Hi,

    http://solixta.com/zero-point-wand/ try to order 5 items, it is showing on the PP page prior to login which I guess means its a PP setting problem?

    Thanks for your help, most appreciated!

    Henrik

    May 18, 2010 at 2:14 am #16646
    amin007
    Participant

    Yep, it means you have it setup in your PayPal profile (see the paypal profile based shipping).

    If the shopping cart on your site do not show it then the shopping cart is not doing it.

    May 18, 2010 at 7:00 am #16647
    solixta
    Member

    Thanks!

    Henrik

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ