|
I created a drop-down attribute called ‘pricing’ that explains whether a price is /set, /pair, etc. I managed to get the attribute to display in the list and grid view by updating the catalog.xml and by puting
<?=$_product->getAttributeText('pricing')?>
in list.phtml
However, it looks terrible, so I have been trying to modify price.phtml so the attribute will have the same fomatting as the price itself. As of yet, I have not been able to get any sort of output when I modify price.phtml. I assume the pricing attribute hasn’t been loaded and that is why it wont output, but I dont know where to start looking to make it accessible in price.phtml.
I am also assuming that price.phtml controls the output of
$this->getPriceHtml($_product)
Any ideas?
|