Jump to content

How to display products from a specific category in a custom page?


Recommended Posts

Hi everyone,

I'm struggling a bit to display all the products from a specific category in a tpl file. For instance, i'd like to show all the products from the category with the id "3".

since the following code shows the featured products, i guess it's not far from it :

{foreach from=$products item="product"}
      {include file="catalog/_partials/miniatures/product.tpl" product=$product}

I tried something like that, without success.

{foreach from=$products item="product"}
           {display the grid of the products from category 3 product=$product}

Does any kind soul has the solution to this ?

Many thanks


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...