Jump to content

How include some categories to category's screen?


maiskiykot

Recommended Posts

Your description is not very precise.

Main template for categories is here: "/themes/your_theme/templates/catalog/listing/category.tpl".

Controller is here: "/controllers/front/listing/CategoryController.php".

Normally you can prepare custom products inside controller, pass it as smarty variable to the template and display it.

 

Here you can find some additional controller and some useful functions: "/classes/controller/ProductListingFrontController" and function "prepareProductForTemplate()".

Link to comment
Share on other sites

On ‎11‎/‎3‎/‎2020 at 1:47 PM, rrataj said:

Your description is not very precise.

Main template for categories is here: "/themes/your_theme/templates/catalog/listing/category.tpl".

Controller is here: "/controllers/front/listing/CategoryController.php".

Normally you can prepare custom products inside controller, pass it as smarty variable to the template and display it.

 

Here you can find some additional controller and some useful functions: "/classes/controller/ProductListingFrontController" and function "prepareProductForTemplate()".

I tried correct this files. Not changes

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...