Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Combined Table by Price and Free Shipping for select items


jbs

Recommended Posts

Ok, here's what I'm looking for: our shipping is based on price, and so we've been using the table shipping -- $5.00 - $20.00 = $5.00, $20.01 - $50.00 = $10.00 shipping, etc. That works fine. We also sell eBooks and, as a charity, take online donations, and so we have free shipping for those, using free shipping for select categories, and that works fine. But when the customer combines the two in one order, we have a problem. When someone buys a $2.00 product and makes a $200 donation, the table shipping kicks in and they are charged shipping on an order of $202.00. They aren't impressed with $25.00 shipping on a $2.00 item. Any idea on how to make this work? Is there a module I've missed or a way to combine two?

Link to comment
Share on other sites

Well easiest would be to assign a weight to your products with the eBook having a null weight = free shipping and and and full controll

 

sorry wait  it was to simple

 

To simple maybe

 

Regards

Joli

Edited by joli1811
To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Give eBooks zero weight.

Remove zero weight products from the shipping cost.

function getShippableTotal() { 

in /includes/modules/shipping/table.php 

is what you need to amend to enable this, maybe someone else can give you the exact code you need or maybe you can work it out on your own.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...