Adobe AD0-E704 Exam - Topic 1 Question 3 Discussion
You are creating a module that creates a Catalog Price Rule. You have written this code to specify the conditions:After saving the catalog rule, the second and third condition do not seem to fall under the combine condition.How do you fix the issue?
D) The () operator in the third condition is invalid, which prevents the conditions from being saved correctly
A) The type of the third condition needs to be Magento\CatalogRule\Model\Rule\Condition\Category since you are checking on category_ids
B) The array keys are incorrect they need to be 1--1 and 1--2
C) The value field in the first condition is changed to '2. 3'
Bobbye
10 months agoThea
11 months agoJohnathon
11 months agoVeronika
11 months agoFrank
11 months agoJestine
11 months agoKristian
11 months agoMalcolm
11 months agoMarylin
11 months agoElina
12 months agoYuette
12 months agoBettina
12 months agoGladys
12 months ago