Describe the bug
For my case, when I add a new promo code on cart rule (individual or to everyone), in Front-Office adding a correct promo code not working.
Detected by the E2E automation tests.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Please refer to the video attached https://drive.google.com/file/d/16dyBqxzC5SDAwNAVa6DAKyK0svf6Rt7j/view
Additionnal information
PrestaShop version: 1.7.6.x
PHP version: 7
Hi @mbadrani,
I have the same issue with PS1.7.6.x
After clicking "Add button" => I reload the page => an exception displayed
Thanks!
Nice catch !
@matks & @khouloudbelguith I have another bug when I try to access to "orders/shopping carts" in the backoffice, it seems to be related bug wdyt?
both are calling CartRuleCalculator.php
@mbadrani, I think they are related.
In my case all the shop FO is blocked with this exception, I don't have access to FO any more.
Thanks!
so If FO is not accessible anymore it's critical
@mbadrani please give more details:
With a fresh-installed shop, when I add a cart rule I can go through the checkout steps without interruption.
which sort of cart rule did you use ? Is it on a fresh install (which parameters) or after some changes (carrier, products...) ?
Your description is far too vague to reproduce easily.
@tomlev a complete description here on how to reproduce it:
https://docs.google.com/document/d/1pUVx5060vM2hgNIlaVS4KfI9BbWWmV7wTUos1OHYnHg/edit?usp=sharing
Don鈥檛 forget to activate free shipping
I think it was the missing part, please share these details next time ^^
it was. I can reproduce now
Furthermore, the problem is if you create a cart rule with free shipping AND a promo in % or amount.
A cart rule with only free shipping is working correctly
Most helpful comment
it was. I can reproduce now