compsoul.dev Posted September 5, 2022 Share Posted September 5, 2022 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now