Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

freakystreak

Free shipping based on subtotal rather than overall total

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.

Share this post


Link to post
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.

Get the latest versions of my addons

Recommended SEO Addons

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×