=== WooCommerce Custom Order Confirmation/Thank You Pages === Contributors: natewren Donate link: https://natewren.com Tags: woocommerce, thank you page, checkout, redirection Requires at least: WordPress 5.6 Tested up to: WordPress 6.5 Requires PHP: 7.4 WC requires at least: 7.1 WC tested up to: 8.0 Stable tag: 1.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Redirect customers to product-specific thank you pages after purchase with priority control. == Description == Enhance your WooCommerce store by creating customized thank you page experiences for different products. This plugin allows you to: * Assign unique thank you pages to individual products * Set priority levels for redirection (helpful when multiple products are purchased) * Seamlessly integrates with WooCommerce's order system * Fully compatible with High-Performance Order Storage (HPOS) * Simple setup through WooCommerce settings or product edit screens == Installation == 1. Upload the plugin files to the `/wp-content/plugins/custom-thank-you-pages` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Configure your thank you pages: - **Global Settings**: WooCommerce → Settings → Thank You Pages - **Per-Product**: Edit any product → General tab == Frequently Asked Questions == = Can I use different thank you pages for different products? = Yes! Each product can have its own thank you page assigned in the product settings. = What happens if a customer buys multiple products? = The thank you page with the highest priority (lowest number) will be used. You can set priorities from 1 (highest) to any positive number. = Does this work with WooCommerce subscriptions? = Yes, the plugin is fully compatible with WooCommerce Subscriptions. = Is this compatible with HPOS? = Yes, the plugin is fully compatible with WooCommerce's High-Performance Order Storage system. == Screenshots == 1. Thank You Page settings in WooCommerce admin 2. Product-level thank you page configuration 3. Priority setting for redirection rules == Changelog == = 1.0.0 = * Initial release with core functionality: - Product-specific thank you pages - Priority-based redirection - WooCommerce settings integration - HPOS compatibility == Upgrade Notice == 1.0.0 First stable release. No upgrade requirements for new installations. == Developer Notes == Filters and actions available for customization: `cpty_thank_you_redirect_url` - Modify the final redirect URL `cpty_redirect_priority` - Adjust priority calculation `cpty_valid_order_statuses` - Change which order statuses trigger redirection GitHub repository: [Your Repo URL] == License == GNU General Public License v2 or later