Vrijspel Posted January 10, 2018 Share Posted January 10, 2018 On my website (www.vrijspelspeelgoed.nl) I have free shipping from €50. This is a cartrule discount. If people use a discount code , which makes the total price from for example €55 to €45, it still gives free shipping. It should take the amount of €45 to determine the discount. I am using prestashop version 1.6.0.9. I found 2 relating topics on this, and I applied both. I changed only_pysichal_products_without_discount to both_without_discount in the classes\cart.php code. I also changed the $total_price to $totalpricewithdiscount. None of it worked. Is there another way to fix this? Thank you Link to comment Share on other sites More sharing options...
David S Johnston Posted February 2, 2018 Share Posted February 2, 2018 (edited) Hi Vrijspel, have you figured this out yet? I have the same issue. We have free shipping from €100 purchased. so if a client orders €101 worth of goods, they get free shipping, but if they enter a discount code, and the total of purchased goods then drops to for example €95 they still get free shipping. Could you let me know which 'solutions' you found. 1.6.1.4 by the way Groeten, David. Edited February 2, 2018 by David S Johnston (see edit history) Link to comment Share on other sites More sharing options...
David S Johnston Posted February 2, 2018 Share Posted February 2, 2018 Vrijspel, I tried the \classes\cart.php modification and it worked fine for me. The two instances of $order_total are on line 2969 and 2976, I changed them to $orderTotalwithDiscounts (case sensitive perhaps??) and then cleared the cache (seems to be needed on my system). Now I have the shipping price based on the total productcost, excluding the discount. Groeten, dave. Link to comment Share on other sites More sharing options...
Bon-Hwa16 Posted February 2, 2018 Share Posted February 2, 2018 I think best way to consult with your developer because he able to do it in right way. At the same time David S Johnston put good suggestion as well. Link to comment Share on other sites More sharing options...
AntoniaU Posted February 12, 2018 Share Posted February 12, 2018 Hi I'm having the same problem with 1.7.2, any idears where I can fix this? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now