gusman126 Posted January 24, 2019 Share Posted January 24, 2019 Tengo un problema , quiero tener varios arboles de categorias en la pagina de configuración, cuando añado 2 o mas, todos tienen el mismo id I have a problem, I want to have several category trees in the configuration page, when I add 2 or more, they all have the same id array( 'type' => 'categories', 'tab' => 'spain', 'label' => $this->l('Parent category', array(), 'Admin.Catalog.Feature'), 'name' => 'CDISCOUNT_ECOM_CATEGORIES_LIST_SPAIN', 'tree' => array( 'id' => 'spain-categories-tree', 'use_checkbox' => true, 'selected_categories' => $this->categoriassp, 'use_search' => true, ) ), array( 'type' => 'categories', 'tab' => 'spain', 'label' => $this->l('Parent category', array(), 'Admin.Catalog.Feature'), 'name' => 'CDISCOUNT_ECOM_CATEGORIES_LIST_fff', 'tree' => array( 'id' => 'fff-categories-tree', 'use_checkbox' => true, 'selected_categories' => $this->categoriassp, 'use_search' => true, ) ), 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