发新话题
打印

如何在recommend_best.lbi中调用以下参数?

如何在recommend_best.lbi中调用以下参数?

1)调用$goods.comment_rank——以便可以显示用户对精品商品的评论星星数;

2)调用某一具体的商品属性


非常感谢。

TOP

顶一下。

TOP

1)
试着加入了:
复制内容到剪贴板
代码:
<img src="images/stars{$goods.comment_rank}.gif" width="64" height="12" alt="comment rank {$goods.comment_rank}" />
但不能显示。

2)
复制内容到剪贴板
代码:
<!-- {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>
如果是要显示某一个attri_id对应的attri_value,要如何修改呢?
头大啊。

[ 本帖最后由 areyousure 于 2008-1-7 17:36 编辑 ]

TOP

发新话题