Design Cart Spin To Win

By Paweł Nosko

0+ active installationsVersion 1.0.2

Prize wheel popup for WooCommerce: customers spin for a discount, enter their email, and receive a coupon code.

Description

Design Cart Spin To Win adds an interactive prize wheel popup to your WooCommerce store. Visitors spin the wheel, land on a discount, enter their email address, and get the coupon code delivered by email. Every claim is stored in the admin panel for review and CSV export.

How it works

  1. Enable the module and pick which WooCommerce coupons appear on the wheel.
  2. Choose where and how often the popup opens (homepage, all pages, once, every session, or button-only).
  3. Customize copy, colors, and typography for the wheel and the claim card.
  4. On the storefront the customer spins, wins a prize, confirms privacy consent if required, and receives the code by email.

Admin sections

  • General — enable/disable, display pages, frequency, CSS trigger selectors, popup background colors
  • Coupons — select active WooCommerce coupons shown as wheel segments
  • Emails — collected addresses with prize and code, full or email-only CSV export
  • Content — popup texts, claim form, RODO consent, email subject and body with placeholders
  • Typography — color, size, weight, and uppercase for each text block (plus button background)

Email placeholders

{coupon_code}, `{prize_amount}`, `{prize_name}`

Author: Paweł Nosko

Project page: Spin to Win for WooCommerce – free prize wheel with discount coupons

Company: Design Cart

Requires an active WooCommerce installation.

Installation

  1. Upload the design-cart-spin-to-win folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen in WordPress (WooCommerce required).
  3. Open Spin To Win in the admin menu to configure settings and select coupons.

FAQ

Does it create coupons automatically?

No. Create coupons in WooCommerce (Marketing → Coupons), then select them in Spin To Win → Coupons.

When does the popup appear?

You can show it on the homepage only or on every storefront page, and control frequency: once (browser memory), every session, every reload (for testing), or only after clicking an element matching your CSS selectors.

Where are collected emails stored?

In a dedicated database table. Browse them under Spin To Win → Emails and export to CSV (all fields or emails only).

Can I open the wheel with a button?

Yes. Set frequency to “button only” (or keep auto-open) and add your CSS selectors in General, e.g. .dcstw-open. You can also use data-dcstw-open on any element.

Changelog

1.0.2

  • Renamed plugin prefix from dc_stw / DC_STW to dcstw / DCSTW (WordPress.org requires 4+ character prefixes)
  • Migrates existing options and leads table from legacy names on update

1.0.1

  • Upgraded Three.js from r128 (2021) to 0.187.0 (latest stable ES modules)
  • Removed load_plugin_textdomain() (WordPress.org loads translations automatically)

1.0.0

  • Initial release: admin dashboard, settings sections, frontend prize wheel, email claim and CSV export