Jump to content

Add some products to main menu


compsoul.dev

Recommended Posts

Hello, I just create my own template and I want to add some product to mainmenu.tpl what is the fastest and simplest way to add in the foreach loop two products from current menu category. E.g.

{foreach from=$nodes item=node}
  {import src="product.tpl" category="node.current_id"}
  or
  {getProduct id="node.current_id"}
{/foreach}

  Thank You for help

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