WooCommerce Pick Ticket Number Modification


Modification / addon for WooCommerce Lottery plugin which enables participants to:

  • pick ticket number (option to randomly assign ticket numbers without number picking)
  • option to use alphabet partitioning for ticket numbers (A1…A100, B1…B100, etc)
  • lucky dip option with quantity selector
  • question and answers (with option to allow only true answers or allow checkout with wrong answer but do not allow to participate in draw)
  • website administrator can manually picking winner (when you want to use 3rd party competition drawing option like https://www.random.org/ or your own random number generator)
  • sort tickets in tabs (when there are a lot of tickets)
  • CSV and Excel data export (sortable)

Listed price is one time fee for unlimited updates and support. Base WooCommerce Lottery plugin can be purchased here.


Pick Ticket Number mod screenshots can be found in product gallery on this page for both frontend and backend.

What’s new and version changelog:

** Version 1.3.4 **
- Fix: lucky dip error message
- Fix: performance and optimizations

** Version 1.3.3 **
- Fix: additional check for duplicate tickets

** Version 1.3.2 **
- Fix: notice
- Fix: escaped text in CSV / Excel history table

** Version 1.3.1 **
- Fix: lucky dip log in message
- Fix: too many messages when adding tickets via lucky dip
- Add: option to checkout but without assigning number for wrong answer
- Add: option to have answers as dropdown menu
- Add: participant phone number in CSV / Excel lottery history table
- Add: if you allow to checkout with wrong answer and enable option "Remove 
ticket numbers from orders with wrong answer." this message "Your answers is 
not correct. In order to participate you will need to select right answer, 
pick your ticket(s) and checkout again." will be displayed in order email if
"Show notice for wrong answer in user order email" option is enabled.

** Version 1.3.0 **
- Add: Option to use alphabet partitioning for ticket numbers
- Add: Lucky dip option with quantity selector
- Fix: small fixes and translations

** Version 1.2.10 **
- Fix: bug when lottery failed with manually pick winners
- Fix: bug when relisting lottery with manually pick winners
- Fix: quantity selector issue
- Fix: bug with ticket numbers starting with 0
- Fix: spelling and translations

** Version 1.2.9 **
- Add: CSV and Excel export for single lottery history with sortable columns
- Fix: performance improvement

** Version 1.2.8 **
- Fix: bug when clicking tickets fast only some were added to cart
- Fix: css bug

** Version 1.2.7 **
- Fix: bug when picking same ticket number on random
- Fix: bug when randomly assigning only 1 ticket

** Version 1.2.6 **
- Fix: manual pick winner problem

** Version 1.2.5 **
- Fix: JS issue

** Version 1.2.4 **
- Fix: Update woocommerce_quantity_input function 
- Add: Randomly generate ticket number(s) on checkout without picker

** Version 1.2.3 **
- Fix: Bug in frontend when forcing correct answer and adding to cart

** Version 1.2.2 **
- Fix: Datetime format taken from WP settings for timestamp in lottery history tab

** Version 1.2.1 **
- Fix: Delete ticket from product admin
- Add: Ticket number and answer in admin history

** Version 1.2.0 **
- Add: Sort ticket numbers in tabs and select number of ticket per tab
- Add: Frontend js validation messages for ticket numbers
- Fix: PHP notices

** Version 1.1.9 **
- Fix: Manual tampering with ticket numbers and quantity during checkout
- Fix: Winners template unclosed spans

** Version 1.1.8 **
- Fix: Manual pick numbers bug when lottery is closed and saved in backend

** Version 1.1.7 **
- Fix: Enable login at checkout for lottery with no max ticket per user

** Version 1.1.6 **
- Fix: Sending emails after lottery is closed bug for manually picked winners

** Version 1.1.5 **
- Fix: Text domain bug

** Version 1.1.4 **
- Fix: localization bug
- Fix: Error message on order recieved page

** Version 1.1.3 **
- Add: Manualy pick winners
- Add: Allow only true answers
- Fix: Relist bug

** Version 1.1.2 **
- Fix: Problem with creating database on activation

** Version 1.1.1 **
- Add: Alert for guest users to login when tring to pick number / ticket
- Fix: Replaced woocommerce_get_page_id with wc_get_page_id

** Version 1.1.0 **
- Add: Reservation of ticket numbers

** Version 1.0.0 **
- Initial release