Back to Website
Show / Hide Table of Contents

PIM design selector

  • Last updated on December 29, 2023
  • •
  • Less than a minute to read

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

Name Type Description Default value
designs ProductInformationDesign[] Contains design variants empty array
showItemsTitle boolean If true, displays a title below a thumbnail false
itemsPerPage number Defines the quantity of thumbnail per page 24
onChange function A function or array of functions that will be executed when an item is changed null
onItemDoubleClick function A function or array of functions that will be executed when an item is double-clicked null
onItemClick function A function or array of functions that will be executed when an item is clicked null
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback