Skip to content
  1. Extras
  2. PageBuilder
  3. Field types
  4. Pro
  5. products

Field products

Version: Pro, capability minishop3.

The inspector accepts ids separated by commas. Section data stores a string array. Without miniShop3 the type is not offered for a new field.

Schema

json
{
  "name": "product_ids",
  "type": "products",
  "label": "Products"
}

Section data

json
{
  "product_ids": ["12", "18", "24"]
}

Chunk example

html
{foreach $product_ids as $id}
  <span>{$id|escape}</span>
{/foreach}

Similar types