Abh Posted October 31, 2012 Share Posted October 31, 2012 Hi. I have an image, actually a QR code on my left column, and i only want it to show on a certain category, its subcategories, and its products. Now, it's easy to make it show on category 455, but i'm lost when we're talking about 455's subcategories and the products those contain. I'm sure some of you know the code better and can help me with some ideas. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted October 31, 2012 Share Posted October 31, 2012 Hi, I think that you need look to Category class, for example methods getParentsCategories(), getProducts() and implementation of getWsNbProductsRecursive() Regards Link to comment Share on other sites More sharing options...
WIZZAH Posted January 10, 2013 Share Posted January 10, 2013 Is the content of getParentsCategories() available in Smarty already for use in some loop? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted January 11, 2013 Share Posted January 11, 2013 Hi, it function is defined as public function getParentsCategories($id_lang = null) it's means that you may using it in smarty via $catgory object Regards 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