Jump to content

Get categories/subcategories from Smarty API


ex625

Recommended Posts

Hello guys,

 

I have a question...

 

How i can get using ready Smarty Presta API ( inside .tpl file):

 

1. Full list of categories

2. List of subcategories from specifed category

3. Random product(or Last product, or most viewed) from specifed category

 

I know that i should probably use loop like {foreach} but i don't know what array i shoud iterate

 

Can you help me?

I want modify some .tpl files and need it.

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