Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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?

Posted (edited)

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.

 

Posted

That worked when shipping was based on weight (did that in the past). Now that it's based on total price instead, that's a little more difficult.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...