Thank you. I was successfully able to add tile-plus.js to our theme.
Our category dropdown has parent and child categories.
What I’m hoping to do is disable the parent categories in the dropdown, so that you can’t filter results with them. Chosen.js inherits “disabled” attributes if they are present in the original <select> on which it is called (http://harvesthq.github.io/chosen/options.html#attributes). Since I don’t have control over the <select> html, I was trying to add the disabled attribute with jQuery. If I inspect the <select> element, I can see that the attributes have been added, but I still seem to be able to select the parent categories.
Here is what I currently have in tile-plus.js
$(“#cn-tile-plus .cn-category-select.cn-enhanced-select option.cn-cat-level-1”).attr(“disabled”,true);
If there’s a better way to disable parent categories, I’m open to that too.