Jump to content

Show a category listing customized by id


Recommended Posts

I want to display a category listing selected by ID within a category.

 

In category.tpl

 

{if 'MY CONTIDION'}

 

SHOW PRODUCTS FROM CATEGORY X

{include file="./product-list.tpl" products=$products category=$X}

 

{/if}

 

Something like that

 

Note1: I would like to show with a limit of 30 products and at random in the category.

Note2: Do not ask me why.  It's just a crazy thing. =)

 

I thank you for your help. <3
Edited by bedigital (see edit history)
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...