Jump to content

【已解决】如何删掉首页产品描述


babylonjudge
 Share

Recommended Posts

用的是ps1.2.5版本 模板是默认的
首页下面的featured products 太长了
想把产品描述删掉
不知道如何删除
找到THEME下的Global.css 找到这段代码
修改height后无效

#center_column .products_block ul .product_accessories_description {
   margin:0;
   padding:0;
   height:280px; 


(后台可以找到去掉那些description的 但是这部分我想保留 只是不要显示在首页的那一块就可以了)
请前辈们帮忙解答 thx

22576_2XDi7VLUMHcqtmMrRz7X_t

22577_Nrgy9HIRn0OCAzGoF7Ff_t

Share this post


Link to post
Share on other sites

1. 备份后修改/modules/homefeatured/homefeatured.tpl,用{* 注释 *}掉下面这行代码(像这样):

{* 
{$product.description_short|strip_tags|truncate:130:'...'} *}



2. 清空smarty cache后再测试。

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