=== Raffle Play Woocommerce ===
Contributors: dan009
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HH7J3U2U9YYQ2
Tags: raffle, raffle tickets, tickets, woocommerce, woocommerce raffle, ticket raffle,
Requires at least: 5.0.1
Tested up to: 6.7
Stable tag: 6.4.0
Requires PHP: 5.2.4
License: Proprietary license of Tuskcode.com
License URI: https://tuskcode.com

Raffle Play Woo is the next raffle plugin for your website. Adds raffle tickets to your woocommerce products. Embeds the raffle ticket numbers in the order email and admin view.
It offers a complete workflow of managing raffle tickets from the admin view to the user experience.  

== Description ==
Raffle Play Woo is a great plugin to start a raffle on your website. With Unlimited tickets, custom email labels, and view over the orders, and tickets assigned, it offers a good control for a website raffle.
For support or suggestions please email me at: developer@tuskcode.com

== Installation ==
1.Upload the plugin
2.Activate it 
3.Go to Raffle Play Woo Installation page and follow the instructions (with steps, and pictures)

== Frequently Asked Questions ==

= What is Raffle Play Woo = 
Raffle Play Woo integrates a raffle ticket system on your woocommerce websites, it allows normal products to be assigned a number of raffle tickets


== Screenshots ==

== Changelog ==

= 2024-11-22
* Added functionality when order is deleted, tickets for that order are also deleted
* Added filters to manage tickets when order is trashed or deleted. 

= 2024-10-23
* Fixed showing tickets at checkout on mobile
* Added increased number of pagination on View Tickets Page

= 2024-09-14
* Fixed generating tickets at checkout after time expired

= 2024-09-14
* Fixed error when changing ticket number in the admin "View Tickets"
* Added - show "hand" icon in View Tickets when user picks ticket at checkout
* Fixed css at checkout for User Pick Tickets pop up
* Removed lucky numbers for User Pick tickets numbers at checkout
* Added message in the View Tickets for exporting all tickets (Reports page) 

= 2024-09-09
* Fixed issue at checkout when user changing ticket

= 2024-09-08
* Added generate tickets at checkout for limited but not random tickets
* Added Logs tab 

= 2024-09-01
* Added user pick tickets at checkout

= 2024-07-19
* Fixed query to show sold raffle tickets in product tab when HPOS is activated
* Added table data to show tickets with functionality of sorting by column, search, and pagination
* Added -1 for limit to display all tickets for that raffle
* Updated shortcode to use data table and the unlimited rows.
* Updated translations

= 2024-07-16
* Added product tab to display last sold tickets
* Added shortcode to display table of latest raffle tickets sold (shown based on raffle )
* Fixed tickets generated when showed at checkout when cart is updated using ajax.
* Added Search raffle tickets by phone number

= 2024-06-20
* Fixed lucky number drawn too early when lower purchased limit used
* Fixed undefined variable 
* Added image for product card countdown (admin)
* Added image for product card progressbar (admin)

= 2024-05-25
* Added - Lucky Numbers
* Added - Custom shortcode for progress bar
* Fixed - Changing customer in the order, will update the raffle tickets in My Account page
* Fixed - Removed expired reserved tickets after time expired
* Fixed - Removed raffle tickets limit for variation tickets

= 2024-04-24
* Optimised query to insert raffle tickets
* Created shortcode to let customers search for raffle tickets

= 2024-04-17
* Fixed generating tickets when order is created manually
* Added option to select on what status order the tickets are generated

= 2024-04-01
* Fixed loading script at checkout for generated tickets
* Fixed generating tickets and reserving for not enabled feature
* Fixed countdown issue with mysql timezone


= 2024-03-23
* Fixed view raffle tickets
* Added Generate and Show raffle tickets 
* Added option to generated and show per raffle
* Settings to display raffle tickets at checkout
* Added different font for text in admin


= 2024-03-05
* Fixed compatible with Block cart 
* Fixed compatible with Checkout cart
* Fixed Promotion product add to cart (block) 
* Fixed Promotion product updated cart (block)

= 2024-02-18
* Added Promotional Raffle
* Added shortcode to display tickets based on order id

= 2024-01-24
* Added User Custom Access

= 2023-12-12
* Added Customization for tickets view in Thank you Page / Email
* Added Print option for tickets

= 2023-12-08
* Added Orders Table view raffle tickets
* Fixed Reports by Region
* Fixed "View By Order" when Legacy data stored used by Woocommerce


= 2023-12-05
* Added Countdown in product card
* Added Progress bar in product card and product page
* Added "View by Order" - tickets can be grouped by order in "View Tickets" tab
* Added Raffle tab in product page
* Updated - Compatible with new HPOS, and legacy order storage.
* Added - Customize Progress Bar tab in General Raffle.
* Added - Customize Progress Bar from template

= 2023-09-27
* Added functionality to fix duplicates tickets after the order is created
* Added functionality to edit raffle tickets
* Removed test raffle status
* Updated translation to all languages

= 2023-09-06
* Moved search duplicates from Main Settings page to View Page
* Duplicates are now done based on raffle
* Fixed Report export to show duplicated tickets
* Fixed Reports page render 
* Fixed show duplicates in view grid
* Added in the license page input for external server

= 2023-08-03
* Fixed product table column filter 
* Added shortcode with filter with raffle information

= 2023-05-19
* Added Leading Zero to Tickets in Admin Section -
* Added Leading Zero tickets to show in Thank you Page / Email / PDF / Admin Order

= 2023-04-29
* Fixed error when chaning order status, product was not found in the order

= 2023-04-26
* Added option to not generate raffle tickets for processing and completed orders

= 2023-04-18
* Raffle Tab in Woocommerce Account tab
* Show Raffle Tickets grouped by Order / Raffle in the Account Tab
* Custom Tab Name
* Custom Tab Location
* Custom Content Display of Raffle Tickets in the Account Page

= 2023-02-08
* Added 21 Translated Languages

= 2022-11-08
* Added custom ticket image background to ticket number
* Added seven ticket images
* Show raffle id in the raffle tooltip info
* Added raffle id to email / thank you template

= 2022-10-34
* Added Random ticket generator for ranged raffle

= 2022-09-24 
* Changed start ticket number from 0
* Fixed Report by Product - table prefix not starting with wp_
* Fixed Show linked product name for more than 10 raffles 


= 2021-12-29
* Fixed last used ticket, timestamp column, not reliable, might cause duplicated tickets
* Added Product Name in the grid view
* Columns in Grid view will be rememered whenever the page is opened again
* Show duplicated tickets in the View Tickets page


= 2021-12-08 =
* Added extra setting to hide/show terminated raffles in product raffle list
* Fixed tickets display in the admin/email 

= 2021-01-20 =
* First draft *


== A brief Markdown Example ==
1. Marks a product as a raffle product
2. Assign unlimited number of tickets to a single product
3. Overview of the raffle products
3. Starting raffle number from 1000
4. Custom labels for email order
5. Custom Prefix for tickets
6. Cancelled, Refunded, and Failed will not be assigned any raffle tickets
7. View all the raffle tickets bought
8. Filter the raffle tickets view based on dates
9. Unlimited ticket raffle