Urgency, scarcity and persuasion: what works and what the law allows

TL;DR

Difficulty: Intermediate

Persuasion is lawful in Ireland when the claim is true, specific and current.

  • A countdown must read the offer's real end time, with no similar offer straight after.
  • "Only 3 left" must come live from stock, and stay silent when a delivery is due soon.
  • A popularity count must match its product and time frame exactly, without a false "hurry".
  • Every price reduction shows the lowest price of the last 30 days, and the percentage is calculated from it, so keep a price log.
  • Pre ticked paid extras are an offence, and "free" must mean free.
  • Judge every tool on contribution after returns, not clicks.

Every shop persuades, and most of it is grand. This chapter takes the tools one at a time, from countdowns to free gifts, shows what the research says each does, where Irish law draws the line, and how an invented homeware shop in Limerick rebuilds six risky claims so each one reads the truth from its own database.

Persuasion is lawful when it tells the truth at the moment of choice

Every shop persuades. A product photo in good light persuades. So does a delivery date, a review, a sale price and a line that says "only 3 left". None of that is wrong. The trouble starts when the line is not true, or when it is true but built to rush someone past a decision they would otherwise think about.

This chapter answers one question: which persuasion tools may I use, and where is the legal line? It takes the tools one at a time, says what the research shows each one does, what Irish law says about it, and how to build the honest version so the claim comes from your own data and stays true by itself.

A few terms first, so nobody is left behind.

  • An urgency claim is anything that tells people to act soon: a countdown timer, "sale ends tonight", "selling fast".
  • A scarcity claim says there is not much left: "only 2 in stock".
  • A popularity claim says other people want it: "38 bought this week", "12 people are looking at this".
  • A reference price is the higher price a sale price is compared with: "was €104, now €79".
  • A prohibited practice is one the Consumer Protection Act 2007 lists in section 55 as banned in every case, with no test of its effect. A misleading practice is judged case by case: would it likely deceive the average consumer and change their decision?

This chapter follows the maths behind every discount, which decides whether an offer makes money. Here the question is how you may present it. Three earlier articles go deep on the psychology: scarcity, urgency and loss aversion, pricing psychology and social proof and trust. Dark patterns and the law covers consent screens and cookie banners. I do not repeat them. This chapter adds the precise legal tests, the enforcement, the build guidance and the measurement.

One plain statement first: this is general information about the law, not legal advice. When a campaign carries real risk, talk to a solicitor who knows consumer law.

Example: six claims on Shannonside Home's product pages

Shannonside Home is the invented homeware shop that runs through this series: ceramics, kitchen textiles, lamps and small furniture, sold from Limerick at shannonsidehome.example, about 1,400 products. Niamh owns it, Callum is her developer. Its baseline numbers: 110,000 sessions a month, a conversion rate of 1.8%, an average order value of €84, a gross margin of 52% on product, and 9% of orders returned.

Niamh asks Callum to list every persuasion element the shop shows today. He finds six.

  1. A red countdown on every sale product: "Sale ends in 04:12:33". It counts down to midnight and starts again the next day.
  2. "Only 3 left" on 40 products. A theme setting shows it whenever stock tracking is switched off, so the number is fixed text.
  3. "12 people are looking at this right now". A plugin generates it from page views in the last 24 hours.
  4. "Was €104, now €79" on the Alder table lamp, which sold at €104 for two weeks after launch and at €79 for five months since.
  5. A pre ticked box in the checkout: "Add the ceramic care kit for €7".
  6. "Free tote bag with every order", while the delivery charge went up by €2 in the same week.

By the end of the chapter each of the six is either fixed or gone, and Niamh knows which ones earned their place.

The law in one picture: a banned list, a fairness test and a few special rules

In Ireland the rules on unfair commercial practices sit in the Consumer Protection Act 2007, which carries the EU Unfair Commercial Practices Directive (2005/29/EC) into Irish law, amended since by the Consumer Rights Act 2022.1 The structure has four layers, and it helps to know which layer a tool falls into.

  1. The prohibited list. Section 55 of the 2007 Act lists practices a trader "shall not engage in".2 For a shop, four matter most: a false representation that a product is available only for a limited time, or on particular terms for a limited time, to get an immediate decision (paragraph (n)), a representation that is inaccurate to a material degree about market conditions or the possibility of finding the product (paragraph (t)), describing a product as "free" when the consumer has to pay more than the necessary and reasonable cost of responding and delivery (paragraph (h)), and fake reviews or reviews presented as genuine without reasonable checks (paragraphs (za) and (zb), added by the Consumer Rights Act 2022).2 3 If a practice is on the list, nobody asks whether it changed anyone's decision.
  2. Misleading practices. Section 43 covers false information and presentations that deceive, section 46 covers leaving out or hiding material information. Both ask whether the average consumer would likely take a different decision.4
  3. Aggressive practices. Section 53 covers harassment, coercion or undue influence that significantly impairs the average consumer's freedom of choice.4
  4. Special rules. Regulation 5A of the price indication regulations requires the lowest price of the last 30 days on every announced price reduction, and section 123 of the Consumer Rights Act 2022 requires express consent for any extra payment.

The Competition and Consumer Protection Commission (CCPC) enforces these rules. Several of them are criminal offences, among them failing to state the prior price in a price reduction and taking an extra payment without express consent.5 6

ToolMain Irish ruleWho enforces
Deadlines and countdownsConsumer Protection Act 2007, section 55(1)(n), section 43CCPC
Low stock and demand messagesSection 55(1)(t), section 43CCPC
Reviews and ratingsSection 55(1)(za) and (zb)CCPC
Reference pricesPrice indication regulations, regulation 5A, section 43CCPC
Pre ticked paid extrasConsumer Rights Act 2022, section 123CCPC, the customer (refund)
"Free" offersSection 55(1)(h)CCPC

Example: sorting Shannonside's six claims into the layers

Callum maps each claim to a layer. The resetting countdown is a candidate for the prohibited list (section 55(1)(n)), because the sale does not end at midnight. The fixed "only 3 left" is materially inaccurate information about availability (section 55(1)(t)) and a misleading practice. The "12 people looking" figure is literally made from real data, but over the wrong time frame, which makes it misleading under section 43. The lamp's reference price falls under regulation 5A and section 43. The pre ticked care kit breaks section 123 of the 2022 Act. The free tote is a section 55(1)(h) risk if the €2 delivery rise pays for it.

Five of six claims sit in the two layers where the regulator does not need to prove much. That is the usual picture, and it is why the fix is mostly engineering: make every claim read from data that makes it true.

What the evidence says persuasion actually does

Before deciding what to keep, it is worth knowing what these tools do when they are honest. The best single summary for a shop owner comes from the UK's Competition and Markets Authority (CMA), whose evidence review of online choice architecture from April 2022 reads the research across dozens of studies.7

Its findings, in plain words:

  • Scarcity claims often raise the perceived value of a deal, the intention to buy, and shorten the search. One online field experiment with more than 1,000 users found that both low supply and high demand messages raised clicks on the add to basket button.7
  • Limiting the time of a promotion accelerated purchases in experiments and supermarket scanner data, and reduced searching for more information.7
  • The effect depends on context. In two large online experiments, combining low supply and limited time messages did not raise acceptance of a subscription at all. In a travel experiment, urgency worked on a hotel platform with free cancellation and not on a peer to peer platform where cancelling cost money.7

That last finding matters for any shop. Urgency works best where the customer can easily undo the decision. Online shoppers in Ireland have a 14 day right to cancel, so a sale you rushed out of someone may come back as a return.8 Keep that in mind for the measurement section.

How common is the dishonest kind? Researchers at Princeton crawled about 53,000 product pages on about 11,000 shopping websites in 2019. They found 1,818 instances of dark patterns, and 183 websites using outright deceptive ones.9 Of 393 countdown timers they found, 157 on 140 websites were deceptive: the timer reset, or the offer stayed after it ran out. Of 632 low stock messages, 17 were deceptive, and 16 of those decreased the stock number on a fixed schedule. They also found 22 third party providers selling such patterns as ready made plugins.9

In January 2023 the European Commission and national consumer authorities checked 399 online shops by hand. 148 used at least one of three manipulative practices: 42 used fake countdown timers, 54 steered people towards choices by design or wording, and 70 hid important information such as delivery costs.10

Results of the European Commission and national consumer authorities' check of 399 online shops in January 2023. 148 shops used at least one manipulative practice. 70 hid or obscured important information, 54 steered consumers towards certain choices, and 42 used fake countdown timers. Tap or click to open full screen and move around

Example: what Niamh can and cannot expect

Niamh asks the obvious question: how much does a countdown add? The honest answer is that nobody can tell her from the outside. The research shows effects that range from strong to nothing, depending on product, price and how easy it is to change your mind. A lamp at €104 is a considered purchase. A €14 tea towel is not. What the research does tell her is the direction of risk. Shannonside sells to people who can cancel within 14 days, which is exactly the setting where urgency lifts orders and also where rushed orders come back. So she will test every tool against margin after returns, not against clicks. That test is set out near the end of this chapter.

Genuine deadlines and countdowns

A deadline is honest when the offer really ends at the time shown and nothing substantially similar replaces it straight away. Section 55(1)(n) prohibits precisely the opposite: "a false representation" that a product is available only for a limited time, or on particular terms for a limited time, to get an immediate decision.2

The clearest worked examples come from the UK's CMA, published in March 2023 under rules that come from the same EU directive as section 55.11

  • The offer does not end. The timer runs down to "tonight" and the offer carries on.
  • The offer ends, but a new one gives the same deal. "50% off product X" ends on 7 May, and "50% off everything including product X" starts on 8 May. Each statement is literally true, and it still misleads, because there was no need to rush.
  • The checkout timer restarts. "Complete your order in 3 minutes", and the timer restarts when it runs out or the page is reloaded.

Where this ends up shows in the CMA's case against the mattress seller Emma Sleep. In May 2026 the High Court in London confirmed a settlement in which Emma admitted breaking consumer law with misleading countdown timers, false "high demand" messages and discount claims, and gave binding undertakings, including not to run "limited time" sales where substantially similar deals continue after the deadline.12

The research gives one more reason to keep deadlines real. A study of deal promotions by J. Jeffrey Inman, Anil Peter and Priya Raghubir found that restrictions such as time limits can make the same deal look more valuable.13 That is the honest power of a deadline: it signals the deal is special. A deadline that never ends teaches customers the opposite.

How to build a countdown that cannot lie

The rule for the build is simple: the timer may only read an end time that the shop itself enforces. In Solidus, a promotion (the module is called Solidus Promotions in current versions) has starts_at and expires_at fields, and the model has active? and expired? methods that check those times.14 If the timer reads expires_at, and the promotion engine stops the discount at expires_at, the timer and the price can never disagree.

# app/helpers/deadline_helper.rb
module DeadlineHelper
  # Shows a countdown only for an active promotion with a real end time.
  # The same expires_at stops the discount, so the timer cannot outlive the offer.
  def promotion_deadline(promotion, now: Time.current)
    return unless promotion&.active?(now)
    return if promotion.expires_at.blank?

    tag.p(class: "deadline", data: { ends_at: promotion.expires_at.iso8601 }) do
      "Offer ends #{l(promotion.expires_at, format: :long)}"
    end
  end
end

The helper prints the real end date as text first, and the browser script that turns data-ends-at into a ticking clock only formats that same time. It never invents a new end time on reload. Callum adds a second guard in the promotion calendar: a new promotion on the same products may not start within 28 days of the last one ending, unless Niamh overrides it with a written reason. Twenty eight days is Shannonside's own house rule, not a number from the law. The law asks whether a substantially similar deal follows. A fixed gap makes that question easy to answer with a yes or no.

Example: Shannonside's end of season sale

Niamh plans 20% off 180 garden ceramics from Monday 1 September 9am to Sunday 14 September 11.59pm. The promotion gets starts_at and expires_at at those times. The timer appears only on those 180 products and only during that window. On 15 September the discount stops because the promotion expired, the timer disappears because active? is false, and the calendar rule blocks a new offer on those products until 13 October.

Niamh then wants a "Garden clearance, 20% off" from 20 September. The calendar refuses it. She has a choice: run it, and accept that the first sale's deadline was not a real deadline (so the countdown should not have run), or drop it. She drops it, and moves the clearance to 13 October with a different mechanic. That trade is the whole discipline in one decision.

Delivery cut off timers

"Order within 2 hours 14 minutes for dispatch today" is a deadline too, and an honest one if it reads the real cut off. Shannonside's warehouse in Limerick has its courier collection at 3pm on weekdays. A timer that counts down to 2.30pm (leaving time to pick and pack), stops showing after it, and shows the next dispatch day instead, tells the truth. The Princeton researchers flagged shipping timers as a grey area for exactly that reason: they can be useful information or pressure, depending on whether they are true.9

Low stock messages that read the stock

A low stock message is honest when it reflects the stock you actually have and what that means for the customer. The CMA's March 2023 advice gives the test in one example: a low stock claim is likely misleading if there is no shortage, or if stock is low today but new stock arrives shortly, or if the shop could fulfil the order without delay anyway.11 Section 55(1)(t) prohibits representations inaccurate to a material degree about market conditions or the possibility of finding the product, meant to get people to buy on worse terms.2

So "only 3 left" needs three things to be true: there are three, the number comes from the stock system at the moment it is shown, and no delivery is about to make it meaningless.

When is "low" really low? A little probability

"Low" should mean that the customer has a real chance of missing out. One way to put a number on that is to ask how likely it is that the remaining stock sells out before the next delivery. If a product sells at a steady average rate, the number sold in a period can be modelled with a Poisson distribution, a standard model for counts of independent events.

P(D≥s)=1−∑k=0s−1e−λt(λt)kk!P(D \geq s) = 1 - \sum_{k=0}^{s-1} \frac{e^{-\lambda t}(\lambda t)^k}{k!}

where P(D≥s)P(D \geq s) is the probability that demand DD over the period reaches the stock ss, λ\lambda is the average number sold per day, tt is the number of days until the next delivery, ee is Euler's number (about 2.718), and k!k! is the factorial of kk. The sum adds up the chances of selling 0, 1, 2 and so on up to s−1s - 1, which are the outcomes where stock lasts. One minus that sum is the chance it does not. The background is in Foundations: probability and Foundations: distributions.

Example: the Burren mug

The Burren mug in sage has 4 in stock and sells on average 1.5 a day. The next delivery is due in 10 days. Over 3 days, expected demand is λt=1.5×3=4.5\lambda t = 1.5 \times 3 = 4.5.

P(D≥4)=1−e−4.5(1+4.5+4.522+4.536)=1−0.01111×30.81=0.658P(D \geq 4) = 1 - e^{-4.5}\left(1 + 4.5 + \frac{4.5^2}{2} + \frac{4.5^3}{6}\right) = 1 - 0.01111 \times 30.81 = 0.658

Step by step: e−4.5=0.01111e^{-4.5} = 0.01111. The four terms in the bracket are the chances (before multiplying by e−4.5e^{-4.5}) of selling 0, 1, 2 and 3 mugs: 11, 4.54.5, 4.52/2=10.1254.5^2 / 2 = 10.125 and 4.53/6=15.194.5^3 / 6 = 15.19, which add up to 30.8130.81. So the probability the stock lasts three days is 0.01111×30.81=0.3420.01111 \times 30.81 = 0.342, and the probability it runs out is 1−0.342=0.6581 - 0.342 = 0.658. Two chances in three that the mug sells out within three days, long before the delivery in ten. "Only 4 left" is true and meaningful here.

Now the Clare vase: 40 in stock, also 1.5 a day. Over 10 days expected demand is 15, and the chance of selling 40 or more is effectively zero. "Only 40 left" would be literally true and still misleading, because there is no need to hurry. Callum's rule: show a low stock message when stock is at most 5 and the next delivery is more than 7 days away, or when the chance of selling out before the delivery is above 50%.

Example data from Shannonside Home, using a Poisson model with 4 mugs in stock and average sales of 1.5 a day. The chance of selling all 4 is 7% within 1 day, 35% within 2 days, 66% within 3 days, 94% within 5 days and over 99% within 7 days. The next delivery is in 10 days. Tap or click to open full screen and move around

The build: one function decides what the page may say

In Solidus, Spree::Variant#total_on_hand returns the units on hand across active stock locations, or infinity when stock is not tracked, and should_track_inventory? tells you which.15 The stock quantifier also knows whether any stock item is backorderable. The shop's next delivery date is not a Solidus field. Shannonside keeps it on its own purchase order table, here called restock_due_on.

# app/models/stock_claim.rb
class StockClaim
  LOW_STOCK_MAX = 5
  MIN_DAYS_TO_RESTOCK = 7

  def initialize(variant, restock_due_on: nil, today: Date.current)
    @variant = variant
    @restock_due_on = restock_due_on
    @today = today
  end

  # Returns the message the product page may show, or nil for none.
  def message
    return nil unless @variant.should_track_inventory? # no tracking, no claim

    on_hand = @variant.total_on_hand
    return "Out of stock" if on_hand <= 0 && !@variant.can_supply?(1)
    return nil if on_hand > LOW_STOCK_MAX
    return nil if restock_soon?

    "Only #{on_hand} left"
  end

  private

  def restock_soon?
    @restock_due_on.present? && (@restock_due_on - @today).to_i < MIN_DAYS_TO_RESTOCK
  end
end

The view calls StockClaim.new(variant, restock_due_on: ...).message and prints whatever comes back. There is no text field anywhere in the admin where someone could type "only 3 left". The theme setting that showed a fixed number when tracking was off is removed: with no tracking, message returns nil. The page and the warehouse now agree by construction.

Tap or click to open full screen and move around

Example: what changes on Shannonside's 40 products

Of the 40 products with the fixed "only 3 left", Callum finds that 29 had no stock tracking at all, so the message goes. Seven have more than 5 in stock, so the message goes. Four genuinely have 5 or fewer with no delivery due for weeks, so they keep a message, now with the real number. The shop goes from 40 claims, all unsupported, to 4 claims, all true. A customer who sees "only 2 left" on Shannonside now has a reason to believe it.

Popularity and live activity: the number has to mean what it says

Popularity claims are social proof: people take other people's choices as a sign of what is good. They are useful when true and specific. The CMA's March 2023 advice sets out four ways a popularity claim can mislead even when built from real data.11

  • The time frame is wrong. A claim says "20 people are looking at this now", but it fires when 20 people viewed it in the past hour. The CMA's words: where algorithms trigger a claim, "the underlying data should match the claim precisely".
  • The product is wrong. "200 bought this in the last hour", but the 200 were across three models of the same brand, and only 110 were the model on screen.
  • The period is stale. "100 sold in 24 hours" is true for a day last month, not for the last 24 hours. A qualification elsewhere on the page does not fix a headline that deceives.
  • The number is true but the urgency is false. Ten people really are looking, but stock is high and the shop can deliver without delay, so there is no reason to hurry.

The last point is the subtle one. A popularity number is information. Wrapping it in "hurry" turns it into an urgency claim, and an urgency claim needs a real reason to hurry.

Reviews are the strongest popularity signal and the most regulated. Since the Consumer Rights Act 2022, section 55 prohibits stating that reviews come from people who used or bought the product without reasonable and proportionate steps to check it, and submitting or commissioning false reviews or misrepresenting reviews.3 Social proof and trust covers the research in depth.

The build: count completed orders for this product in exactly this window

A popularity line should be a database query with the window written into both the query and the sentence. In Solidus, Spree::Order.complete returns orders with a completed_at time, Spree::Order.not_canceled leaves out cancelled ones, and each Spree::LineItem belongs to an order and a variant.16

# app/models/popularity_claim.rb
class PopularityClaim
  WINDOW = 7.days
  MINIMUM = 10 # below this, a number reads as weakness, so show nothing

  def initialize(product, now: Time.current)
    @product = product
    @now = now
  end

  def message
    count = units_sold
    return nil if count < MINIMUM

    "#{count} bought in the last 7 days"
  end

  private

  def units_sold
    Spree::LineItem
      .joins(:order)
      .merge(Spree::Order.complete)
      .merge(Spree::Order.not_canceled)
      .where(spree_orders: { completed_at: (@now - WINDOW)..@now })
      .where(variant_id: @product.variants_including_master.select(:id))
      .sum(:quantity)
  end
end

The window is seven days in the constant and seven days in the sentence. The product is this product, including its colour variants, which is honest because the page sells all of them, but not other products in the range. A cancelled order in Solidus keeps its completion time, so the query also leaves out cancelled orders with the not_canceled scope. And the line never says "hurry".

Example: the "12 people looking" plugin

The plugin counted page views in the last 24 hours and displayed them as "right now". On the Alder lamp, 12 views a day means roughly one visitor every two hours, and most of those were Niamh and Callum checking the page. Callum removes the plugin. The lamp sold 46 units in the last seven days, so the page now says "46 bought in the last 7 days". It is a weaker sounding sentence than "12 people looking right now" and a much stronger one, because a sceptical customer could check it and it would hold.

Reference prices and the lowest price of the last 30 days

A reference price is one of the most effective tools in retail, and the one most often abused. The research on anchoring explains why. In a classic experiment, Amos Tversky and Daniel Kahneman spun a wheel that landed on 10 or 65, then asked people to estimate the share of African countries in the United Nations. Those who saw 10 gave a median estimate of 25%, those who saw 65 gave 45%.17 Dan Ariely, George Loewenstein and Drazen Prelec asked students to think about the last two digits of their social security number before bidding for real products. Students with above median numbers stated values from 57% to 107% higher.18 A "was" price is an anchor. If it is not a real price, it is a false anchor.

The Irish rule: regulation 5A

Ireland has a fixed rule. Since 29 November 2022, regulation 5A of the price indication regulations says that where a trader announces a price reduction, the announcement must show the prior price, defined as the lowest selling price the trader applied during a period of not less than 30 days before the reduction. For consecutive reductions it is the lowest price in the 30 days before the first one. Not stating it is an offence.5 The rule carries Article 6a of the EU Price Indication Directive into Irish law.19

The CCPC has published what it found when it analysed pricing data from a number of websites in late 2022 and early 2023: some traders had not yet changed their practices. One example: a product reduced from €1,699 to €1,499, announced with only a recommended retail price of €2,799, a price at which the product had never been offered.20

In 2024 the Court of Justice of the European Union went further, in a case brought by a German consumer organisation against the supermarket Aldi Süd: a percentage reduction or a promotional statement must be calculated from that prior price, not from some other higher price.21 Printing the 30 day price somewhere nearby is not enough.

The prior price for a reduction starting at time t0t_0 is:

Pprior(t0)=min⁡t0−30 days ≤ t < t0p(t)P_{\text{prior}}(t_0) = \min_{t_0 - 30 \text{ days} \,\leq\, t \,<\, t_0} p(t)

where Pprior(t0)P_{\text{prior}}(t_0) is the prior price, p(t)p(t) is the price the shop charged at time tt, and min⁡\min takes the lowest value over the 30 days before the reduction starts, not counting the day it starts (Foundations: percentages covers the calculations that follow). The announced saving is then:

saving=Pprior−PsalePprior\text{saving} = \frac{P_{\text{prior}} - P_{\text{sale}}}{P_{\text{prior}}}

where PsaleP_{\text{sale}} is the reduced price. If the result is zero or negative, there is no reduction to announce. Both are ordinary minimum and ratio calculations, explained in Foundations: ratios and rates.

Example: the Alder lamp in two scenarios

The Alder table lamp normally sells at €104. Shannonside ran a two week promotion at €79 from 6 to 19 October and went back to €104 on 20 October. Niamh now wants "20% off" for a sale: 104×0.8=83.20104 \times 0.8 = 83.20.

Scenario A, the sale starts on 10 November. The 30 days before are 11 October to 9 November. On 11 to 19 October the lamp was €79. So Pprior=79P_{\text{prior}} = 79. The saving against €79 is (79−83.20)/79=−5.3%(79 - 83.20) / 79 = -5.3\%. The "sale" price is higher than the lowest recent price. There is nothing to announce, and "20% off €104" would be exactly the calculation the Aldi Süd judgment rules out.

Scenario B, the sale starts on 24 November. The 30 days before are 25 October to 23 November, all at €104. So Pprior=104P_{\text{prior}} = 104 and the saving is (104−83.20)/104=20%(104 - 83.20) / 104 = 20\%. The claim is true. The earliest date on which the prior price is back to €104 is 19 November, 30 days after the last €79 day.

Example data from Shannonside Home, 1 October to 22 November, every four days. The lamp costs 104 euro, drops to 79 euro from 6 to 19 October, returns to 104 euro, and drops to 83.20 euro in a sale starting 10 November. The lowest price of the previous 30 days stays at 79 euro until 18 November and returns to 104 euro from 19 November. A sale on 10 November is above the 30 day low, a sale from 24 November is 20 percent below it. Tap or click to open full screen and move around

And the lamp's old "was €104, now €79"? The lowest price of the last 30 days is €79, so there is no reduction at all. The "was" price goes, and €79 becomes the lamp's normal price, which is what it already was.

The build: log every price, then ask the log

You cannot prove a 30 day low from memory. You need a log. Solidus stores the current price in Spree::Price (with amount, currency and country_iso) but does not keep a history of changes. Callum adds a small table and a prepended module, the override pattern the Solidus guides recommend for extending core models.22

# app/overrides/shannonside/spree/price/log_changes.rb
module Shannonside
  module Spree
    module Price
      module LogChanges
        def self.prepended(base)
          base.after_save :log_price_change, if: :saved_change_to_amount?
        end

        private

        def log_price_change
          ::PriceChange.create!(
            variant_id: variant_id, currency: currency,
            country_iso: country_iso, amount: amount, changed_at: Time.current
          )
        end

        ::Spree::Price.prepend self
      end
    end
  end
end
# app/models/prior_price.rb
class PriorPrice
  WINDOW = 30.days

  # Lowest price in force during the 30 days before the reduction starts.
  def self.for(variant_id:, currency:, starts_at:)
    from = starts_at - WINDOW
    log = PriceChange.where(variant_id: variant_id, currency: currency)

    in_force_at_start = log.where(changed_at: ...from).order(changed_at: :desc).pick(:amount)
    changed_during = log.where(changed_at: from...starts_at).pluck(:amount)

    [in_force_at_start, *changed_during].compact.min
  end
end

The detail that people miss is in_force_at_start. The lowest price in the window is not only the lowest change inside the window. The price that was already in force when the window opened counts too. A sale launched with the promotion engine (an adjustment) rather than by editing the price must be logged the same way, so Callum writes a row to PriceChange when an advertised promotion starts and ends. The sale banner then calls PriorPrice.for, calculates the percentage only from that price, and shows no percentage at all if the saving is not positive.

Anchors and decoys: honest comparisons between real options

Anchoring is not only about "was" prices. Every price on a page is read against the prices around it. A €280 armchair next to a €750 one looks reasonable. That is legitimate when both chairs are real, sensibly priced products you would be happy to sell.

The decoy effect is a sharper version. In 1982 Joel Huber, John Payne and Christopher Puto showed that adding a third option that is clearly worse than one option, but not clearly worse than the other, shifts choices towards the option it is worse than.23 It is called an asymmetrically dominated decoy. Nobody buys the decoy, but it makes its neighbour look like the smart choice.

The legal line for both is truthfulness, not the technique. A real product priced to sell is a fair comparison. A recommended retail price that nobody charges, shown as if it were a previous price, is exactly the bad practice the CCPC describes. A decoy that does not really exist, or cannot actually be bought, is false information about the offer.

Example: tea towel sets

Shannonside sells linen tea towels. Today there are two options: one towel at €14, or a set of three at €35. Niamh considers adding a set of two at €29.

OptionPricePrice per towel
One towel€14.00€14.00
Set of two€29.00€14.50
Set of three€35.00€11.67

The set of two costs more per towel than a single towel. It is dominated by the set of three, which costs only €6 more for an extra towel, and it makes the set of three look like the obvious choice. Is it honest? The test is whether Niamh would happily ship a set of two at €29 if someone buys it. If yes, it is a real product and the comparison is fair. If she would not stock it at all, it is a prop, and Callum leaves it out. She decides it is a real option for people who want exactly two, keeps it, and measures whether it changes the mix. Pricing psychology covers decoys and charm prices further.

Defaults and pre ticked boxes

A default is what happens if the customer does nothing. Defaults are powerful because doing nothing is easy. Eric Johnson and Daniel Goldstein showed it with organ donation: in an online experiment, 42% agreed to be donors when they had to opt in, 82% when they had to opt out.24 Same question, different starting point.

For paid extras, Irish law removes the default entirely. Section 123 of the Consumer Rights Act 2022 says the trader must seek the consumer's express consent to any payment on top of the main price, and that there is no express consent if it is inferred from a default option the consumer has to reject to avoid the payment. A payment taken without it must be reimbursed, and taking it is an offence.6

Defaults that serve the customer are fine and useful: the lowest cost delivery option preselected, the size they bought last time, gift wrap off. The test is whether the default is what a customer would most likely choose, at no extra cost to them, and whether changing it is as easy as accepting it.

Example: the €7 care kit

The pre ticked care kit is added to 31% of orders. With 1,980 orders a month, that is 1,980×0.31=6141{,}980 \times 0.31 = 614 kits and 614×7=€4,298614 \times 7 = €4{,}298 of revenue a month. Every one of those payments must be reimbursed if asked, because none had express consent. Callum makes the box unticked and the line reads "Add the ceramic care kit (€7)". In the first month 9% of orders add it: 1,980×0.09=1781{,}980 \times 0.09 = 178 kits and €1,246. Niamh loses €3,052 a month of revenue she was never entitled to keep, and gains 178 customers who actually wanted the kit, which shows in the returns: care kits sent back drop to almost none.

Free gifts, framing and reciprocity

"Free". Section 55(1)(h) prohibits describing a product as "free" or "without charge" if the consumer has to pay anything other than the necessary and reasonable cost of responding and of collection or delivery.2 A free gift with purchase is grand. A free gift paid for by a delivery charge that went up the same week is the risky version, because the customer is paying for it after all.

Framing. The same fact can be framed as a gain or a loss, a share or its complement. Irwin Levin and Gary Gaeth found that minced beef described as "75% lean" was rated better than the same beef described as "25% fat", and that the difference shrank after people tasted it.25 That second half is the useful lesson for a shop: framing changes first impressions, and experience corrects them. A frame that the product cannot live up to comes back as a return or a review.

Reciprocity. People feel a pull to return a favour. David Strohmetz and colleagues found that restaurant servers who gave customers sweets with the bill received higher tips, and that tips varied with how much was given and with the manner in which it was offered. The authors argue that reciprocity explains it better than a good mood.26 For a shop, the honest version is a gift that is genuinely useful and asks nothing back: a care guide for ceramics, a properly written sizing guide, a sample of a fabric. The dishonest version is a "gift" that obliges, such as a "free" trial that turns into a subscription without a clear choice.

Example: the free tote bag

The tote costs Shannonside €3.90. Callum checks the delivery change: the standard charge went from €4.90 to €6.90 in the same week as the tote offer, and 72% of orders pay standard delivery. On 1,980 orders that is 1,980×0.72×2=€2,8511{,}980 \times 0.72 \times 2 = €2{,}851 of extra delivery revenue a month, against 1,980×3.90=€7,7221{,}980 \times 3.90 = €7{,}722 of tote cost. The delivery increase does not cover the tote, but it was introduced alongside it, and a customer comparing last week's checkout with this week's would reasonably think they are paying for the "free" bag.

Niamh separates the two. The delivery charge goes back to €4.90. The tote becomes a gift with orders over €70, which costs less (about 45% of orders qualify, so 1,980×0.45×3.90=€3,4751{,}980 \times 0.45 \times 3.90 = €3{,}475 a month) and is free in the plain meaning of the word. Whether the threshold lifts basket size enough to pay for the bags is a question for the maths behind every discount.

Dark patterns and the Digital Services Act: what applies to your shop

Article 25 of the EU's Digital Services Act (DSA) forbids providers of online platforms from designing their interfaces in a way that deceives or manipulates users or materially impairs their ability to make free and informed decisions.27 It sounds as if it covers every shop. It does not, for two reasons. An online platform in the DSA's sense is a hosting service that stores and publicly shares information at the request of its users, such as a marketplace where others sell, not a shop selling its own goods. And Article 25 does not apply to practices already covered by the Unfair Commercial Practices Directive or the GDPR, while the whole section it sits in does not apply to micro and small enterprises (Article 19).27

Example: a potters' marketplace on Shannonside Home

Niamh considers letting potters from Clare and Limerick sell their pieces directly through Shannonside Home. For that part the shop would store and publish other traders' listings, which makes it an online platform for that part. Shannonside has 14 staff and about €2 million a year in revenue (1,980×84×12=€1,997,2801{,}980 \times 84 \times 12 = €1{,}997{,}280), so it is a small enterprise, and Article 25 does not reach it. What applies is exactly what applied before: the Consumer Protection Act 2007 to every claim on every listing, including the potters', and regulation 5A to every price reduction. The tools in this chapter stay the standard, with a marketplace or without one.

The one table: what makes each tool honest, and what makes it unlawful

Here is the chapter in one table, for Ireland. The middle column is the build that keeps a tool on the right side. The last column names the practice that crosses the line and the rule it breaks.

ToolWhat makes it honestWhat makes it unlawful
Countdown to an offer's endReads the promotion's real end time, the discount stops then, no similar offer straight afterOffer continues, timer resets, or a substantially similar offer follows (section 55(1)(n))
Checkout timerOnly where a real hold expires, such as a reserved delivery slotA timer that restarts on reload (section 43, section 55(1)(n))
Delivery cut off timerCounts to the real dispatch cut off and then changes to the next dayA cut off that does not exist
Low stock messageLive stock, low threshold, no delivery imminentFixed text, or "low" when a delivery is due shortly (section 55(1)(t), section 43)
Popularity countExact product, exact window, completed orders, no "hurry"Wrong window, wrong product, stale period, or urgency without a reason (section 43)
ReviewsAll genuine reviews shown, negatives included, checks in placeFake reviews, or reviews called genuine without reasonable checks (section 55(1)(za) and (zb))
Reference priceThe lowest price of the last 30 days, percentage calculated from it, backed by a price logAny other higher comparison price, or a percentage calculated from it (regulation 5A, Case C 330/23)
Recommended retail priceLabelled as an RRP and not presented as a reductionPresented as your own former price when it never applied (section 43)
Decoy optionA real product you would gladly sell at that priceA prop that cannot be bought or is mispriced to deceive
DefaultThe choice most customers would make, free, easy to changeA pre ticked paid extra (Consumer Rights Act 2022, section 123)
Free giftNothing paid for it beyond necessary deliveryCost recovered through a higher price or charge (section 55(1)(h))
FramingA true frame the product lives up toA frame that creates a false impression (section 43)

Measure persuasion by margin after returns, not by clicks

Every tool above should be tested, because the research shows effects from strong to none. The mistake is to judge the test on conversion rate. A tool that rushes people can lift orders and also lift returns, and on a shop with a 14 day right to cancel, the second number arrives later than the first.

Measure contribution per session instead: what each visit leaves after product cost and the cost of returns.

C=CR×[(1−r)×AOV×m−r×h]C = CR \times \left[(1 - r) \times AOV \times m - r \times h\right]

where CC is the contribution per session, CRCR the conversion rate, rr the share of orders returned, AOVAOV the average order value, mm the gross margin on product, and hh the handling cost of one return (postage and repacking). The bracket is the contribution per order: kept orders earn their margin, returned orders earn nothing and cost the handling. It is a simplified version of the contribution margin in ecommerce unit economics. The ratio logic is in Foundations: ratios and rates, and the comparison of two variants in Foundations: hypothesis tests.

Example: a calm deadline against a loud one

During the genuine end of season sale, Callum splits visitors at random into two groups of equal size. Variant A shows "Sale ends Sunday 14 September, 11.59pm" as plain text. Variant B shows a ticking countdown with seconds and a "selling fast" badge (both true). Each group gets about 60,000 sessions. The numbers below are the example's invented results, with returns counted after the 14 day cancellation window and Shannonside's handling cost of €7 a return.

Variant A, plain deadlineVariant B, ticking timer
Conversion rate2.10%2.22%
Average order value€84€84
Return rate9.0%14.0%

Contribution per order, A: (1−0.09)×84×0.52−0.09×7=39.75−0.63=€39.12(1 - 0.09) \times 84 \times 0.52 - 0.09 \times 7 = 39.75 - 0.63 = €39.12.

Contribution per order, B: (1−0.14)×84×0.52−0.14×7=37.56−0.98=€36.58(1 - 0.14) \times 84 \times 0.52 - 0.14 \times 7 = 37.56 - 0.98 = €36.58.

Per 1,000 sessions, A: 1,000×0.0210×39.12=€821.491{,}000 \times 0.0210 \times 39.12 = €821.49. B: 1,000×0.0222×36.58=€812.181{,}000 \times 0.0222 \times 36.58 = €812.18.

B wins on conversion by 5.7% and loses on contribution by about €9 per 1,000 sessions. The break even return rate for B, where its contribution would equal A's, solves 22.2×(43.68−50.68×r)=821.4922.2 \times (43.68 - 50.68 \times r) = 821.49, which gives r=13.2%r = 13.2\%. Any return rate above 13.2% and the loud timer costs money. A dashboard that stopped at conversion rate would have shipped the loser.

Example data from Shannonside Home's test during a genuine sale. Compared with the plain deadline, the ticking timer raised the conversion rate by 5.7 percent but lowered the contribution per session after returns by 1.1 percent, because its return rate was 14 percent against 9 percent. Tap or click to open full screen and move around

Two more things to watch alongside contribution: complaints and cancellations mentioning pressure, and the second order rate of customers who first bought under a timer. Returns in ecommerce covers the return side, and experiments inside your own shop the test design, including how large the groups must be.

Make honesty a release check, not a good intention

The last step is to stop relying on memory. The CMA's 2023 advice asks businesses to review claims for compliance before running A/B tests, to verify price promotions before publishing, to keep records that show claims reflect real selling conditions, and to make sure special prices do not continue past the promotion's end date.11 Each of those can be an automated check, and each fits Irish law just as well.

I build shops test first and put every release through a test gate and a release register. For persuasion claims that means tests that state the rules in code, so a later change cannot quietly break them.

# spec/models/stock_claim_spec.rb
RSpec.describe StockClaim do
  let(:variant) { create(:variant) }

  it "never claims low stock when stock is high" do
    variant.stock_items.first.set_count_on_hand(40)
    expect(described_class.new(variant).message).to be_nil
  end

  it "stays silent when a delivery arrives within a week" do
    variant.stock_items.first.set_count_on_hand(3)
    claim = described_class.new(variant, restock_due_on: Date.current + 3)
    expect(claim.message).to be_nil
  end

  it "shows the exact live number when stock is genuinely low" do
    variant.stock_items.first.set_count_on_hand(3)
    expect(described_class.new(variant).message).to eq("Only 3 left")
  end
end

The same goes for the prior price (a sale banner may not show a percentage unless PriorPrice.for gives a positive saving) and for deadlines (no promotion may be created that overlaps the 28 day gap without a recorded override). The shop database as the source of truth explains why claims should come from the same tables as orders and stock.

Tap or click to open full screen and move around

Example: Shannonside's six claims, three months later

  • The resetting countdown is gone. Timers now appear only during real promotions, read expires_at, and the calendar keeps 28 days between similar offers.
  • "Only 3 left" appears on 4 products instead of 40, each with the real number.
  • "12 people looking" is replaced by "46 bought in the last 7 days" where the count is at least 10.
  • The lamp's false "was" price is gone. Every sale banner checks the price log first.
  • The care kit box is unticked. Fewer kits, fewer returns, no refunds owed.
  • The tote is a genuine gift over €70, and delivery is back at €4.90.

Every claim on the site is now a query with a test behind it. Niamh can show any of them to the CCPC, or to a sceptical customer, and the answer comes from the database.

Conclusion

Persuasion and the law are not enemies. A deadline, a stock count, a popularity figure, a reference price, a default and a gift are all lawful in Ireland when they are true, specific and current. They become unlawful when they are false (a deadline that does not end, a stock count that is typed in), when they are true but misleading (the wrong time frame, a high stock product told to hurry, a percentage calculated from anything but the lowest price of the last 30 days), or when they take money by default (a pre ticked extra). Several of these are criminal offences, and the CCPC watches pricing data. The research shows that honest scarcity and deadlines can work, that effects vary a great deal, and that urgency works best exactly where customers can undo the purchase. So build every claim to read from your own data, pin the rules with tests, keep a price log, and judge each tool on contribution after returns. A claim that the database makes true is one you never have to defend.

If your shop shows countdowns, stock counts or was prices and you are not sure every one of them is true, book the free workshop: I check each claim against your data and Irish law, and the first two weeks of work are on me.

Sources

  1. 1.

    Directive 2005/29/EC concerning unfair business to consumer commercial practices, consolidated text of 28 May 2022, Annex I, EUR Lex, https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005L0029-20220528

  2. 2.

    Consumer Protection Act 2007 (No. 19 of 2007), section 55, prohibited commercial practices, paragraphs (h), (n) and (t), irishstatutebook.ie, https://www.irishstatutebook.ie/eli/2007/act/19/section/55/enacted/en/html

  3. 3.

    Consumer Rights Act 2022 (No. 37 of 2022), section 157, inserting section 55(1)(za) and (zb) into the Consumer Protection Act 2007, irishstatutebook.ie, https://www.irishstatutebook.ie/eli/2022/act/37/section/157/enacted/en/html

  4. 4.

    Consumer Protection Act 2007 (No. 19 of 2007), sections 43 (misleading commercial practices), 46 (misleading omissions) and 53 (aggressive commercial practices), irishstatutebook.ie, https://www.irishstatutebook.ie/eli/2007/act/19/section/43/enacted/en/html

  5. 5.

    European Union (Requirements to Indicate Product Prices) (Amendment) Regulations 2022 (S.I. No. 597 of 2022), inserting regulation 5A, irishstatutebook.ie, https://www.irishstatutebook.ie/eli/2022/si/597/made/en/print

  6. 6.

    Consumer Rights Act 2022 (No. 37 of 2022), section 123, additional payments, irishstatutebook.ie, https://www.irishstatutebook.ie/2022/en/act/pub/0037/sec0123.html

  7. 7.

    Competition and Markets Authority, Evidence review of online choice architecture and consumer and competition harm (CMA157), sections 8.5 to 8.10 on scarcity and popularity claims, 5 April 2022, https://assets.publishing.service.gov.uk/media/6258499fd3bf7f600e76d9de/OCA_Evidence_Review_Paper_14.4.22.pdf

  8. 8.

    Consumer Rights Act 2022 (No. 37 of 2022), sections 112 and 113, right to cancel and duration of cancellation period, irishstatutebook.ie, https://www.irishstatutebook.ie/eli/2022/act/37/section/112/enacted/en/html

  9. 9.

    Arunesh Mathur, Gunes Acar, Michael J. Friedman, Elena Lucherini, Jonathan Mayer, Marshini Chetty and Arvind Narayanan, Dark patterns at scale: findings from a crawl of 11K shopping websites, Proceedings of the ACM on Human Computer Interaction, volume 3, CSCW, 2019, https://arxiv.org/abs/1907.07032

  10. 10.

    European Commission, Consumer protection: manipulative online practices found on 148 out of 399 online shops screened, press release IP/23/418, 30 January 2023, https://ec.europa.eu/commission/presscorner/detail/en/ip_23_418

  11. 11.

    Competition and Markets Authority, Urgency claims and price reduction claims: compliance advice for online businesses (open letter, and examples of non compliance), GOV.UK, 29 March 2023, https://www.gov.uk/government/publications/using-urgency-and-price-reduction-claims-online

  12. 12.

    Competition and Markets Authority, Court endorses CMA action as Emma Sleep agrees to change sales practices, press release, GOV.UK, 28 May 2026, https://www.gov.uk/government/news/court-endorses-cma-action-as-emma-sleep-agrees-to-change-sales-practices

  13. 13.

    J. Jeffrey Inman, Anil C. Peter and Priya Raghubir, Framing the deal: the role of restrictions in accentuating deal value, Journal of Consumer Research, volume 24, number 1, pages 68 to 79, 1997, https://doi.org/10.1086/209494

  14. 14.

    Solidus, SolidusPromotions::Promotion model (starts_at, expires_at, active?, expired?), source code on GitHub, main branch, checked 22 November 2026, https://github.com/solidusio/solidus/blob/main/promotions/app/models/solidus_promotions/promotion.rb

  15. 15.

    Solidus, Spree::Variant and Spree::Stock::Quantifier source code (total_on_hand, can_supply?, backorderable?, should_track_inventory?), GitHub, checked 22 November 2026, https://github.com/solidusio/solidus/blob/main/core/app/models/spree/stock/quantifier.rb

  16. 16.

    Solidus, Spree::Order model (complete and not_canceled scopes, completed_at), GitHub, checked 22 November 2026, https://github.com/solidusio/solidus/blob/main/core/app/models/spree/order.rb

  17. 17.

    Amos Tversky and Daniel Kahneman, Judgment under uncertainty: heuristics and biases, Science, volume 185, number 4157, pages 1124 to 1131, 1974, https://doi.org/10.1126/science.185.4157.1124

  18. 18.

    Dan Ariely, George Loewenstein and Drazen Prelec, "Coherent arbitrariness": stable demand curves without stable preferences, Quarterly Journal of Economics, volume 118, number 1, pages 73 to 106, 2003, https://web.mit.edu/ariely/www/MIT/Papers/CA.pdf

  19. 19.

    Directive 98/6/EC on consumer protection in the indication of the prices of products offered to consumers, Article 6a as inserted by Directive (EU) 2019/2161, consolidated text of 28 May 2022, EUR Lex, https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:01998L0006-20220528

  20. 20.

    Competition and Consumer Protection Commission, Price reductions: examples of bad practice, ccpc.ie, checked 22 November 2026, https://www.ccpc.ie/information-for-businesses/selling-goods-and-services/pricing-and-price-reductions/price-reductions/examples-of-bad-practice

  21. 21.

    Court of Justice of the European Union, Case C 330/23, Verbraucherzentrale Baden Württemberg v Aldi Süd, judgment of 26 September 2024, EUR Lex, https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:62023CJ0330

  22. 22.

    Solidus, Customizing the core, Solidus Guides, checked 22 November 2026, https://guides.solidus.io/customization/customizing-the-core

  23. 23.

    Joel Huber, John W. Payne and Christopher Puto, Adding asymmetrically dominated alternatives: violations of regularity and the similarity hypothesis, Journal of Consumer Research, volume 9, number 1, pages 90 to 98, 1982, https://doi.org/10.1086/208899

  24. 24.

    Eric J. Johnson and Daniel Goldstein, Do defaults save lives?, Science, volume 302, number 5649, pages 1338 to 1339, 2003, https://doi.org/10.1126/science.1091721

  25. 25.

    Irwin P. Levin and Gary J. Gaeth, How consumers are affected by the framing of attribute information before and after consuming the product, Journal of Consumer Research, volume 15, number 3, pages 374 to 378, 1988, https://doi.org/10.1086/209174

  26. 26.

    David B. Strohmetz, Bruce Rind, Reed Fisher and Michael Lynn, Sweetening the till: the use of candy to increase restaurant tipping, Journal of Applied Social Psychology, volume 32, number 2, pages 300 to 309, 2002, https://doi.org/10.1111/j.1559-1816.2002.tb00216.x

  27. 27.

    Regulation (EU) 2022/2065 on a Single Market for Digital Services (Digital Services Act), Article 3(i), Article 19 and Article 25, EUR Lex, https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32022R2065