Skip to content

Releases: bigredseo/brs-auto-apply-coupon

Version 1.0.4: Improved Coupon Validation & Mixed-Cart Notices

Choose a tag to compare

@bigredseo bigredseo released this 25 Nov 18:16

What’s New in Auto-Apply Coupon (v1.0.4)

This update makes the automatic coupon feature more reliable and more user-friendly:

  • No more blocked checkouts:
    If a coupon can’t be used because of product restrictions (like sale items), the plugin now removes it automatically so customers can still check out.

  • Clear notices for customers:
    When a coupon is removed because it isn’t valid, the customer gets a clear message explaining why.

  • Mixed-cart support:
    If the cart has items that qualify for the coupon and items that don’t, the coupon still applies to the valid items.
    Customers will see a message letting them know some products aren’t eligible, so there’s no confusion.

  • More accurate WooCommerce compatibility:
    The system now fully respects all native WooCommerce rules—excluded products, excluded categories, sale item restrictions, etc.

  • Cleaner, non-duplicated messages:
    WooCommerce recalculates totals multiple times during checkout, which could previously cause the same notice to appear more than once.
    Notices are now shown only once, even during checkout AJAX refreshes.

  • Improved handling of carts with only excluded items:
    The plugin now checks whether the cart contains only excluded items before attempting to apply the coupon, avoiding WooCommerce’s “invalid coupon” error messages.

  • Smarter notice resets when the cart changes:
    If customers add or remove items and coupon eligibility changes, the plugin resets notice flags to ensure messaging stays accurate.

Overall, this update makes discounts more transparent and prevents customers from getting stuck during checkout while providing clearer, more consistent communication throughout the cart and checkout experience.

Version 1.0.3 – Server Time Display & UI Improvements

Choose a tag to compare

@bigredseo bigredseo released this 22 Nov 05:23

Improvements

  • Added current server time and timezone display directly on the settings page.
  • Reformatted timestamp to MM/DD/YYYY HH:MM for easier interpretation.
  • Display now uses a unified notice-style box for better UI integration.

Why this matters

This release makes it easier for administrators to correctly configure time-based coupon activation by showing the exact time reference WordPress uses. No change to coupon logic—only improved visibility and clarity.

Compatibility

  • WordPress latest
  • WooCommerce latest

Version 1.0.2 – PUC Integration & Admin Improvements

Choose a tag to compare

@bigredseo bigredseo released this 22 Nov 04:35

What’s New in 1.0.2

Added

  • Added a “Settings” link directly to the plugin row on the Plugins screen for easier navigation.
  • Integrated Plugin Update Checker (v5.6) to enable GitHub-based automatic update detection.
  • Added author URL to the plugin header so “Big Red SEO” correctly links to https://www.bigredseo.com.

Updated

  • Improved plugin metadata to reflect the correct author URL.
  • Migrated Plugin Update Checker logic to the namespaced v5.6 implementation.
  • Corrected GitHub repository URL to include the .git suffix for proper VCS resolution.
  • Added conditional handling around VCS API initialization to prevent early-admin fatal errors.

This release resolves the previous update checker compatibility issues and prepares the plugin for reliable version tracking and GitHub-based updates going forward.

v1.0.1 – Release Workflow Fix

Choose a tag to compare

@bigredseo bigredseo released this 22 Nov 01:59

v1.0.1 – Release Workflow Fix

This update resolves issues in the GitHub Actions release workflow where the plugin slug was incorrectly detected during build. Previously, the workflow scanned the entire repository and could match plugin headers from other plugins or backup files, causing ZIP creation to fail.

Fixes

  • Corrected auto-detection of the plugin main file by limiting the scan to the top-level directory.
  • Ensures the correct plugin slug is used when building the release ZIP.
  • Prevents accidental detection of unrelated plugin files or test headers.
  • Improves reliability of version matching and ZIP packaging.

Notes

No functional changes were made to the plugin itself.
This update impacts GitHub release automation only.

v1.0.0 – First Stable Release

Choose a tag to compare

@bigredseo bigredseo released this 22 Nov 01:50

Initial Release (v1.0.0)

This is the first public release of BRS Auto Apply Coupon, a WooCommerce extension that automatically applies a coupon code during a user-defined date and time window.

Key Features

  • Auto-apply a WooCommerce coupon within a configured date/time range
  • Admin settings page for:
    • Coupon code
    • Start datetime
    • End datetime
    • Custom success message
  • WooCommerce dependency checks with automatic self-deactivation
  • Clean, modular file structure:
    • class-brs-admin.php for settings UI
    • class-brs-coupon-handler.php for coupon logic
  • Fully compatible with WooCommerce’s built-in coupon restrictions

Requirements

  • WordPress 6+
  • WooCommerce 8+
  • PHP 7.4+

Notes

This release focuses on simplicity and reliability — all coupon restrictions (minimums, categories, usage limits) continue to be managed directly inside WooCommerce coupons. The plugin handles only the automation and timing logic.


If you encounter issues or have feature requests, please open an issue on GitHub.