我想在搜索结果页调用产品的详细信息标签和一些产品属性,请问怎么调?我加了标签可是没有显示!希望那位大哥帮帮忙!
http://napa.817.8008202191.com/index.php 这是搜索页地址,
CODE:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- {if isset($goods_list)} -->
<!--{if $goods_list}-->
<!-- {if $pager.display == 'list'} -->
<!--{foreach from=$goods_list item=goods}-->
<tr>
<td width="195" valign="top" bgcolor="#FFFDE1"><a href="{$goods.goods_img}"><img src="{$goods.goods_img}" alt="{$goods.goods_name|escape:html}" width="70" height="150" border="0" /></a></td>
<td width="50" background="images/line_bg.gif"> </td>
<td valign="top" bgcolor="#FFFDE1"> <!-- {if $goods.goods_style_name} -->
{$goods.goods_style_name}
<!-- {else} -->
{$goods.goods_name}
<!-- {/if} --><br />
<table width="98%" border="0" align="center">
<!-- {foreach from=$properties item=property_group key=key} -->
<tr>
<td colspan="2"><strong>{$key|escape}</strong></td>
</tr>
<!-- {foreach from=$property_group item=property} -->
<tr>
<td nowrap="true">{$property.name|escape:html}</td>
<td>{$property.value|escape:html}</td>
</tr>
<!-- {/foreach}-->
<!-- {/foreach}-->
</table>
<br /> <!-- {if $goods.goods_desc} -->
<div class="title-div">详细信息</div>
<div class="content-div">{$goods.goods_desc}</div>
<!-- {/if} --></td>
<td valign="top" bgcolor="#FFFDE1"><a href="javascript:addToCart({$goods.goods_id})"><img src="../images/add_cart.gif" alt="{$lang.add_to_cart}" width="87" height="20" /></a></td>
<td valign="top" bgcolor="#FFFDE1"><a href="{$goods.goods_thumb}"><img src="{$goods.goods_thumb}" alt="{$goods.goods_name}" width="35" height="150" border="0" /></a></td>
</tr>
<!--{/foreach}-->
<!-- {/if} -->
</table>