Blocks are preferred for new pages because they provide editor controls and Global Styles support. Four shortcodes remain available for classic editors, widgets and compatibility layouts.
[rafflewp_raffle id="123" show_winners="yes"][rafflewp_winners id="123"][rafflewp_my_tickets][rafflewp_store_credit]rafflewp_rafflerequires a giveaway product ID and renders a compact summary;show_winnersdefaults to yes.rafflewp_winnersrequires a product ID and is a simpler table than the Winners block. Prefer the block when privacy formatting, column controls or load-more behaviour matters.rafflewp_my_ticketsembeds the logged-in customer entries dashboard; guests receive a login prompt.rafflewp_store_creditrenders the basket/checkout credit panel and can be empty when no WooCommerce cart session exists.
Compatibility notes
- Keep WooCommerce’s quantity and add-to-cart form available wherever customers are expected to enter.
- Product-specific blocks need a valid Product ID or a resolvable product/query context.
- Completed Draw remains empty until main winners have been recorded.
- Store Credit is a basket/checkout panel; use the WooCommerce My Account Site credit endpoint for full customer credit history.
After plugin updates, re-test any page that depends on code-editor-only attributes or theme-specific WooCommerce hooks.
