Product (property) block
Updated today
The Product (property) block collects custom buyer input on the product page, letting shoppers enter text or check a box that is saved as a custom property on the product. In the theme editor, add the Product (property) block to a section to place the field.
Settings
The block offers a text field or a checkbox. When you set Input type to Text, only the text options apply; when you set it to Checkbox, only the checkbox options apply.
Setting | Description | Default |
|---|---|---|
Enable color scheme | Turns on the block's color scheme. The scheme applies only when enabled and a scheme is chosen. | Off |
Color scheme | The color scheme applied to the block. Shown only when Enable color scheme is on. | Scheme 1 |
Heading | The heading shown above the field. | Custom property |
Description | Supporting text shown under the heading. | Optional description |
Property key | The identifier of the custom property that stores the value the shopper enters. | custom_property |
Input type | Whether the shopper enters free text or checks a box. | Text |
Max length | The longest text allowed, from 25 to 250 in steps of 5. Shown only when Input type is Text. | 100 |
Placeholder | Hint text shown in the field, which is a single line for a max length of 45 or less and a multi-line textarea above 45. Shown only when Input type is Text. | Enter text |
Checkbox label | The label shown next to the checkbox. Shown only when Input type is Checkbox. | Yes, please |
Required | Whether the shopper must complete this property before adding the product to the cart. | Off |
Margin top (Desktop) / (Mobile) | Space above the block, from 0 to 34. | 0 |
Hide block on desktop / on mobile | Hides the block on the chosen device. | Off |