RuffRuff Order Bonus

Display Settings (Discount Campaign)

Configure how your campaign appears on your online store via widget, product message, badge, and more.

Display settings let you configure how active campaign information is shown to customers. You can control the display method, content, display period, and display conditions per campaign.

Toggle each display method on or off.

Setting

Description

Show in widget

Displays campaign information inside the widget on your online store.

Show product message

Displays campaign information on product pages. Target products can be filtered.

Show badge on product cards

Displays a badge on product cards (e.g., in collection pages) during the campaign period only. Target products can be filtered.

Display position

A number that controls the order when multiple campaigns are shown. Lower numbers appear first. Shown when widget, product message, or product card badge is enabled.

To enable the widget or product message, the app embed must be activated in the theme editor.

The copy button can only be configured when "Manual" is selected as the application method in the campaign overview.

Configure the text shown in the widget and product message. These fields appear when the widget or product message is enabled.

Setting

Description

Campaign title

The campaign title displayed in the widget.

Campaign description

The campaign description displayed in the widget.

Copy button

The label for the button that copies the discount code (manual campaigns only).

Badge

Available when widget, product message, or product card badge is enabled. Configure a badge for each of the 3 campaign states.

State

Description

Before period

Badge shown before the campaign starts.

During period

Badge shown while the campaign is active.

After period

Badge shown after the campaign ends.

Badge settings per state:

Setting

Description

Text

The text displayed on the badge.

Background color

The background color of the badge.

Text color

The text color of the badge.

Shape

Choose from: Square / Pill / Tag (notched) / Custom (specify border radius in px).

Product message

Available when product message is enabled.

Setting

Description

Product message (text)

The message shown on product pages. Supports variables (see table below).

Icon

The icon displayed alongside the message.

Variables available in product messages

Use {{variableName}} format to insert dynamic values into your message text.

Variable

Format

Description

When available

Original product price

{{productPrice}}

The product price before discount (current variant price).

Only when a product discount is configured.

Discounted product price

{{productDiscountedPrice}}

The product price after discount is applied (current variant price).

Only when a product discount is configured.

Example:

Plaintext
Regular price {{productPrice}} → Special price {{productDiscountedPrice}}

Specs:

  • Variables must be wrapped in {{ and }}.

  • The same variable can be used multiple times in one message.

  • Undefined variable names are displayed as-is (e.g., {{variableName}}).

  • Prices are formatted according to the store's currency and locale.

  • Prices update in real time when the customer switches variants.

{{productPrice}} and {{productDiscountedPrice}} are only available in campaigns with a product discount configured. They display as empty strings in order-only, shipping-only, or gift campaigns.

Set the period during which the campaign is shown on your online store.

Setting

Description

Follow active dates

Show the campaign during the same period as the campaign's active dates.

Specify display period

Set a separate display period independent of the active dates.

Using "Specify display period" lets you show a teaser before the campaign starts or keep the campaign visible for a period after it ends.

Set conditions to show the campaign only to specific customers. If no conditions are set, the campaign is shown to all customers.

The available conditions are the same as the campaign's eligibility conditions. If a customer metafield condition is used, the namespace and key must be configured.