Magic URL Coupon for WooCommerce
·
Share WooCommerce discount links: pass a coupon code via URL, display sale prices on product pages, and auto-apply the coupon at checkout.
Betyg
Version
2.2
Aktiva installationer
90
Senast uppdaterat
Apr 8, 2026
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
