How can I create a pair of dropdowns such that when one is selected, the options for the other one are updated?
The values for options for both dropdowns are coming from PHP.
I have absolutely no clue about knockout js. Any help would be appreciated.
Thanks
Best Answer
In phtml template file add following code:
Create js
In block class: