简体   繁体   English

如何在Opencart的自定义页面上显示类别模块?

[英]How do i display category module on a custom page in opencart?

I am new in php so i don't know what to do! 我是php新手,所以我不知道该怎么办! For opencart I created a custom page for products.I want to add category module which is provided ready by opencart but i don't know how. 对于opencart,我创建了一个自定义产品页面。我想添加类别模块,该模块由opencart提供,但我不知道如何。 Any idea how to add category module to my custom page? 任何想法如何将类别模块添加到我的自定义页面?

You need to assign your custom page to a layout that displays the categories module. 您需要将自定义页面分配给显示类别模块的布局。

Alternately you can create a new layout just for your custom page, then add the category module to your new layout. 或者,您可以仅为自定义页面创建新的布局,然后将category模块添加到新的布局。

No need to add a custome page for displaying category. 无需添加用于显示类别的自定义页面。 If you entered category from the admin side then front side will be display your category... 如果您是从管理员端输入类别,则正面将显示您的类别...

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

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