Hi all,
Since the default setting of Discard Subsequent Rules is yes for every rule, I sometimes forget to change it to No, which leads to a rule crash.
Any way to change the default setting?
Thank you!
Hi @connieatpc9691 ,
You need to over right below ui components in your custom module and in your custom module you can set default value for field name stop_rules_processing.
How to over right ui component in magento 2?
Here is the answer:
Files that you need to oveeright (you just need to add stop_rules_processing field in over righted file with default value):
vendor/magento/module-catalog-rule/view/adminhtml/ui_component/catalog_rule_form.xml
vendor/magento/module-sales-rule/view/adminhtml/ui_component/sales_rule_form.xml
Problem Solved? Accept as Solution!
Hope it helps!
Thanks