Hello,
Prestashop 1.7.6.4
I've spend hours on that problem, there is no solution on google/forums/github, so i'm desperate and post here....
CONTEXT :
Apart from 'static' discounts, shops create dozens of new/dynamic cart rules per day, due to usual marketing modules
- affiliate discounts
- sponsor discounts
- social link discounts
- newsletter discounts
- abandoned cart reminders discounts.......
- etc etc etc.....
PROBLEM : with Prestashop, new discounts are always created compatible with all others, even if the 'compatibility' checkbox is unchecked. This is a subtle bug that leads to big complications....
When the 'compatibility with other cart rules' box is unchecked, the corresponding cart rule SHOULDN'T be compatible with others (actually this is not the case !) so that users may CHOOSE in between two opposite automated behaviors.
ILLUSTRATION :
Case 1 : the 'compatibility with other cart rules' is uncheked.... the cart rule is compatible with others (bug)
Case 2 : we check the 'compatibility with other cart rules' checkbox >>> the discounts will be set as.... compatible too, by default....... 😕
CORRECTION :
Just logics......
- if 'compatibility with other cart rules' is unchecked : the corresponding cart rule must be incompatible by default with all others cart rules (newly created or existing) >>> this is the bug that needs to be fixed
- if 'compatibility with other cart rules' is checked : the corresponding cart rules must be compatible by default with all existing or created new rules, and we can finely tune its eventual uncompatibility >>> this is the actual behavior
I think someone who know a bit the Prestashop controllers or PHP or whatever in coding could fix that problem in few minutes... It took me hours to write this damn message and look on internet....
Thanks !!
.png.022b5452a8f28f552bc9430097a16da2.png)