Magic Coupon

plugin banner

Pass a WooCommerce coupon code via URL and display the product prices as if the coupon has been applied to them. Coupon is automatically added to the …

Author:Naked Cat Plugins (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:7.0.2
Plugin version:2.3
Added to WordPress repository:23-11-2018
Last updated:02-08-2026
Rating, %:100
Rated by:2
Plugin URI:
Total downloads:5 238
Active installs:90+
plugin download
Click to start download

Want to share a WooCommerce discount link that automatically applies a coupon? Magic URL Coupon lets you embed any coupon code directly in a URL — perfect for email campaigns, affiliate links, and social media promotions.

When a customer visits your store via the magic link, the coupon code is stored in a cookie for a configurable amount of time. No manual code entry needed.

Pass the coupon via the mcoupon URL parameter (customizable via the magic_coupon_url_parameter filter). While the cookie is active:

  • Discounted prices shown upfront — eligible product pages display the post-coupon price automatically, so customers see exactly what they’ll pay before adding to cart;
  • Custom promotional message — show a personalized HTML message under the product price, anywhere on the page via hooks, or inline via the [magic_coupon_html_message] shortcode;
  • Coupon auto-applied at checkout — when the customer adds a product to the cart, the coupon is applied automatically, no code entry required;
  • The coupon remains freely usable: customers can still enter it manually at any time, and this plugin will not restrict its regular usage.

Variable product support is experimental and may be moved to a premium add-on in the future.

Other (premium) plugins

Already know our other WooCommerce (premium) plugins?


Screenshots
FAQ
ChangeLog