百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 主页>网站教程>Ecshop教程> ecshop教程:商品详细页的商品属性放到上面
分享文章到:

ecshop教程:商品详细页的商品属性放到上面

发布时间:12/03 来源: 浏览: 关键词:

ecshop商品属性的模块是在下面,与商品详细页切换的,有些客户觉得不太方便希望将商品描述直接放到上面与重量价格等显示在一起,那么怎么操作呢。

打开goods.dwt

删除一下代码


 

 <blockquote>

      <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#dddddd">

        <!-- {foreach from=$properties item=property_group key=key} -->

        <tr>

          <th colspan="2" bgcolor="#FFFFFF">{$key|escape}</th>

        </tr>

        <!-- {foreach from=$property_group item=property} -->

        <tr>

          <td bgcolor="#FFFFFF" align="left" width="30%" class="f1">[{$property.name|escape:html}]</td>

          <td bgcolor="#FFFFFF" align="left" width="70%">{$property.value}</td>

        </tr>

        <!-- {/foreach}-->

        <!-- {/foreach}-->

      </table>

     </blockquote>

 

 

 <h2 class="h2bg">{$lang.goods_attr}</h2>

 

 

 

 

  <!--{if $goods.is_promote and $goods.gmt_end_time } 促销-->

      {insert_scripts files='lefttime.js'}

      <li class="padd loop" style="margin-bottom:5px; border-bottom:1px dashed #ccc;">

      <strong>{$lang.promote_price}</strong><font class="shop">{$goods.promote_price}</font><br />

      <strong>{$lang.residual_time}</strong>

      <font class="f4" id="leftTime">{$lang.please_waiting}</font><br />

      </li>

      <!--{/if}-->

 

      这段代码下面加

 

 

 

 

 <!-- {foreach from=$properties item=property_group key=key} -->

            <!-- {foreach from=$property_group item=property} -->

          <li class="padd loop"  ><strong>{$property.name|escape:html} </strong>

          {$property.value}</li>

        <!-- {/foreach}-->

        <!-- {/foreach}-->

      

 

这样就可以了,之后清缓存看看。

 

打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

相关文章

共有4人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助

能出一分力是一分吧!

订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板