Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Free shipping based on subtotal rather than overall total


freakystreak

Recommended Posts

I am using OSCommerce Frozen and have the shipping's  'allow free shipping' option set to true(within order totals). I need to make the free shipping option be based off the subtotal amount rather than the total amount within the shopping cart. Is this possible? I need to have free shipping activated when the subtotal is over £118. At the moment free shipping is showing when the overall total ( including subtotal and tax) is over £99. In simple terms i want free shipping to trigger when the sub total order value is £99.

Edited by freakystreak

Ah, the world wide web. What a wonderful place.

Link to comment
Share on other sites

@freakystreakIn includes/modules/order_total/ot_shipping.php, find

        if ( ($pass == true) && ( ($order->info['total'] - $order->info['shipping_cost']) >= MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER) ) {

and change the 'total' to 'subtotal'

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 4 weeks later...

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