With a Klorr plan: Klorr’s sections at no costlower prices on every other sectiongenerate and sell your ownSee plans
← Marketplace
Call to action

Scratch RevealShopify scratch card discount section

growthgav

New

Without a plan€4
With a Klorr plan€3-25%

You pay €4 today. A plan saves you on every section.

Paid once, yours to keep.

A first-order discount under a scratch-off foil: shoppers scratch it with a cursor or finger, flakes fall, the code is theirs.

What this Shopify section does

Scratch Reveal turns a welcome discount into a moment. A brushed-metal foil, drawn by the section itself, covers the code; shoppers scratch it off with the cursor or a finger while flakes of foil fall from where they scratch. Once enough is cleared (you set how much) the rest of the foil drops away, the amount and code settle in, and the code copies in one tap. A shopper who has revealed it sees it revealed next time. Keyboard and reduced-motion shoppers get a plain Reveal button, and without JavaScript the code is simply visible.

  • Scratch with cursor or finger, flakes fall as you scratch
  • Reveals once a set share is scratched off
  • One-tap copy of the discount code
  • Remembers a shopper who already revealed it
  • Reveal button for keyboard and reduced motion
  • Photo, copy, colours and foil all editable
  • Clean Liquid with a complete {% schema %}
  • Editable in the Shopify theme editor, like any other section
  • Works on any Online Store 2.0 theme
  • Pasted into your own theme, with no app on your storefront

How to add Scratch Reveal to your Shopify theme

  1. Get Scratch Reveal here and download its .liquid file from your Klorr account.
  2. In Shopify, go to Online Store › Themes, open the ⋯ menu on your theme and choose Duplicate, so you try it on a copy first.
  3. On the copy, open ⋯ › Edit code, then under Sections choose Add a new section and give it a name.
  4. Replace everything in the new file with the code you downloaded, and press Save.
  5. Open Customize, choose Add section on any page and pick it from the list. Change its words, pictures and colours in the panel, then publish the theme when you are happy.

New to theme code? Read the full guide: how to add a custom section to Shopify.

Questions about this scratch card discount section

Does Scratch Reveal work with my Shopify theme?

Yes, if your theme is an Online Store 2.0 theme, which includes Dawn, Horizon and almost every theme sold today. Scratch Reveal is a standard scratch card discount section: it is added under Sections in your theme code and then appears in the theme editor like the sections your theme came with.

Do I need an app to use this scratch card discount section?

No. It is a section file that lives in your own theme, so there is no app to install, nothing extra loading on your storefront and no monthly fee for it.

Can I change the text, images and colours?

Yes. Its words, pictures, colours and options are settings in the Shopify theme editor, so you change them in Customize without touching the code, and you can add it to as many pages as you like.

Will it slow down my store?

Its styles and scripts are scoped to the section and load with it, and its pictures load lazily, so it adds little to the page and nothing to the rest of your theme.

What do I get with Scratch Reveal?

One .liquid file with its full schema, made by growthgav. You pay once and it is yours to keep: it stays in your theme and in your Klorr account, ready to download again.

Build your own sections with Klorr

Describe the section you want and get production-ready Liquid that respects your theme and stays editable in Shopify. No $400 theme required.