=== Pay to Unlock WooCommerce Paywall - Capripio ===
Contributors: capripio
Tags: woocommerce, paywall, content locker, premium content, monetize
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sell premium parts of any post in minutes. Lock content sections and charge readers to unlock them instantly via WooCommerce.

== Description ==

**Pay to Unlock WooCommerce Paywall - Capripio** lets you lock specific sections of any post or page and charge readers to unlock them — no membership plugin needed.

Simply wrap content in the `[cppu_unlock]` shortcode or use the Gutenberg block, connect it to a WooCommerce product, and you're done. Readers pay once and instantly see the content.

This plugin is not developed by or affiliated with WooCommerce or Automattic.

= Why Pay to Unlock WooCommerce Paywall - Capripio? =

* **Simpler than memberships** — no subscriptions, no user roles, no drip systems
* **Sell premium paragraphs, code snippets, tutorials, templates, and more**
* **Guest purchases supported** — buyers don't need an account
* **Instant unlock** — no page reload after purchase

= Features =

* Unlimited locked sections per post/page
* Gutenberg block + shortcode support
* Connect each lock to a WooCommerce product
* Instant unlock after purchase
* Guest purchases via secure token (no account required)
* Four visual themes (Dark, Light, Minimal, Glass) with custom button colour
* Blur/fade preview overlay with configurable word count
* Purchase validation (buyers never pay twice)
* Unlock & conversion analytics

== Installation ==

1. Upload the `capripio-paywall-unlock` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Ensure WooCommerce is installed and active
4. Create a WooCommerce product for the content you want to sell
5. Add a locked section using the Gutenberg block or shortcode:

`[cppu_unlock product_id="123" key="my-section"]Your premium content here.[/cppu_unlock]`

== Frequently Asked Questions ==

= Does the buyer need a WordPress account? =

No. Guest purchases are fully supported using secure unlock tokens stored in a cookie.

= What happens if a buyer requests a refund? =

Access is not automatically revoked on refund. You can manually delete the unlock record from the database if needed.

= Does this work with the block editor? =

Yes. A dedicated Gutenberg block is included alongside shortcode support.

= Is this plugin affiliated with WooCommerce or Automattic? =

No. This is an independent plugin that integrates with WooCommerce. WooCommerce is a trademark of Automattic.

== Screenshots ==

1. Analytics section for each locked content. 1/2
2. A locked content section with blur overlay and unlock button
3. Admin settings page with theme picker and live preview 1/3
4. Admin settings page with theme picker and live preview 2/3
5. Admin settings page with theme picker and live preview 3/3
6. Analytics section for each locked content. 2/2

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
