Pick Number Mod is addon for WooCommerce Lottery. In order to activate Pick Number Mod you need to have WooCommerce Lottery installed. We have discount coupon code for Pick Number Mod purchase on our home page (covers costs of WooCommerce Lottery).
- Pick Ticket Number
- Lucky Dip Button
- Manual Winning Number Picking
- Question / Answers
- Export participants CSV / Excel
- Instant Win Numbers
- Manually Add Order For Users – Assign Manually Ticket Numbers for Users
Pick Ticket Number
This feature enables users to select their ticket number. Feature is implemented as table or you can enable “randomly assign ticket number” option where number is randomly assigned on order creation. Tickets can be partitioned using alphabet so you can have (A1…A100, B1…B100, etc). If you have many tickets they can be sorted in tabs for better user experience:
We have implemented ticket reservation which is useful when user take some time (too much time) to complete checkout (and payment). This is to prevent another user to do checkout faster with same ticket numbers (since previous user would get error message that checkout cannot be completed since someone else purchased that same ticket). Good values for ticket reservation is 3-5 minutes while Hold Stock should be 1 minute lower than ticket reservation time (after Hold Stock time passed order will be canceled). Hold Stock can be set in WooCommerce Settings > Products > Inventory and ticket reservation can be set in WooCommerce Settings > Lottery section.
Lucky Dip Button
Lucky dip button is useful when you have a lot of tickets but you do not use “randomly assign ticket number” option and you want to make users ticket selection easier but still retain option that user can select their own numbers manually. Feature has to be enabled in WooCommerce Settings > Lottery > Show lucky dip button – there is also option to enter quantity “Use qty with lucky dip button”.
You can also use shortcode shortcode for lucky dip with quantity – [lottery_lucky_dip_buton qty=”5″ label=”buy 5 tickets”] and check this useful code snippet https://pastebin.com/0itq7wU8 which adds buy 5 tickets button next to the lucky dip form.
In WooCommerce Settings > Lottery Tab
you need to enable Lucky Dip button feature
Manual Winning Number Picking
Manual winner pick is useful when you use 3rd party for generating winning numbers like national lottery or service like random.org. Once lottery is finished winners will not be announced until you enter winning number in backend. Main difference between automatic winner selection by plugin itself and manual winner picking is that plugin will always determine winner in case min tickets limit is reached and lottery will have winner. With manual picking winner it is possible that lottery will not have winner if no one purchased number that is winning number.
Question / Answers
When you want to have skill based competitions you can use this feature to set question and provide range of answers which users can select. You can allow only correct answers or let user answer anything they want but in case of incorrect answer remove that particular ticket from draw. You can have question in form of image, see FAQ item no 39. If you do not allow wrong answers when having manual pick winner enabled you will need to make sure that winning number has selected correct answer.
Export participants CSV / Excel
Lottery history block has option to export data in CSV / Excel. With button “Column visibility” you can select user details like phone number, address, etc (if user has entered that info during checkout).
Instant Win Numbers
Instant Win is option to give away some smaller prizes before lottery finishes. Basically if someone picks right number that user becomes entitled to instant win prize defined by website owner. User with correct number will find out about instant win only when order has completed or processing status which means that order has been paid for. We have also tutorial with some explanations regarding instant win numbers here. Instant winners will receive email notification about the instant win prize once payment clears for order (and numbers are right ofcourse). See screenshot here how we display instant win numbers in frontend for clients.
Basically you can announce that you have 10 instant win prizes and not display numbers in frontend if you enabled users to pick their number or you can announce prizes and numbers and set “randomly assign ticket number” so user gets random number in which case numbers displayed in frontend will not be a problem since everyone will get random number for lottery. Instant winner is published only when order is completed. There are also email notifications for admin and winner:
Instant winner info can be shown in product TAB or using [lottery_instant_winners_tab] shortcode. If you use shortcode you can disable TAB in Woo Settings > Lottery. More about instant win option and security considerations – click here.
Entry Lists
This is page where you list all lotteries and its participants. To enable entry lists create one new page called for example “Entry Lists”, go to WooCommerce Settings > Lottery and scroll down to dropdown labeled “WC Lottery Entry Page” then in dropdown select newly created page. This feature is WooCommerce Lottery feature but we are mentioning it here because it could be useful and many clients asked for it. You can see entry list page here.
Automatic Relist
This is implemented as section in edit lottery page. You can set relist conditions (relist if lottery fails or even if it is success), time after which lottery will be relisted and duration of relist. To make things more convenient old lottery data can be saved as CSV file for later access. For relist to work you will need to setup cronjob https://domain.com/?lottery-relist=true
More info about auto relisting is in FAQ item no 40. For failed lotteries there is Extend option which will retain all particinapts but will extend end date for lottery, please consult documentation for more info.