Magento 2 page gets hanged during adding New Catalog Price Rule Condition
-
13-01-2021 - |
Question
Magento 2 page gets hanged during adding New Catalog Price Rule Condition
What I am trying to do is:
Open Marketing->Catalog Price Rule->New Catalog Price Rule.
When I add a condition like : "category is ------" and click the product category selector it hangs the page and category selector is never opened.
Console messages:
When the page gets hanged after too much time it shows the below in console:
La solution
For quick fix add scope variable datatype var
inside your loop of file category-checkbox-tree.js
This is a bug in Magento 2.2.4 which is fixed however will be released in Magento 2.2.5 according to their GitHub Repo discussion.
You can find more details about this issue @ https://github.com/magento/magento2/issues/15121