I have a dropdown product attribute named:
i want to hide stock status from product page when any option from
shine_fine attribute is selected. i don't want to disable
Magento stock status i just want to hide it.
this is my
shine_fine attribute code in view.phtml:
<?php if($_shineFine = $_product->getAttributeText('shine_fine')): ?> <img src="/media/atticons/<?php echo $_shineFine ?>.png"> <?php endif; ?>