Show a strikethrough price with a discount badge

A crossed-out price next to the real one makes the discount visible at a glance. This recipe reworks a yearly product card to show what the subscription would cost per month on the monthly plan — struck through — next to the yearly plan’s effective monthly price, topped with a discount badge.

Strikethrough formatting applies to a whole text element — you can’t cross out a variable inside a larger text. That’s why the crossed-out price lives in its own text element, side by side with the discounted price in a horizontal container.

Yearly product card before and after: a single yearly price line vs. a crossed-out monthly price, the yearly plan's monthly price, and a Save 75% badge

Before you start

  • Build a paywall screen with products — for example, follow Create a basic paywall screen. This recipe assumes the paywall offers a yearly and a monthly product.

1. Stack the price rows

The yearly card starts with a single price line — the yearly product’s prod_price variable followed by /year, which renders as, for example, $29.99/year. Add a second line above it for the monthly pricing.

  1. In the Layers panel, select the price text inside the yearly product card. It already sits in the card’s vertical container, so the copy will stack under it.
  2. Click the three-dot menu on the layer and choose Duplicate. The copy appears below the original. In the next step, the top text becomes the monthly price row; the bottom one keeps the yearly price.
Duplicated price text stacked under the original inside the yearly product card

2. Split the monthly row into two prices

The monthly row holds two text elements: the crossed-out monthly-plan price and the yearly plan’s per-month price.

The variable picker only offers prices of products that are present on a flow screen. To reference a product that isn’t in the flow, create an empty screen, add a Products element there, and assign the product to it. Make sure no navigation action leads to that screen.

  1. Select the top text element, click its three-dot menu, and choose Wrap > Wrap in Horizontal Container.

  2. Click the three-dot menu on the text layer inside the new container and choose Duplicate.

    Layers panel with the top price text wrapped in a horizontal container and duplicated
  3. Select the first text element and clear its Content field. Click the variable icon Variable icon, pick the monthly product, then pick its prod_price_per_month attribute. Type /month after the variable.

  4. On the Design tab, under Typography, set Decoration to Strikethrough (see Element styling — Decoration).

  5. Select the second text element and replace its content the same way, but pick the yearly product’s prod_price_per_month attribute. Type /month after the variable.

Two price texts side by side with the monthly product's price struck through and the yearly per-month price next to it

3. Tone down the yearly price

The duplicated monthly prices inherited the original price styling, so all three prices currently share the same size and weight. Make the yearly price more subtle so the monthly row stands out.

  1. On the canvas, select the bottom text element — the yearly price.
  2. In the toolbar above the element, open the text style dropdown and pick a subtler style — for example, Caption. Or, select a different style under Typography on the Design tab.
Yearly price text selected on the canvas with the Caption style picked in the floating toolbar

4. Add the discount badge

The badge highlights the saving next to the prices.

  1. Click + > Badge.
  2. In the Layers panel, drag the badge inside the yearly product, between the vertical container with the prices and the radio button.
  3. Select the badge’s text layer and edit the Content field — for example, Save 75%.

There’s no variable for the discount percentage — calculate it from your prices and enter it as static text.

Badge with Save 75% text placed between the price column and the radio button in the yearly product card

Now the yearly card anchors its price against the monthly plan: the crossed-out monthly price, the yearly plan’s effective monthly price, and the discount badge sit on one line, with the full yearly price below.

Finished yearly card with the crossed-out monthly price, discounted monthly price, Save 75% badge, and the yearly price below

Next steps