Luccas Posted August 2, 2014 Share Posted August 2, 2014 Hi, please help me with the following issue. I need to retrieve a list of categories from db - only main, no subcategories. Also, if I had a link to a page that would be great. Can sb guide me or show the way how to get it. Moreeover need sth like: <?php // code for retrieving the category list ?> <select> <option> Category Name N </option> <option> Category Name N+1 </option> </select> Thx in advance for help a lot. Link to comment Share on other sites More sharing options...
vekia Posted August 2, 2014 Share Posted August 2, 2014 you can check how the blockcategories works there is a code to: 1) get list of categories (with selected number of categories) 2) to display these lists in front office (.tpl files) Link to comment Share on other sites More sharing options...
Recommended Posts