如何在产品列表页面上显示产品详细说明? [英] how to display product detail description on product listing page?

查看:67
本文介绍了如何在产品列表页面上显示产品详细说明?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在产品列表页面上简短描述后显示详细的产品描述.

I want to show a detailed product description after a short description on the product listing page.

我正在这样做

<?
echo $_product->getDescription();
?>

但什么都没有出现.

我也尝试过

Mage::getModel('catalog/product')->load($_product->getProductId())->getDescription();

但没有成功.

推荐答案

尝试将说明字段产品列表中使用的产品"的产品属性设置为是". 这样可以解决您的问题并避免多余的模型负载

Try setting product attribute for descrption field "Used in Product Listing" to "YES". That will solve your problem and avoid redundant model load

这篇关于如何在产品列表页面上显示产品详细说明?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆