I want to show a detailed product description after a short description on the product listing page.
I'm doing this
<?
echo $_product->getDescription();
?>
but nothing shows up.
I also tried this
Mage::getModel('catalog/product')->load($_product->getProductId())->getDescription();
but to no success.
They can be located right next to or underneath product titles and product images. They can be scannable selling points or have strong readability. There are multiple styles and ways to make product descriptions work for your ecommerce store, but there's much more to them than simple copywriting.
Try setting product attribute for descrption field "Used in Product Listing" to "YES". That will solve your problem and avoid redundant model load
The correct code is:
<?php
$my_product = Mage::getModel('catalog/product')->load($_product->getId());
echo $my_product->getDescription();
?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With