Jump to content

如何在产品内容下显示?


Recommended Posts

当产品没有价格时,在产品内容的最下方添加某句话“##########”,当产品有价格时,就不添加这句话。
请问如何实现。谢谢

Share this post


Link to post
Share on other sites
  • 3 weeks later...

“没有价格”的产品是无法上架的哦。“没有价格”指的是价格等于0吧?需要修改product.tpl,加入一个{if}的判断来实现。

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
×
×
  • Create New...

Important Information

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