Hi everybody, I need a hand with this. I’m putting together a website and products on this site will have many attributes, some of them will be text and others will be drop down (in the backend, at the frontend will always be text), but my problem is how do I do to display these attributes on the web.
Lets suppose that I have a custom attribute named Presentation (id: presentation, in lowercase), which is a drop down where I have the ways in which my product is sold (pack of 10, pack 20, pack of 30, etc. ..), the ways that I have tried to show that attribute is:
<?php echo $_product->getPresentation()?>
<?php echo $_product->getpresentation()?>
<?php echo $_product->getAttributeText('presentation')?>
<?php echo $_product->getResource()->getAttribute(âpresentationâ)->getFrontend()->getValue($_product) ?>
<?php echo $_product->getResource()->getAttribute('presentation')->getSource()->getOptionText($_product->getPresentation()) ?>
But I the result is allways the same: Nothing......
Thxs to all