=== BOGO & Free Gift Coupons for WooCommerce — DC BOGO === Contributors: deadpool608 Tags: bogo coupon, free gift coupon, bogo, woocommerce bogo, buy one get one Requires at least: 5.0 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.1.7 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Donate link: https://www.ramira.in/support/ Create BOGO coupons for WooCommerce & free gift coupon deals. Auto-apply category BOGO rules, free gifts, and quantity discounts - 100% free. == Description == **DC BOGO Coupons** is the most intuitive and powerful solution for creating advanced **BOGO coupons for WooCommerce**, automatic **free gift coupon** deals, and buy-one-get-one promotions. Whether you want to set up a classic "Buy One Get One Free", offer an automatic **free gift with purchase**, or create targeted category discounts, the **DC BOGO coupon** plugin delivers enterprise-grade coupon rules completely free. Unlike other WooCommerce BOGO plugins, DC BOGO Coupons includes **category-based BOGO rules and category discount offers completely free** — a feature that others charge premium prices for! = Why Choose DC BOGO Coupons for WooCommerce? = * **Category BOGO Included Free** — Create "Buy from Category A, Get Product B" offers without paying for premium add-ons. * **Auto-Add Free Gift Coupon Items** — Auto-adds free items and promotional gifts directly to cart; no manual customer selection needed. * **Smart & Flexible Rules** — Works seamlessly with simple products, product categories, and variable products. * **Dynamic Cart Reminders** — Shows specific product names (e.g., "Add 1 more Knit Towel to unlock your free gift!") instead of generic cart messages. * **Conversion-Driven UX** — Clean admin interface, real-time progress bars, and instant cart totals updates. = Powerful BOGO Coupon & Free Gift Features = **Flexible BOGO Coupon Rule Types:** * **Buy X Get Y (Different Products BOGO)** — Buy Product A, get Product B free or at a discount. * **Buy X Get X (Same Product BOGO)** — Classic Buy 1 Get 1 Free, Buy 2 Get 1, Buy 3 Get 2. * **Category BOGO Coupon Rules** — Buy from Category A, get a specific product or item from Category B. * **Buy Specific Product, Get from Category** — E.g., Buy a Coffee Maker, get any Mug at 50% off. * **Buy from Category A, Get from Category B** — Completely free category-to-category BOGO rules. **Discount & Free Gift Options:** * **Free Gift (100% Discount)** — Give away complimentary gifts with purchase. * **Percentage BOGO Discounts** — E.g., Buy 1, Get 2nd at 50% off. * **Fixed Amount Discounts** — E.g., Buy 1, Get $10 off another item. * **Cheapest Item First Calculation** — Smart price calculation automatically applies discount to the lowest-priced eligible item. **Auto-Add Free Gift Functionality:** * Automatically add free gift items to cart when qualifying products are added. * Supports both simple and variable products (with variation selection). * Smart stock verification before adding free items to prevent overselling. * Smart quantity management ensuring customers get exact promotional counts. * Automatic removal of free gifts when qualifying cart items are removed. **Advanced Conversion Features:** * **Repeatable Offers** — Scale deals automatically: Buy 1 Get 1, Buy 2 Get 2, Buy 3 Get 3, etc. * **Usage & Customer Limits** — Set total campaign limits and per-customer limits. * **Date Scheduling** — Schedule start and end dates for holiday promotions and flash sales. * **User Role Targeting** — Restrict exclusive BOGO coupon offers to VIPs, wholesalers, or subscribers. * **Smart Cart Notices** — Inform shoppers with dynamic notices of how many more items they need to qualify for a free gift coupon. * **Visual Progress Bar** — Visual cart progress bar motivating customers to increase average order value. * **Coupon Code or Automatic Application** — Run automatic deals or require a coupon code at checkout. = Custom WooCommerce Development & Support = Need custom BOGO logic, checkout customizations, or custom WooCommerce plugin development? * **Hire the Developer / Custom Work:** [Get in touch](https://www.ramira.in/contact/) * **Support Ongoing Development:** [Support & Donate](https://www.ramira.in/support/) * **Community Support Forum:** [WordPress.org Plugin Support](https://wordpress.org/support/plugin/dc-bogo-coupons/) == Installation == 1. Upload the plugin files to the `/wp-content/plugins/dc-bogo-coupons` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Navigate to **Marketing > BOGO Coupons** to create your first offer! == Frequently Asked Questions == = How do I create a BOGO coupon in WooCommerce? = Navigate to **Marketing > BOGO Coupons** in your WordPress dashboard, click **Add New Rule**, configure your "Buy" condition (choose specific products or categories) and your "Get" reward (set discount percentage or 100% free gift), and hit **Publish**. = Can I create a free gift coupon or gift with purchase offer? = Yes! DC BOGO Coupons lets you set up automatic free gifts when a customer buys a qualifying product or category, or require a coupon code at checkout for special gift-with-purchase campaigns. = Does this work with variable products? = Yes! You can select specific variations or the parent product for both buy rules and free gift rewards. = Can I limit the offer to specific user roles? = Yes, you can restrict offers to specific user roles like 'Customer', 'Subscriber', or custom roles. = Does it support coupon codes? = Yes, you can choose to apply the BOGO offer automatically or require a WooCommerce coupon code. = Are category-based BOGO rules really free? = Yes! Category-based BOGO rules and category discounts are completely free and included out of the box in the DC BOGO coupon plugin. == Screenshots == 1. **All Coupons** - Manage your BOGO offers in one place. 2. **Add New Coupon** - Easy-to-use interface for creating rules. 3. **Cart Notice** - Smart reminders in the cart. 4. **Progress Bar** - Visual encouragement for shoppers. == Changelog == = 1.1.7 = * Feature: Added dedicated developer support, custom work inquiry, and donation links to admin settings and rule editor. * Feature: Added non-intrusive, timed review prompt for active store managers to leave WordPress.org feedback. * Improvement: Added quick plugin action and row meta links (Settings, Support, Hire Developer, Rate ★★★★★). * Improvement: Updated documentation with direct developer support channels. = 1.1.6 = * Improvement: Enhanced plugin discovery and SEO metadata for WooCommerce BOGO and free gift coupon searches. * Improvement: Verified and updated compatibility with WordPress 7.1 and WooCommerce 11.2. * Improvement: Optimized cart notice messaging for free gift qualification and BOGO deals. * Tweak: Documentation and tags optimization aligned with WordPress.org guidelines. = 1.1.5 = * Fix: Resolved critical activation error where main plugin class was missing during activation hook. = 1.1.4 = * Security: Added nonce verification and rate limiting to the frontend progress AJAX endpoint. * Improvement: Cached active BOGO rule lookups to reduce database load on cart pages. * Improvement: Improved free gift and BOGO offer discoverability with expanded search keywords. * Improvement: Updated WordPress compatibility to 7.0. = 1.1.3 = * Fix: Refactored admin code to remove raw script/style tags for better compliance. * Fix: Moved plugin assets to correct directory structure. * Improvement: Updated plugin icon path. = 1.1.2 = * Fix: Resolved admin UI glitches where "Get" fields were not clearing correctly when switching rule types. * Fix: Improved "Get" field disabling logic to prevent selecting conflicting items. * Fix: Added auto-clear functionality for "Get" fields when "Buy" selection changes in "Different Items" mode. * Fix: Resolved issue with "Specific Products" (AJAX) allowing selection of conflicting items. = 1.1.1 = * Fix: Resolved critical bug where auto-added items were being removed incorrectly when cart quantity decreased. * Fix: Fixed issue where auto-added items were not receiving the correct discount (free/percentage). * Improvement: Enhanced cart reminder messages to show specific product names instead of generic text. = 1.1.0 = * New: Added visual progress bar for cart totals. * Improvement: Refined auto-add logic for better performance. = 1.0.0 = * Initial release. == Upgrade Notice == = 1.1.7 = Recommended update: Added developer support and freelance inquiry links, direct review feedback helpers, and admin settings enhancements. = 1.1.6 = Recommended update: WordPress 7.1 and WooCommerce 11.2 compatibility updates, refined cart messaging, and enhanced offer discovery. = 1.1.5 = Critical fix for plugin activation error. Recommended update for all users. = 1.1.4 = Security, performance, and compatibility improvements. Recommended update for all users. = 1.1.2 = Critical fix for admin UI glitches and "Get" field clearing. Recommended update. = 1.1.1 = Includes improvements to cart messages and fixes for discount calculation logic. Recommended update. = 1.1.0 = Critical bug fixes for auto-add functionality. Recommended update for all users.