WooSocialUnlock — How To

Summary

Let users complete actions (share/follow/subscribe/join) to instantly unlock a coupon, discount, or free download.

Prerequisites

Install & Activate

Upload ZIP → ActivateWooCommerce → Settings → Social Unlock.
Add provider API keys (Links to “create API key” open in a new tab).

Enable on a Product

  1. Products → Edit the product.
  2. Open the Social Unlock tab.
  3. Toggle Enable for this product.
  4. Choose Required Actions (Share, Follow, Subscribe, Join, Custom).
  5. Choose Reward (Reveal unique coupon / Auto-apply discount / Unlock file/free product).
  6. Update product.

Display Options

Verification & Anti-abuse

Caching/CDN

Exclude:

/?add-to-cart=*
/?wc-ajax=*
/cart/
/checkout/
/wp-json/wc-social-unlock/v1/*

Troubleshooting

Uninstall

Deactivate → Delete (toggle “Remove data” in Settings to wipe widget/task setups).