简体   繁体   English

按类别选择所有产品

[英]Selecting All Products In Order By Category

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 category that they are in. How could I achieve this? 我使用的是OpenCart 1.5,我的一般类别是巫婆,可以很好地显示产品,但是我创建了一个名为* 查看全部*的ID,它的ID为65。选择此类别后,它可以显示所有罚款的产品,但不按顺序显示他们所在的类别。我该如何实现?

I have a feeling the adjustment will be made to the getProducts function 我感觉将对getProducts函数进行调整

I have posted my MVC Here 我已经在这里发布了我的MVC

老实说,我对OpenCart并不熟悉,但是在我看来,如果您只需要为一个类别订购特定的订单,就可以对getProducts函数进行一点点修补,以解决该特定情况。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM