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.

enter image description here

Console messages:

enter image description here

When the page gets hanged after too much time it shows the below in console:

enter image description here

  • Show your console output.
    – Sohel Rana
    Commented Jun 3, 2018 at 14:35

1 Answer 1


For quick fix add scope variable datatype var inside your loop of file category-checkbox-tree.js

Like this: https://github.com/magento/magento2/commit/b7179ad97c0a406e41245d9d092a17df529a1768#diff-1119f9b28515cf267d3f8fc8c11ad59e

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.