Jump to content

How to output list of products pertaining to the appropriate category(specified by me) on home page?


dazfx

Recommended Posts

How to output list of products pertaining to the appropriate category(specified by me) on home page?

The code below outputs products of choose by link category:
{foreach from=$products item=product name=type}
....
{/foreach}

I need to choose category manually by id or name of category

Could you give an example code on the smarty?

Thanks!

Link to comment
Share on other sites

I’m interested in how to output specific category content without any modules. Exactly, which code to insert before
{foreach from=$products item=product name=type}
to indicate from which category outputs products.

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