-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New page for extend catalog rule conditions #8930
New page for extend catalog rule conditions #8930
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition - just some grammar and language corrections.
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
@BarnyShergold Thanks for the valuable suggestions. I have updated the PR. please review the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small change suggested, so I will approve and you can add the change - will be checked by the second reviewer
src/guides/v2.3/extension-dev-guide/extend-catalog-rule-conditions.md
Outdated
Show resolved
Hide resolved
|
||
In the above configuration, the `catalog_rule_form` is a UI component form. It is defined in the `app/code/Magento/CatalogRule/view/adminhtml/ui_component/catalog_rule_form.xml` file. | ||
|
||
The `Magento\CatalogRule\Model\Rule\Condition\Combine` and the `Magento\CatalogRule\Model\Rule\Condition\Product` classes are important for the listed conditions and validations of the specified conditions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these important?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dobooth Both these classes are responsible for the default conditions available in the catalog rule and defines the logic for the validations of those conditions.
That's why I termed it as important
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rewrote it. Please confirm if it is correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dobooth Yep, It is correct.
@magento import pr to magento-devdocs/devdocs |
@dobooth the pull request successfully imported. |
Hi @ajithkumar-maragathavel, thank you for your contribution! |
Purpose of this pull request
This pull request (PR) adds a new page that explains the implementation of the catalog rule conditions and specifies the high-level steps to extend the conditions.
Affected DevDocs pages
Links to Magento source code
Fixes #8224
whatsnew
Added the new Extend Catalog Rule Conditions topic.