gerry293 Posted July 12, 2010 Share Posted July 12, 2010 Hi, the title says all...I have been trying to change the codes from here and there but without success.I do need the category list to appear because when u click on first category it shows only pictures of subcategories and no products. I do not want to put products there.Anyone can help with the coding that needs to be changed ?Thanks! Link to comment Share on other sites More sharing options...
gerry293 Posted July 12, 2010 Author Share Posted July 12, 2010 Well i just added : {if $subcategories} {include file=$tpl_dir./product-list.tpl products=$products}so Solved Link to comment Share on other sites More sharing options...
gerry293 Posted July 12, 2010 Author Share Posted July 12, 2010 actually its making a big mess when 1 category as both the products and subcategories in it...Anyone has the right coding ? Link to comment Share on other sites More sharing options...
gerry293 Posted July 12, 2010 Author Share Posted July 12, 2010 Ok got it solved now : {if $products} {include file=$tpl_dir./product-list.tpl products=$products} {else} {include file=$tpl_dir./product-list.tpl products=$products} {/if} 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