
Sweepstakes
Setup » Client » Settings » Sweepstakes
Old: CMS & online store
This manual page describes functions that pertain to the old plentymarkets online shop Callisto. For information regarding the online store template Ceres, please refer to the Setting up Ceres page. |
1. General information about sweepstakes
Sweepstakes such as lottery drawings and quizzes are a favoured means for increasing sales and are used to raise interest in certain products or to collect contact data of interested persons. plentymarkets includes a sweepstakes module that allows you to create individual sweepstakes.
2. Planning sweepstakes
First think of what you want to achieve with the sweepstakes. A well thought and solid concept will save you lots of time and work afterwards. Keep the following questions in mind:
-
Who is my target group (e.g. new customers or registered customers)?
-
What do I want to achieve with the sweepstakes (advertising offers or collecting new contact data)?
-
How often do I want to publish sweepstakes (on a weekly or monthly basis)?
-
What type of sweepstakes do I want to use (e.g drawings without any questions or quizzes)?
-
What type of questions and answers are best suited for my sweepstakes?
-
Which legal information is relevant for my sweepstakes? Please pay attention to the "Legal note" entry in Table 1 and refer to your legal adviser for further information.
3. Creating sweepstakes
Once you have a good concept for the sweepstakes, carry out the required settings in plentymarkets. The registration forms for the sweepstakes will be created according to the settings.

Creating sweepstakes:
-
Go to Setup » Client » Settings » Sweepstakes.
-
Pay attention to the explanations given in Table 1 and carry out the settings as desired.
-
Save the settings.
The following table explains the settings in the Sweepstakes menu:
Setting | Explanation |
---|---|
Answers 1-3 |
Define up to three answers for your sweepstakes. Enter the answers in the corresponding fields. |
Entry field: first name |
Choose whether or not you want to ask the customer’s first name when they participate in the sweepstakes. You can also set this field as a mandatory field. |
Entry field: surname |
Choose whether or not you want to ask the customer’s surname when they participate in the sweepstakes. You can also set this field as a mandatory field. |
Legal note |
Enter a legal note that your customer has to confirm. Contact your legal adviser to discuss what would be an appropriate text. This note should consist of text and a link to the conditions of participation. |
relative button URL |
If you wish to use your own button for sending the form, enter the relative URL of the button here. |
3.1. Creating a category of the type content
After having carried out the setting for the sweepstakes you have to insert the entry form into the category. Create a new category to do so.
Creating a category:
-
Go to Item » Categories.
-
Click on the green plus icon in the lower left corner to create a new category.
-
Enter the corresponding text for this category, e.g. your question, into the Description 1 tab.
-
Insert the wildcard character [Form_-2] directly below the question.
→ The registration form for your sweepstakes will be displayed instead of this wildcard character. -
Save the settings.
Form ID
The sweepstakes' form ID is always -2. Therefore, only one sweepstakes can be active at a time. |
3.2. Inserting a category into the online store layout
After you created the category of the type content you still have to insert it into your online store so that the sweepstakes becomes visible.
Inserting a category into the layout:
-
Go to CMS » Web design » Layout.
-
Select which template you want to insert the category into.
→ The PageDesignContent template is used in the example. -
Insert the wildcard character [Link_x] into an appropriate place in the layout (see the following code example and Figure 2).
-
Save the settings.
Inserting the category ID
Replace x in the code example with the category ID. |
<ul><li><a href="$Link_x" title="Participate in our sweepstakes.">Sweepstakes</a></li></ul>
In the following example, the category was inserted into the upper navigation bar (Figure 2).

3.3. Formatting of the sweepstakes form
Go to CMS » Web design » Layout » CSS and insert the following code example in order to format the form in CSS.
Inserting the CSS:
-
Go to CMS » Web design » Layout » CSS.
-
Copy the CSS code below and insert it underneath the already existing CSS code.
-
Save the settings.
#plenty_lottery_question_1, #plenty_lottery_question_2, #plenty_lottery_question_3 {
padding:8px;
margin: 6px 0px 6px 0px;
border:#999999 solid 1px;
display:block;
}
.question_select {
float:left;
display:block;
}
.question {
float:none;
margin-left:20px;
font-weight:bold;
display:block;
}
#plenty_lottery_data {
padding:8px;
border:#999999 solid 1px;
}
#plenty_lottery_data .cola,
#plenty_lottery_data .colb {
padding:4px;
}
Of course, you can choose how you want to design your sweepstakes. Using the settings above and the CSS code example will deliver the following results:

4. Confirming the registration
After the participant has registered for the sweepstakes, you can send them an email confirmation. To do so, create an Email template and select this email template as an automatic email.
Creating an email template to confirm the participation:
-
Create a corresponding Email template.
-
Select the Email template that you just created from the Registration for sweepstakes drop-down list.
-
Save the settings.
Saving email access data
You have to enter your email access data into the system before plentymarkets can send emails on your behalf from your email account. |
5. Adding an entry in the newsletter email folder
As soon as a participant has registered, their data can automatically be entered into a newsletter email folder. One advantage of this is that the data of the participants remains in your system even after you deleted the participants (see below). Another advantage is that you can easily administer the email addresses in this menu e.g searching or exporting data, sending newsletters etc. The data of the participants can be saved either in an already existing email folder or you can create a new one and save the data in that one. Of course, you can also copy or move the participants' data from one folder to another. Proceed as described below in order to create a new email folder for the participants of your sweepstakes.
Creating a new email folder:
-
Go to Setup » CRM » Newsletter » plentymarkets » Email folder.
-
Enter a name for the folder under Create new email folder.
-
Save the settings.
→ The email folder will be created and will appear in the overview. -
Select further settings for this email folder if desired.
In order for the participants' data to be imported into the right folder, you need to insert another wildcard character above the [Form_x] wildcard character in the category that contains the sweepstakes' registration (x is the ID of the form). This new wildcard character specifies which email folder the data should be imported into.
Inserting wildcard characters:
-
Go to Item » Categories.
-
Select the category of your sweepstakes.
-
Insert the wildcard character [EMailDirID::x] directly above [Form_x] (x is the ID of the form) and replace x by the ID of the desired email folder (example for the folder with ID 6: {% EMailDirID(6) %})
-
Save the settings.
6. Identifying the winner
You can see how many people have participated so far in the Setup » Client » Settings » Sweepstakes menu and there in the Overview area. You can identify the winner here once the sweepstakes has ended.
Identifying the winner:
-
Go to Setup » Client » Settings » Sweepstakes.
-
Click on the Identify winner button.
→ A new window will open. All participants will be listed here. The order is random.

The same email address can not be used twice for a sweepstakes. This means that each customer can only participate once. If a customer enters an email address that has already been used, then the form in the online store will not be sent. If a customer has several email addresses, then they can participate with every one of them.
7. Deleting participants
Proceed as follows if you want to delete the participants of an expired sweepstakes, e.g. so that they can participate in upcoming sweepstakes or simply because you do not need the data anymore.
Deleting participants:
-
Click on the delete icon to delete the participants of the sweepstakes.
-
Confirm your decision with OK.
The values in the overview will be reset to zero. After this you can set up a completely new sweepstakes or run the same one again.
Once you have deleted the participants, customers will be able to reuse email addresses that were used before.