Jump to content

Configuration page - I need 2 categories trees - Pagina de configuración - necesito 2 arboles de categorias


Recommended Posts

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, 
						) 
					),

 

image.thumb.png.52eebed263541d57fc44ea6a35da30a3.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...