> For the complete documentation index, see [llms.txt](https://competitions.gitbook.io/competition-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://competitions.gitbook.io/competition-docs/minigames/view-minigames/setting-up-scratch-cards.md).

# Setting up Scratch Cards

{% hint style="success" %}
Please make sure you have the Minigames installed
{% endhint %}

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FsPVQUigCCDpMZfnu4kc9%2F7872835fdc6c99787de63c0985e1d7011-ezgif.com-video-to-gif-converter.gif?alt=media&amp;token=d11381be-a94c-4c5a-b6ec-3f5d16fb5299" alt=""><figcaption></figcaption></figure>

### How do customers open the popup?

The button will show on the Product Page aswell as the Thank you page after payment

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FUzyS5HS2Esz4McyxnytQ%2Fimage.png?alt=media&amp;token=6c8dd127-d895-4bcd-a564-98d2bbb2d41b" alt="" width="563"><figcaption></figcaption></figure>

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FUuoNxoJyNXEnSz2iFPGd%2Fimage.png?alt=media&amp;token=127d9dc1-0033-4ae8-b3eb-1da5f678e99c" alt="" width="440"><figcaption></figcaption></figure>

### Setting up Scratch Cards Minigame

Once the Minigame feature is setup on your website you will be able to make any instant prize competition use the scratch card minigame from the Edit Product page.

#### **To do this, follow the below steps**

1. Go to your product list and click Edit on the Competition you want to apply scratch cards to
2. Scroll down on the right hand side until you find the Mini Games Box

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FAza1doEXsZx7r7oC0HpJ%2Fimage.png?alt=media&amp;token=270f917b-397f-4f35-9d8a-bbf257713ddc" alt=""><figcaption></figcaption></figure>

3. Click Choose a game and select Scratch Cards

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FIlyeK0MbpPMrr2vDU57T%2Fimage.png?alt=media&amp;token=93e9c96d-cbc0-4c02-a8d1-416f12a4f7d9" alt=""><figcaption></figcaption></figure>

4. Now whenever someone buys a ticket, they’ll be given a scratch card, they’ll then need to scratch the card to see if they won instead of the original instant prize method.

![](https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FpQT4Qpwtr1TG8s1O8aMy%2F51314b13ad8ddb3e3194e826f930edcb-ezgif.com-video-to-gif-converter.gif?alt=media\&token=8f7b807e-f71a-4d7b-9838-5d295751038a)

### Customising your Scratch Cards

There are some ways to customise your scratch cards, such as adding Sad or Happy images which will reflect if they have won or not. These images are shown when they scratch off the image and before knowing if they have won.

![](https://fb-usercontent.fra1.cdn.digitaloceanspaces.com/0194cd81-0ce5-7e9c-accf-f5dee631d6b8.png)

If no image is selected it will default to the product image everytime they scratch a card.

You’ll find the settings for Scratch Cards under “Minigames” in your Admin panel

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2F8cZWKV6RZXocipRdoW2R%2Fimage.png?alt=media&amp;token=c38b5213-c45a-4242-bdab-5c0ba17e802f" alt=""><figcaption></figcaption></figure>

Upload images to your Media library and then paste the images in the large boxes depending on if it is a Postive or Negative image.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2Fkx3fE1Fkti5GVrtOvpQj%2Fimage.png?alt=media&amp;token=a6ba5d48-0300-4f5d-8bc3-443dde18e449" alt=""><figcaption></figcaption></figure>

You can also set a default SVG for the scratch cards that will replace the grey image shown before a customer scratches.

We recommend asking us for help with this if you are stuck on how to add your logo for example to the grey scratch image.

### Free Scratches/Spins

Where you set the minigame mode you can also set an optional feature to allow people to claim a free scratch/spin.

<figure><img src="https://3744898343-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvmZQfjJYplU4Sw9Oe8b0%2Fuploads%2FX2lkr5fA4JsmlSaFN3V7%2Fimage.png?alt=media&amp;token=1566557a-2324-45d1-bf20-6d70595b2e71" alt=""><figcaption></figcaption></figure>

The button will show on the Product Page aswell as the Thank you page after payment as shown in the screenshots at the top.
