Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I want to charge shipping per item on physical products only, and also have the free shipping on orders over $20.00 kick in on the physical portion only. Right now, if an order is either all physical or all virtual, the per-item and free>20 works dandy.

 

On a mixed order, the per-item rate will tally on virtual as well as physical items, and the order_total part for free shipping is also cumulative of both types.

 

I thought perhaps a function in class shopping_cart.php to count up which is which? I attempted it, but got all tangled up. Ideas and solutions welcome.

 

My Webpage

you can sign in with [[email protected]] and [testing]

There are virtual products (ebooks) in categories 'unit one' and 'accessories'.

Thank-you.

Toward Continued Success - - > Carol Hawkey - - > KidsLearnToSew.com - - > Wyoming, USA

Mods Installed - - > Authnet AIM2 - Bundled Products 1.4 - Fancier Invoice 6.1 - Email_HTML_Order_Link_Fixed - Header Tags Controller - Login aLa Amazon - JustOneAttribute - Article Manager - SPPC w/PB - spiders.txt - Dangling Carrot/Olive - Printable Catalog - CCGV(trad)

Planned Mods - - > Purchase Without Account - USPS Label - Ultimate SEO

Posted

Any ideas on this yet? I've put it on a back burner for now, but still want to code this functionality. Thanks-

Toward Continued Success - - > Carol Hawkey - - > KidsLearnToSew.com - - > Wyoming, USA

Mods Installed - - > Authnet AIM2 - Bundled Products 1.4 - Fancier Invoice 6.1 - Email_HTML_Order_Link_Fixed - Header Tags Controller - Login aLa Amazon - JustOneAttribute - Article Manager - SPPC w/PB - spiders.txt - Dangling Carrot/Olive - Printable Catalog - CCGV(trad)

Planned Mods - - > Purchase Without Account - USPS Label - Ultimate SEO

Posted

Instead of using "rate per item" try using a simple weight based one set the weight of each physical item to 1 and for each virtual item set it to 0 - that way, for example, 10 physical items would weigh 10kg and 10 physical mixed with 8 virtual would also weigh 10kg - you then only need to set the weight table to reflect your shipping charges.

 

As for the other problem - no idea!! Sorry

Posted

Hmmm, I see - then set the shipping cost/price per lb/kg to be what I want for the "per item" rate, and voila.

I think that'll work!

Toward Continued Success - - > Carol Hawkey - - > KidsLearnToSew.com - - > Wyoming, USA

Mods Installed - - > Authnet AIM2 - Bundled Products 1.4 - Fancier Invoice 6.1 - Email_HTML_Order_Link_Fixed - Header Tags Controller - Login aLa Amazon - JustOneAttribute - Article Manager - SPPC w/PB - spiders.txt - Dangling Carrot/Olive - Printable Catalog - CCGV(trad)

Planned Mods - - > Purchase Without Account - USPS Label - Ultimate SEO

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