a064855 Posted May 13, 2014 Share Posted May 13, 2014 I am making a payment gateway and It could happen that depending on the shop manager, taxes maybe already included in the price, or not. So, when included, the tax field would be 0 and I need to get the price value without the tax. I came up with the idea of making a categories tree in the module back office where the shop manager may specify each category tax, so if it's included in the price, I can calculate it looking what category the product belongs to. My problem, I do not know how to display the categories tree in the back office. How can I do it? Link to comment Share on other sites More sharing options...
joseantgv Posted April 29, 2016 Share Posted April 29, 2016 You can use the renderCategoryTree method of the Helper class (classes/helper/Helper.php): $helper = new Helper(); $categoryTree = $helper->renderCategoryTree(); Link to comment Share on other sites More sharing options...
jafakash cp Posted June 17, 2016 Share Posted June 17, 2016 You can use the renderCategoryTree method of the Helper class (classes/helper/Helper.php): $helper = new Helper(); $categoryTree = $helper->renderCategoryTree(); I tried this but category tree is not listed . Is there any changes needed in my configuration.tpl file Link to comment Share on other sites More sharing options...
Recommended Posts