-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7
Hello,
in the different categories a vendor can select for a product, there are some that are mutually exclusive.
For example category "personal performance" and "organisation performance" are mutually exclusive on my site.
So I would like that one of them is selected, the user can't select the other one.
I had a look at the product creation page and initially thought I could develop some javascript in the "form.php" file when the vendor clicks on the product category area and get the ids of the categories and perform some checks.
but first it seems complec and second, I can't figure out how to get the category ids, since it seems that the "node.id" (used to differentiate the different categories in the tree category, if I understood well) are not using the real category id, but a made up category.
Could you help on this matter (either on suggesting a recommended approach) or by telling me how I can get the real category ids when a user clicks on one of the category node.
regards.