We have created two video tutorials about process of adding orders manually for user for Lottery product with ticket numbers and question / answers. First of all make sure you have latest WooCommerce Lottery and Pick Number Mod addon v2.4.0 – you can find all about pick number mod features here.
Usually we have suggested clients to use Login As User plugin and do regular checkout as client using coupon code to manually create order for user but with latest updates we have fixed everything so you can manually create order for Lottery using WooCommerce Orders > Add Order.
We need to pay some attention to how this is done because we need to add two order meta fields called “Ticket number” and “Answer”. If you need to add more than 1 ticket you need to select appropriate quantity and add tickets one by one in its meta field “Ticket number”. For lotteries with randomly assigned tickets, meta “Ticket number” will be automatically added when you save “Answer” meta field. Answer in meta field is not string but number for example if first answer is “Red” you will enter number 1 instead of string “Red”.
Please check video tutorials below.
How to add WooCommerce Lottery order for lotteries with ticket numbers and question / answers:
How to WooCommerce Lottery order for lotteries with randomly assigned ticket numbers and question / answers:
Here is screenshot of Lottery History for order that was added manually:
This topic was covered in WooCommerce Lottery documentation FAQ item no 34 which is now updated to with explanation of this additional way of adding orders (participants) manually for WooCommerce Lottery.