[Prestashop] Problem with free shipping and use of coupon
- Here is my problem.I have set the courier that over 250€ shipping is free, but if one puts a 270€ product in the cart and then maybe applies a coupon and the amount becomes 240€ the system always considers me free shipping but in reality it is not, how do I do that?thanks a lotstefano
- Hello,Testing in 1.7.8.4, seems to work fine for me. Setup free shipping over 50 with a carrier:Cart without coupon:Cart with coupon added from AwoCoupon, order total 48.92.
- I don't, how can I understand where I went wrong?
- Not sure, start with how did you setup free shipping?
- I configured it like this
- Do not recognize that interface. Are you using some type of extension to do this? If so then would probably need some custom coding to get it to work.another thing you can do is check the overrides in/override/classes/Cart.php/CartRule.phpand see how those files compare to/modules/awocoupon/helper/override/17/classes/Cart.php/CartRule.php
- they look identical to me, if I try with the native prestahop coupon it works perfectly, the problem seems to be only with awocopuon couponsAny ideas?
- Awocoupon is developed to work with Prestashop system, it cannot foresee what will happen with other extensions. The only option here is to custom code awocoupon or the extension or both so that they work together.
- OK sorry again, consider that I am not a programmer so maybe I am wrong.
Why does the native Prestashop coupon work fine and if I use a coupon made with awocoupon instead it gives me the problem?
Can you see if I have set the awocoupon coupon wrong? I did another test to make sure: I used an address that matches the Italia zone.
The Italia zone has two rules, for which delivery is 10 euros if the basket amount is less than 200 euros and free delivery if the basket value is more than 200 euros. Please take a look at the screenshot - https://prnt.sc/QLEd136259iy
I put an item worth 230 euros in the cart. So shipping should be free. Please take a look at screenshots -
I created a discount coupon through Prestashop functionality. Please take a look at the screenshot - https://prnt.sc/RvMsBRi5NR0y
Shipping becomes chargeable when I apply a discount coupon. Please take a look at screenshots -
If I use AwoCoupon to create a coupon and apply that coupon, then the shipping cost doesn't change. Please take a look at screenshots -
The module I use for shipping works correctly with coupons created via Prestashop's default functionality.
I'm always more sure that I've done something wrong with the coupon configuration on awocoupon but I don't know where because I use awocoupon on other sites and it doesn't give me this problem.
Can you help me?Why does the native Prestashop coupon work fine and if I use a coupon made with awocoupon instead it gives me the problem?
Just like awocoupon was built to work with prestashop shipping, the shipping extension was built to work with prestashop coupons.- But no in another site I have both plugins and it works perfectly
- I have also tried deactivating the shipping plugin and still have the free shipping problem. So as I said I think it's really a problem with the awocoupon configuration, can you help me?
Thanks - On both sites, are you using the same versions of Pretatshop and Awocoupon? If so, I would suggest comparing the files in the /override directory of both sites. More than likely there is a difference there.