Jump to content

Shipping


Recommended Posts

hello, I want to offer free shipping when you spend 100$ or more but only to one carrier lets say USPS and not for all carrier because is more expensive like i offer also UPS and FEDEX and i don't want free shipping on does when the customer spends more than XXX$....

is there a solution to limit the free shipping to a specific carrier?

thanks

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

It hasn't changed too much.

Change 'classes/Cart.php'

if ($orderTotalwithDiscounts >= floatval($free_fees_price) AND floatval($free_fees_price) > 0)



To


if ($orderTotalwithDiscounts >= floatval($free_fees_price) AND $id_carrier==XX AND floatval($free_fees_price) > 0)



Make $id_carrier==XX your default carrier id (see Shipping > Carriers) in your admin page.

Link to comment
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
×
×
  • Create New...