DealCraft runs a wheel, scratch card or mystery box on your shop. You choose the chance to win and the budget; the game stops handing out prizes when the budget is spent. This plugin connects it to your checkout:
- A winning code typed into the normal coupon field is checked with DealCraft and applied: a percentage, a fixed amount, a free product, or free delivery.
- The code is checked again when the order is placed, so a code spent a moment ago is refused before the payment is taken.
- When the order is paid the code is marked used. When the order is cancelled, refunded or fails, the code is given back to the customer.
- Optionally, the game pop-up is added to every page from your public key.
No coupons are created in WooCommerce. Your own coupons keep working exactly as before.
- Plugins → Add New, search for "DealCraft", then Install and Activate.
- Create a free account at https://dealcraft.io and build a game. Dashboard → Integrations → Create key. Copy the secret key (sk_live_…) and the public key (pk_live_…).
- WooCommerce → Settings → DealCraft. Paste both keys and save. The page says whether the key works.
- Open any page of your shop with ?deal_preview=1 at the end of the address to see the game at once.
Use a test key (sk_test_…) first: codes are checked for real but never spent, and every order gets a note saying what would have happened.