Jump to content

如何更改产品目录?


Guest Steven_king
 Share

Recommended Posts

大家好,

我网站服务器的管理员打了几次电话,说我的网站占用了他们服务器太多的资源, 可能是网站目录太多引起的,

因此想改目录显示方式,请教:


如何让母目录显示在横向导航栏里,而每个母目录对应的子目录显示在原来的CATEGORIES BLOCK里,在导航栏里点击一个目录里CATEGORIES BLOCK 只显示对应的子目录.


网站:[Fake website - Moderated by Patric]

Share this post


Link to post
Share on other sites

我不认为,修改Blockcategories的结构能解决问题。有论坛的帖子已指出Blockcategories是prestashop的性能瓶颈之一。搜索这方面的帖子,也许对你有帮助。

Share this post


Link to post
Share on other sites

因为你要求的效果需要通过修改smarty和javascript在前端实现(Not a cake walk though),而prestashop“越来越慢”的原因在于若干“子程序”冗繁的执行,所以在这里,是两个cases。

官方正在解决“越来越慢”的问题。如果你能提交这个问题的bug report,会对官方Team有帮助。 :)

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