Product

This field will allow you to Search for products in your Storefront and will return an object with the product's handle and title.

Product Field
{
  component: 'productSearch',
  name: 'productName',
}

Key

Type

Required

Description

component

string

yes

The name of the field component. (productSearch)

name

string

yes

The name of the field that will be accessible by the cms prop of the component.

The return value will be an object of the selected product's handle and title.

{
    handle: "city-bike-rack",
    title: "City Bike Rack"
}

Last updated