I wish to add a "Certified Organic" logo to the Product Description of some products but not all. If I try to add an image tag to the description it does not stick. Is there another way of doing this by maybe creating an attribute that is turned on/off per product. If on the image is shown on the product page, and if off the image is not shown?
Magento – Add an image to a product description in 1.8.1
attributesmagento-1.8product-imagesproduct-viewtemplate
Best Answer
You need to check what type of product (simple, configurable, etc.), if the filter type, you can make a module with the only action of adding the image in the description. The file should be changed in your folder template/modulo_custom is the
app\design\frontend\base\default\template\catalog\product\view\description.phtml
. Copy the file, change and enter the code:<img src = "link.of.image.jpeg" alt = "some description" />