RuffRuff Order Limits

Using Variables

Lists the variables available for use in product messages and alert messages.

By inserting variables into your messages, you can dynamically display the values configured in your rules. This means you don't have to rewrite your messages every time you change your restriction settings.

In a product message

  1. Click into the product message input field

  2. Click the Insert variable button (code icon) in the toolbar

  3. Select the variable you want to insert (variables are inserted in {{variableName}} format)

In an alert message

  1. Click into the alert message input field

  2. Select the variable you want to insert from the options above the field (variables are inserted in {{variableName}} format)

Variable

What it displays

Example

Available in

{{minQuantity}}

Minimum quantity

3

Product message / Alert message

{{maxQuantity}}

Maximum quantity

10

Product message / Alert message

{{increment}}

Increment

5

Product message / Alert message

Example: "Please purchase between {{minQuantity}} and {{maxQuantity}} units." → "Please purchase between 3 and 10 units."

Variable

What it displays

Example

Available in

{{minPrice}}

Minimum price

1,000

Product message / Alert message

{{maxPrice}}

Maximum price

50,000

Product message / Alert message

Example: "Purchases of {{minPrice}} or more are available." → "Purchases of $10.00 or more are available."

Variable

What it displays

Example

Available in

{{minWeight}}

Minimum weight (with unit)

500g

Product message / Alert message

{{maxWeight}}

Maximum weight (with unit)

2kg

Product message / Alert message

{{currentWeight}}

Current cart weight

1.5kg

Alert message only

Example: "You can purchase up to {{maxWeight}} of this product." → "You can purchase up to 2kg of this product."

  • Variables must be enclosed in {{ and }}

  • Variable names are case-sensitive ({{maxQuantity}} is valid; {{MaxQuantity}} is not)

  • If the corresponding value is not configured, the variable name will be displayed as-is