Attachment Indicator
Last updated
Last updated
Renders a message on a minicart product item when the product has an attachment.
attachment-indicator
propsProp name | Type | Description | Default value |
---|---|---|---|
|
| Name (can be partial) of attachment whose message will be rendered | undefined |
|
| IDs of your choosing to identify the block's rendered message and customize it using the admin's Site Editor. Learn how to use them accessing the documentation on Using the Markers prop to customize a block's message. Notice the following: a block's message can also be customized in the Store Theme source code using the message prop. | [] |
|
| Defines the block's default text i.e. the block message. | "{name} - {price}" |
message
prop variablesMessage variable | Type | Description |
---|---|---|
|
| Name of attachment |
|
| Price of the attachment |