Skip to content
Documentation
DropUI homepage
Topics

Add a discount scratch card

A scratch card lets shoppers reveal an offer with their finger or mouse. In our DEMO STORE example, they uncover 10% off their first order. The conditions remain visible, so shoppers can check whether the offer applies to their basket.

Prepare the offer underneath

Create and test the coupon in your store first. This example uses SKINCARE10: 10% off a first order over $150, excluding promotional sets. These are demo details; use your own working code and matching conditions.

In the editor, choose Add element -> Scratch card. Place a code with a copy button, the discount and its conditions underneath the cover. Check that the contents fit inside the scratch area.

Prepare the cover

Choose an image to cover the offer and a short instruction such as “Scratch to reveal”. Explain the gesture above it: “Scratch the card with your finger or mouse”.

Scratch-card preview opened from the builder, before revealing the offer.

Select the whole scratch card. If it is difficult to select on the canvas, use the element list to select the card rather than the code inside it. Set its size and the percentage that must be scratched before the cover disappears.

Cover image, dimensions and reveal threshold in the editor.

A small area is hard to use on a phone; a high threshold takes longer to scratch. Start at 50% and try both mouse and touch. The eye icon switches the cover’s visibility in the editor. Use Preview to test the actual gesture.

Check the revealed offer

Open Preview and scratch the cover. Once you pass the threshold, the whole cover should disappear and the shopper should be able to read and copy the code.

The same scratch card after revealing the discount and code in the builder preview.

If the code is visible immediately, check that the cover image URL works and loads in Preview. If text or a button is clipped, enlarge the area or shorten the content.

Test the coupon in your store

A scratch card reveals fixed content. Everyone may receive the same code; use a spin-to-win wheel for a prize draw. Collecting contact details requires a separate form.

After publishing, test scratching on a phone, copying and applying the coupon to an eligible basket. Also check a basket where the coupon should not apply.

Have questions after reading this guide?

Get in touch. We’ll answer your questions and help you with setup, free of charge.

Patryk Surmacz

I’ll walk you through the settings, step by step.