如何使用Magento在类别视图上显示价格?

时间:2013-12-09 13:42:03

标签: php magento xhtml

我正在寻找专家的一些建议。

我想了解如何在类别网格视图上显示价格框。为了更好的解释,我在下面添加了src。

感谢!!!!

1 个答案:

答案 0 :(得分:0)

看看@

  

/app/design/frontend/base/default/template/catalog/product/list.phtml

<?php echo $this->getPriceHtml($_product, true) ?>

网站代码

<div class="batch">
   <h4 class="name"><a href="/bath-body/new-in/honeymaniatm-body-butter.html" title="HONEYMANIA™ BODY BUTTER">HONEYMANIA™ BODY BUTTER</a></h4>
   <a class="button shop" href="/bath-body/new-in/honeymaniatm-body-butter.html" title="DISCOVER">DISCOVER<span></span></a>
   <div style="display:none"> <<<<<<---- Here is the issue
   <div class="price-box"> 
   <span class="regular-price" id="product-price-1049">
   <span class="price">€7.95</span>                                    </span>

您需要修改

  

/应用/设计/前端/碱/ {yourtheme} /template/catalog/product/list.phtml

删除

  

<div style="display:none">

(搜索<?php echo $this->getPriceHtml($_product, true) ?>它应该在这一行附近)

相关问题