0

I want that the only category checkbox selectable should be the leaf category that is the category checkbox without children in the current branch and only one category checkbox per product can be selected. The pseudo code is:

if category has children then input checkbox tag is disabled
if at least one category is selected then disable all other checkboxes

I can't find where to edit the category checkboxes code. They are the checlboxes shown in the product edit page or new product page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.