A product message is a message displayed below the Add to cart button on the product page. Use it to inform customers of purchase restrictions in advance.
Enter your message in the Product message card on each rule's edit screen. If left blank, no message will be displayed.
If a rule specifies a target collection under “Specific collection,” the product message will be shown on all variants of the target product, even if the collection includes only some of that product's variants. This is a limitation on Shopify's side, and we've already requested an improvement from Shopify.
Example: Apparel product A (variants: S, M, L) — if you set a target collection that includes only the S variant, the product message will be shown on all of S, M, and L (even though the limit actually only applies to S).
You can insert variables into your message to dynamically display the values configured in your rule.
Example: "You can purchase up to {{maxQuantity}} of this product." is displayed as "You can purchase up to 5 of this product."
For a full list of available variables, see "Using Variables."
The position, text color, background color, and border of product messages can be customized from the Settings page in the app (font size cannot be changed). Changes apply to all product messages across all rules at once.
Steps:
Click Settings in the left menu of the app
Adjust the placement and colors of the product message
Click Save in the upper right corner