Jump to content

Edit History

cscreenstore

cscreenstore


Additional Information

Hello,

Can somebody explain to me the requirements for:

type_categories
name_category

that are found in the following:

array(

'type' => 'categories',

'label' => 'tree categories',

'name' => 'type_categories',

'tree' => array(

'root_category' => 1,

'id' => 'id_category,

'name' => 'name_category',

'selected_categories' => array(3),

),

),

The reason for my asking is that I am experiencing a problem with the category tree in my custom module. When I make a selection by clicking the checkbox, the blue tick shows, but when I click the save button the blue tick disappears, however the selection temporarily works.

Additional Information;

The Switch buttons are also not working, but the mColorPicker is working.

I am using Prestashop 1.7.6.7

Any help will be appreciated.

Thanks

Kathleen

cscreenstore

cscreenstore

Hello,

Can somebody explain to me the requirements for:

type_categories
name_category

that are found in the following:

array(

'type' => 'categories',

'label' => 'tree categories',

'name' => 'type_categories',

'tree' => array(

'root_category' => 1,

'id' => 'id_category,

'name' => 'name_category',

'selected_categories' => array(3),

),

),

The reason for my asking is that I am experiencing a problem with the category tree in my custom module. When I make a selection by clicking the checkbox, the blue tick shows, but when I click the save button the blue tick disappears, however the selection still works.

I am using Prestashop 1.7.6.7

Any help will be appreciated.

Thanks

Kathleen

×
×
  • Create New...