我正在寻求专家的一些建议。
我想了解如何在类别网格视图中显示价格框。为了更好的解释,我在下面附上src。
谢谢!!!!
查看@
/app/design/frontend/base/default/template/cacatalog/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>
您需要编辑
/app/design/frontend/base/{yourtheme}/template/controlog/product/list.phtml
删除
<div style="display:none">
(搜索<?php echo $this->getPriceHtml($_product, true) ?>
,它应该在这条线附近)