发新话题
打印

[待解决] 如何在商品列表里加入"作者: 出版社: "语句标签?

如何在商品列表里加入"作者: 出版社: "语句标签?

ecshop2.6GBK版,如何在商品列表里加入"作者:   出版社: "语句标签?
代码如下:
<div class="content-div">
  <!-- {if $category > 0} -->
  <form name="compareForm" action="compare.php" method="post" >
    <!-- {/if} -->
    <!-- {if $pager.display == 'list'} -->
    <!--{foreach from=$goods_list item=goods}-->
    <table border="0" cellpadding="5" cellspacing="1" class="goods-list">
      <tr>
        <td width="35%" align="center">
          <a href="{$goods.url}" style="position:relative;display:block;">
            <img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" border="0"  />
            <span style="position:absolute;right:10px;top:-3px;">
              <!-- {if $goods.watermark_img eq watermark_promote_small} -->
              <img src="images/watermark_promote_small.png" alt="" />
              <!-- {else} -->
              <!-- {if $goods.watermark_img eq watermark_new_small} -->
              <img src="images/watermark_new_small.png" alt="" />
              <!-- {else} -->
              <!-- {if $goods.watermark_img eq watermark_hot_small} -->
              <img src="images/watermark_hot_small.png" alt="" />
              <!-- {else} -->
              <!-- {if $goods.watermark_img eq watermark_best_small} -->
              <img src="images/watermark_best_small.png" alt="" />
              <!-- {/if} -->
              <!-- {/if} -->
              <!-- {/if} -->
              <!-- {/if} -->
            </span>          </a>        </td>
        <td><a href="{$goods.url}"><strong>
          <!-- {if $goods.goods_style_name} -->
          {$goods.goods_style_name}
          <!-- {else} -->
          {$goods.goods_name}
          <!-- {/if} -->
          </strong></a>
          <!-- {if $goods.goods_brief} -->         
          <br />
          {$lang.goods_brief}{$goods.goods_brief}
          <!-- {/if} --><br />
          <!-- {if $show_marketprice} -->
          {$lang.market_price}<span class="market-price">{$goods.market_price}</span><!-- {/if} -->
          <!--{if $goods.promote_price neq "" } -->          {$lang.promote_price}<span class="goods-price">{$goods.promote_price}</span>
          <!--{else}-->
          {$lang.shop_price}<span class="goods-price">{$goods.shop_price}</span>
          <!--{/if}--><br />
          作者:11111111
    出版社:555555555    </div>

附件

QQ1111111.jpg (11.98 KB)

2008-7-3 21:16

QQ1111111.jpg

TOP

可以用属性

TOP

貌似不行 列表页没这个标签的赋值 只能改.php文件

TOP

怎么改呢,有没有人可以教一下啊

TOP

这个可以在属性里面添加,之后,在网站设置中的,商品显示设置把属性设为显示。

TOP

发新话题