Open annukka-tormala opened 1 day ago
Hi @annukka-tormala. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.
@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
No idea if the category tree widget is used by price rules, but if it does, maybe https://github.com/magento/magento2/issues/39008#issuecomment-2427670552 fixes your issue?
No idea if the category tree widget is used by price rules, but if it does, maybe #39008 (comment) fixes your issue?
Unfortunately no, that widget category tree template is not used by the price rules.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete.
Preconditions and environment
Magento version 2.4.7-p1
Steps to reproduce
Expected result
All the subcategories should be visible in the category tree.
Actual result
Only categories 3 levels deep are rendered.
Screenshot from category tree from Cart Price Rules condition:
Screenshot from the category tree from Catalog>Inventory>Categories from admin: As you can see, all the subcategories are rendered here, but not in the Cart Price Rules condition category tree
Additional information
This seems to have happened in 2.4.7 when the extjs library was replaced with the latest version of jsTree. Related commit: https://github.com/magento/magento2/commit/4bfcc46c542101ecbd96ea1baff5a540b71b17bc#diff-64ae3799eb8d244fd03f20f4ea01674fdab57167f773924837a36871311d2985
Note: similar issue in categories was fixed earlier: https://github.com/magento/magento2/issues/38851#issuecomment-2345340785
Release note
No response
Triage and priority