WordPress.org

Plugin Directory

Nexaura Coupon Cards for WooCommerce – Display & Apply Coupons on Product Pages

Nexaura Coupon Cards for WooCommerce – Display & Apply Coupons on Product Pages

Description

Nexaura Product Coupons for WooCommerce is a lightweight, fast, and secure WooCommerce extension by Nexaura Studios that lets you display beautiful promotional coupon cards directly on your product pages.

Key Features

  • Admin Dashboard – Intuitive card management under WooCommerce menu
  • Live Preview – See your coupon card design in real-time as you edit
  • One-Click Copy – Customers copy coupon codes with a single click
  • Apply & Buy – Adds product to cart, applies coupon, redirects to checkout
  • Custom Design – Full color, font size, border radius, and badge customization
  • Custom Card Dimensions – Control card width and height with pixel-level precision
  • Card Layout Direction – Display cards horizontally, vertically, or in a responsive grid
  • Display Position – Place cards after title, price, description, add-to-cart, or meta
  • Multiple Coupons – Show multiple coupon cards on any product page
  • Mobile Responsive – Looks great on all devices with optional mobile hide
  • Export/Import – Backup and restore your cards via JSON
  • No External Dependencies – No CDNs, no API calls, no third-party libraries
  • Minimal Resource Usage – Single database query, <50ms page load impact
  • WCAG 2.1 AA – Keyboard accessible with screen reader support

Why Nexaura Product Coupons?

  • Lightweight – ~15KB gzipped total, no bloat
  • No Custom Tables – Uses WordPress wp_options only, easy migration
  • Secure – Nonce verification, input sanitization, output escaping, rate limiting
  • Compatible – Works with all standard WooCommerce themes and popular plugins
  • Clean Uninstall – All data is removed when the plugin is deleted

How It Works

  1. Create WooCommerce coupons as usual (WooCommerce > Coupons)
  2. Go to WooCommerce > Nexaura Product Coupons
  3. Create a coupon card linking to your WooCommerce coupon
  4. Customize colors, badge, dimensions, and layout
  5. Assign to specific products or show on all products
  6. Cards appear on product pages at your chosen position

Screenshots

  • Admin dashboard showing coupon cards table
  • Card editor modal with live preview
  • Frontend coupon card on product page
  • Mobile responsive view
  • Toast notifications

Installation

  1. Upload the nexaura-product-coupons folder to /wp-content/plugins/
  2. Activate through the ‘Plugins’ menu in WordPress
  3. Ensure WooCommerce is installed and activated
  4. Navigate to WooCommerce > Product Coupons to start creating cards

FAQ

Does this plugin require WooCommerce?

Yes, WooCommerce must be installed and activated. The plugin will show a friendly notice if WooCommerce is not detected.

Does it create custom database tables?

No. All data is stored in a single WordPress wp_options record, making it extremely lightweight and easy to migrate.

Will it slow down my site?

No. The plugin adds less than 50ms to page load time with only 1 additional database query. Scripts are only loaded on product pages.

Is it compatible with caching plugins?

Yes. The plugin uses WordPress transients which are compatible with W3 Total Cache, WP Super Cache, and other caching solutions.

Can I use it with page builders like Elementor?

Yes. The plugin uses standard WooCommerce hooks and CSS-prefixed classes, so there are no conflicts with page builders.

Does it work with variable products?

When a customer clicks “Apply & Buy” on a variable product, they are redirected to the product page to select variations first. The coupon is stored for automatic application.

Can I show multiple coupons on one product?

Yes. Create multiple cards and either leave the Product IDs field blank (for all products) or assign the same product IDs. Cards are sorted by priority.

What happens to my data when I uninstall?

When you deactivate the plugin, your data is preserved. When you delete the plugin, all data is cleanly removed from the database.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Nexaura Coupon Cards for WooCommerce – Display & Apply Coupons on Product Pages” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.1

  • Updated plugin display name for better discoverability

1.3.0

  • Added card layout direction setting (horizontal, vertical, grid)
  • Added global layout auto-save in admin settings bar
  • WordPress.org compliance improvements
  • Added uninstall.php for clean data removal
  • Fixed character encoding issues in admin interface

1.2.0

  • Added custom card width and height controls (pixel-level precision)
  • Replaced preset card size options with granular dimension inputs
  • Improved CSS specificity for custom dimensions using style blocks
  • Version bump for cache refresh

1.1.0

  • Added display position selection (after title, rating, price, description, add-to-cart, meta, tabs)
  • Added multiple coupons per product page support
  • Improved DOM repositioning for accurate card placement

1.0.0

  • Initial release
  • Admin dashboard with card management
  • Frontend coupon card display
  • Copy-to-clipboard functionality
  • Apply & Buy (add to cart + apply coupon + redirect)
  • Toast notification system
  • Export/Import via JSON
  • Live preview in admin
  • Mobile responsive design
  • WCAG 2.1 AA accessibility
  • Rate limiting for AJAX endpoints
  • HPOS compatibility declaration