liufeng Posted April 1, 2011 Share Posted April 1, 2011 如何实现显示全部商品,谢谢! Link to comment Share on other sites More sharing options...
liufeng Posted April 1, 2011 Author Share Posted April 1, 2011 我想在导航栏加个链接,显示全部商品,怎么弄呢,哪位指点下,谢了! Link to comment Share on other sites More sharing options...
liufeng Posted April 6, 2011 Author Share Posted April 6, 2011 其实挺简单的,就是仿照分类页面,改下sql条件就行了 Link to comment Share on other sites More sharing options...
21846657 Posted April 20, 2011 Share Posted April 20, 2011 最简单的方法是,将所有产品加入一个一级分类(如All Products)里,然后在导航栏加入该分类的链接。也可以修改/classes/Product.php,加入处理所有产品的function,然后再写个根目录文件call那个function以显示所有产品。 Link to comment Share on other sites More sharing options...
liufeng Posted April 20, 2011 Author Share Posted April 20, 2011 最简单的方法是,将所有产品加入一个一级分类(如All Products)里,然后在导航栏加入该分类的链接。也可以修改/classes/Product.php,加入处理所有产品的function,然后再写个根目录文件call那个function以显示所有产品。 我知道将所有产品加入到一个分类,但是prestashop有个不好的就是,只能产品选择分类,分类里不能选择商品,商品一多就很麻烦的不是吗,添加一个商品还有选择all products分类请问你说的call文件在哪呢,根目录是没有的,谢谢! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now