Skip to main content

PIM Design Selector

This widget shows designs for products configured in the PIM module and allows you to select one of them.

{
"name": "design-selector",
"type": "pim-design-selector",
"params": {...}
}

Getting Design Variants

The designs property shows design variants. You can obtain these designs through the PIM Ajax widget.

The PIM design selector widget.

note

If you use this widget in the toolPanel or rightToolPanel, embed it in the group widget. To learn more about this widget, read the Group article.

{
"name": "design-selector",
"type": "pim-design-selector",
"params": {
"designs": "{{ $['pim-ajax'].designs }}"
}
}

Params

NameTypeDescriptionDefault value
designsProductInformationDesign[]Contains design variantsempty array
showItemsTitlebooleanIf true, displays a title below a thumbnailfalse
itemsPerPagenumberDefines the quantity of thumbnail per page24
onChangefunctionA function or array of functions that will be executed when an item is changednull
onItemDoubleClickfunctionA function or array of functions that will be executed when an item is double-clickednull
onItemClickfunctionA function or array of functions that will be executed when an item is clickednull
Was this page helpful?