This question may have been answered recently but last time I asked over a year ago there as no solution offered or available in Zen Cart 1.27 so thought I would ask again to see if newer 1.3x versions support workaround.
Is there a method to hide the attribute display on the product info page when the attribute has only one option, that is when there is NO choice?
That is when an option is not an option ;-)
For instance for an eBook product, which is offered in PDF format only, how do I NOT display:
"Please Choose: Downloadable eDoc - English PDF"
(with enabled radio button which cannot be disabled).
I can comment out code to display this info in the template file, but that would also impact all products with attributes with more than once option.
Is there a switch in admin that would disable display of attribute info for products with a single attribute option?
If not could a snippet of code be added somewhere which would test for this condition and set a flag which could be utilized in tpl_product_info_display.php.
Any thoughts on best way to implement this idea? Thanks.
Woody
Bookmarks