# Setting up Scratch Cards

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

<figure><img src="/files/HK7HiMVwkpSi5hq6txiF" alt=""><figcaption></figcaption></figure>

### Setting up Scratch Cards Minigame

Once the Minigame Plugin 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 below dropdown&#x20;
3. From this dropdown select Scratch Cards

![](/files/GfSw6qI4COXzBlCFzPlL)

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.

![](/files/QGRYP4jYCjfxqwlHDFfX)

### 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="/files/axnGcOlnpo9xo159KkLd" 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="/files/mDTaSXWWPPloiuLHUuCM" 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="/files/fKkLTToR4Xjwd6BFprrE" 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 as shown below

<figure><img src="/files/zyPMFmmaNWZ1Nq7LrgBi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Nd0m4MwwO7BPdujq43YK" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://competitions.gitbook.io/competition-docs/minigames/view-minigames/setting-up-scratch-cards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
