Good afternoon everybody,
I created two extra fields for the products form.
The first is “Product Type” with attribute code “tippro”. Field type = Radio buttons with two values “Inverter” or “Accumulation”
The second is “Inverter type” with attribute code “tipinv”. Field type Radio buttons.
Now I would like to make sure that if the user chooses the “Inverter” item as the product type, the “Inverter type” field is shown.
If in the “Visibility” field I insert this code ($object->ref==zc1?1:0) where zc1 is the product reference it works but if I try with this code
($object->tippro==Inverter?1:0) doesn’t work.
How do I access the value of the “tippro” variable of the extra field?