Picker
This field allow you get data from Shopify store, Example: Get list products,collections,menu ....
Arguments
Name
Type
Value
Description
type
string
picker
The type of setting
name
string
{field_name}
The unique name will be used in template
label
string
(optional)
The label that appears above of the setting field.
description
string
(optional)
The description that appears above under of the setting field.
tooltip
string
(optional)
The long description that appears on the tooltip when hover on.
value
object
(optional)
The default value will be used for the first time.
on
object
(optional)
Add listener events for setting field
options
object
required
{
"button_text": 'Browse menu',
"multiple": false, /* Allow select multi items */
"search": true, /* Customer can search items */
"type": 'menu', /*
menu,collection,product,page,blog,article
*/
"title": 'Menu',
"layout": 'list', /* gird,list */
"default": 'main-menu'
}
Code example for
Code example for
Last updated