开发者

Selecting All Products In Order By Category

开发者 https://www.devze.com 2023-04-05 20:51 出处:网络
I am using OpenCart 1.5 and I have my general categories witch displays the products fine but I have created a category called *View All * this has an id of 65. When this category is selected it displ

I am using OpenCart 1.5 and I have my general categories witch displays the products fine but I have created a category called *View All * this has an id of 65. When this category is selected it displays all products fine but not in order of what开发者_如何学Python category that they are in. How could I achieve this?

I have a feeling the adjustment will be made to the getProducts function

I have posted my MVC Here


I'm honestly not familiar with OpenCart, but it seems to me that if you need that specific order just for one category , you could patch up your getProducts function just a tiny bit to resolve it for that specific situation.

0

精彩评论

暂无评论...
验证码 换一张
取 消