Jump to content

Minimum order charge


Recommended Posts

You could try changing lines 864-866 of classes/Cart.php (in PrestaShop v1.3.1) from:

// Adding handling charges
if (isset($configuration['PS_SHIPPING_HANDLING']) AND $carrier->shipping_handling)
   $shipping_cost += floatval($configuration['PS_SHIPPING_HANDLING']);



to:

// Adding handling charges
if (isset($configuration['PS_SHIPPING_HANDLING']) AND $carrier->shipping_handling)
   $shipping_cost += floatval($configuration['PS_SHIPPING_HANDLING']);

if ($orderTotalwithDiscounts < 25)
   $shipping_cost += 4.95;



This should add $4.95 to the shipping cost if the total order with discounts is less than $25.

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