Jump to content

[solved] Which function is used to display category products in product-list.tpl


Recommended Posts

Hi, i have to customize the categories products page. i am unable to find which function is rendering the products. I have found a function named getProducts() in classes/category. But any changes i made in it does not have any effect on the page.i removed function body but it is still displaying the products.

Please guide me which function is used to display category products.

Link to comment
Share on other sites

I'm not sure if I understood your question well, but as I read it you want to know where the actual HTML page is built for the category with it's list of products for that category?

 

That is done in /themes/<your theme folder>/product-list.tpl

This does the actual building of the listed items (products) of the chosen category etc.

 

If I totally misunderstood, please elaborate a little.

 

My 2 cents,

pascal

Link to comment
Share on other sites

done (marked as solved)

 

here is an instruction:

 

To mark a topic as [solved] :

- Edit the first post of your topic by clicking on the "Edit" button,

- Click on the "Use full editor" button,

- Add the "[solved]" string at the beginning of your topic title and click on the "Submit Modified Post" button.

 

dear @sheraz4pro in the future, please follow these steps, we will be gratefull

Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...