Jump to content

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


R.Shredder
 Share

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}
    {/foreach}

I tried something like that, without success.

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

Does any kind soul has the solution to this ?

Many thanks

 

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More