71 Posts
Dgikar
6 years ago
1
Topic

Hello everyone!

I have several levels of categories:

I created 3 Select Dynamic Cascade ("Start", "In Between", "End").

In the "Start" in "Where" prescribed:

parent_id=2 and published=1

parent_id = 2 is in the example above ParentCat_1

In "In Between" and "End" in "Where" did not prescribe anything

When selected in Select Dynamic Cascade - ("Start") category "Cat_1", in Select Dynamic Cascade - ("In Between") are loaded "SubCat_1" and "SubCat_2". When selected in Select Dynamic Cascade - ("In Between") category "SubCat_1(2)" in the Select Dynamic Cascade - ("End") displayed SubSubCat... With this, everything is fine!

But if I choose in Select Dynamic Cascade - ("Start"), the category "Cat_2" or "Cat_3", then in Select Dynamic Cascade - ("In Between") the child category categories "Cat_2" or "Cat_3". So everything is OK! At the same time (as it should be) in Select Dynamic Cascade - ("End") - nothing is displayed ...

Question:

How to make Select Dynamic Cascade - ("Start"), when selecting the category "Cat_2" or "Cat_3" skip Select Dynamic Cascade ("In Between") and in Select Dynamic Cascade - ("End") load "SubCat_1" ... "SubCat_10" from the category of "Cat_2" or "Cat_3"?

In advance I thank for answers!