Linux 软件免费装
Banner图

DealCraft

开发者 dealcraftio
更新时间 2026年10月29日 02:49
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce coupons gamification spin to win discount wheel

下载

0.4.5

详情介绍:

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: No coupons are created in WooCommerce. Your own coupons keep working exactly as before.

安装:

  1. Plugins → Add New, search for "DealCraft", then Install and Activate.
  2. 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_…).
  3. WooCommerce → Settings → DealCraft. Paste both keys and save. The page says whether the key works.
  4. 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.

常见问题:

I take cash on delivery. When is the code spent?

Choose "Completed" under "Mark a code used when the order is". The code is then spent only when you complete the order.

I already pasted the DealCraft script into my theme.

Leave it, or remove it and use the public key field instead. The script runs once either way.

My speed plugin delays scripts.

WP Rocket, LiteSpeed Cache and Autoptimize are told to leave the DealCraft script alone. For any other optimiser, exclude /w.js from combining, deferring and delaying.

What if DealCraft cannot be reached?

A code that cannot be checked is refused; a cart is never discounted on a guess. Marking a paid order's code as used is retried every five minutes, up to six times, and noted on the order.

更新日志:

0.4.5 0.4.4 0.4.3 0.4.2 0.4.1 0.4.0 0.3.2 0.3.1 0.3.0 0.2.1 0.2.0 0.1.0