Tips and Tricks HQ Forum

Support Forum for Tips and Tricks HQ Products

Register or log in - lost password?

Search the Forum

Tips and Tricks HQ Forum » Simple PayPal Shopping Cart » Simple Shopping Cart Tweaks

Free Shipping for Quantity > 1

(11 posts) (3 voices)
  • Started 2 years ago by macedoniasking
  • Latest reply from solixta
  • Related Topics:
    1. quantity based shipping per product
    2. How do you create free shipping for downloadable products?
    3. Shipping: by quantity and region
    4. Paypal-shipping costs transmission problem
    5. Processing Orders, Printing Shipping Labels and Receipts

Tags:

  • conditional coupons
  • free shipping
  • shipping
  • shipping costs
  • tweak
12Next »
  1. 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.

    Posted 2 years ago #
  2. amin007
    Key Master

    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.

    Posted 2 years ago #
  3. macedoniasking
    Member

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

    Posted 2 years ago #
  4. amin007
    Key Master

    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.

    Posted 2 years ago #
  5. macedoniasking
    Member

    It seems to have worked out great.

    I just replaced $item_total_shipping += $item['shipping'] * $item['quantity']; with

    if ($item['quantity'] > 1)
    {
    $item_total_shipping += 0;
    }
    else
    {
    $item_total_shipping += $item['shipping'] * $item['quantity'];
    }

    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.

    Posted 2 years ago #
  6. 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

    Posted 1 year ago #
  7. 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

    Posted 1 year ago #
  8. amin007
    Key Master

    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.

    Posted 1 year ago #
  9. 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

    Posted 1 year ago #
  10. amin007
    Key Master

    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.

    Posted 1 year ago #

RSS feed for this topic

12Next »

Reply »

You must log in to post.

Tips and Tricks HQ Forum is proudly powered by bbPress

Tips and Tricks HQ  | WP Shopping Cart  | WP Affiliate Software  | WordPress Membership Plugin