顶部菜单上的 prestashop 产品 [英] prestashop products on top menu
问题描述
我对 prestashop 不太熟悉,所以我无法解决我的问题:
I am not very good with prestashop so i can not resolve my problem:
我需要创建一个包含子类别和产品(如图像)的下拉菜单.
i need to creare a drop down menu with sub category and products (like image).
这是我的情况,你怎么能我已经创建了子猫,现在我需要显示类别的产品,比如第一张图片.我刚刚在网上搜索了任何解决方案,但我没有找到它(或者我使用了wearg 关键字).我现在这是可能的,因为第一个屏幕是我正在使用的主题演示:
This is my situation, how you can you i have created sub-cat and now i need to show the products of categories, like first image. I have just searched in the web about any solution but i have not found it (or i have used worng keywords). i now this is possible because the first screen, is the demo of theme that i'm using:
预先感谢您为我花时间:)
Thank you in advance to spending time for me :)
推荐答案
对于每个类别调用 getProducts
方法,它将为您提供类别内的所有产品.
for each category call getProducts
method, it will give you all products inside category.
这篇关于顶部菜单上的 prestashop 产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!