BACK TO DIRECTORY


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?
- Shop as Client for WooCommerce – Quickly create orders on behalf of your customers
- Simple Checkout Fields Manager for WooCommerce – Add custom fields and manage (remove, make required or optional) core fields on the new WooCommerce Block-based Checkout
- Advanced Coupon Restrictions for WooCommerce – Create coupons for any Product Taxonomy, User details, and Order destination.
- Simple WooCommerce Order Approval – The hassle-free solution for WooCommerce order approval before payment
- Taxonomy/Term and Role based Discounts for WooCommerce – Easily create bulk discount rules for products based on any taxonomy terms (built-in or custom)
- DPD / SEUR / Geopost Pickup and Lockers network for WooCommerce – Deliver your WooCommerce orders on the DPD and SEUR Pickup network of Parcelshops and Lockers in 21 European countries
Screenshots

Magic coupon settings
Plugin Details
Active Installs
100Total Downloads
4,665Version
2.3Requires WP
5.8Requires PHP
7.2Tested Up To
7.0.4Added
2018-11-23Last Updated
2026-08-02 5:52pm GMTRatings
5
2
4
0
3
0
2
0
1
0