Jump to content

About Reference,how can i do?


Cheney
 Share

Recommended Posts

备份后修改/themes/(你的主题)/product-list.tpl,在第24行后加入:


{if $product.reference}{l s='Ref.: '} {$product.reference|escape}{/if}



p.s.: 上面用inline style来控制他的样式。

Share this post


Link to post
Share on other sites

谢谢,

1,第24行是怎么算的? 因为那边代码太多了 不知道怎么数 你具体说下 放在哪个代码后面吗?

2,还有我在里面加了下这个代码,但是只有第二张图片旁边有出息refer. 第一张图片旁边却没有?要怎么弄 ?

Share this post


Link to post
Share on other sites

  • 3 weeks later...

能设置0。但你的疑问提醒了我。我很怀疑这些weight levels是否存在优先级——又或仅仅是区分而已?

[uPDATED 2010-08-14] SVN里的1.4 branch把0优先级考虑为“忽略”。

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More