php - Opencart - custom options based on name and type -
Does Opencart allow / add custom options based on specific names?
For example: in the file, product.tpl I added & amp; Amp; ($ Option ['name'] == 'select color') default image option => and => To perform this option, only when the type will be image and the name will be choose color
I need to create a style option.
Is it possible in Opencart?
Because I have tried this method and my product page got blank and it has no code in & amp; Amp; ($ Option ['name'] == 'select color')
If your position is not correct. Do this instead:
& lt ;? Php if ($ option ['type'] == 'image' & amp; $ option ['name'] == 'select color') {? & Gt; The braces were not set properly.
Comments
Post a Comment