Set Alert Messages for Limits
Last updated
Last updated
Let's see how to set alert messages that are displayed when your customers try to purchase product quantities that are outside the defined min and max limits.
You can customize the message for lower limits to inform your customers to fulfill the minimum purchase limit.
Suppose you have set 2 as the min purchase limit on ties in the Men's Ties collection. For it, you can make the alert message as "You can buy min {%-limit-%} quantities of {%-product_title-%}".
{%-limit-%} =
{%-product_title-%} =
When a customer tries to enter a quantity below the min limit of 2, the system will not allow them to do so and will display the following alert message to the customer.
This field allows you to customize the alert message for upper limits, which informs your customers to purchase products in a quantity below or equal to the set upper limit.
Suppose you have set 4 as the max purchase limit on black ties in the Men's Ties collection. For it, you can compose an alert message like "You can buy max {%-limit-%} quantities of {%-product_title-%}".
{%-limit-%} =
{%-product_title-%} =
When a customer tries to enter a quantity above the max limit of 4, the system won't let them. Therefore, it will display the following dialog box with the customized message.
Here in this field, you can customize the Alert Message for Multiply Qty, informing your customers to purchase products falling in the multiple ranges of the digit set by you.
Suppose you have set the following limits on the scarf products in the Ladies Scarf collection.
Min Limit | Max Limit | Multiply Qty |
---|---|---|
3 | 15 | 3 |
You can draft the alert message like "You can buy {%-product_title-%} in multiples of {%-limit-%} ({%-multiply_sequence-%}) only."
When any customer tries to enter the quantity number, which is not a multiple of 3, the system won't allow them to do so because you've set the Multiply Qty to 3. Therefore, it will display the following dialog box to the customer.
In simple words, your customer will be able to buy products in quantity number that falls under the multiples of 3.
Multiples of 3 = 3, 6, 9, 12, 15, ...
Your customer will not be able to exceed the max limit of 15 even if the number of quantities is a multiple of 3.