Automatically apply discount to the WooCommerce cart with a public coupon URL

A few months ago Gumroad added a new feature that allows to generate URLs for each of coupon codes that can be used to automatically apply the discount to the checkout cart.

I thought that this feature might be also very useful for WooCommerce users and since now it is available for all Permalink Manager Pro users.

The main advantage is that the customer does not need to search for a field where a discount code can be pasted or typed. This might help you to reduce the abandoned rate and improve other e-commerce indicators, eg. conversions ratio.

Extension for WooCommerce’s coupons functionality

When Permalink Manager Pro is enabled, a new section titled “Coupon Link” will be displayed in “Edit Coupon” page which can be accessed from “WooCommerce -> Coupons“.

To set-up public URL for a coupon code, all you need to do is to define a unique URI, eg. FREEDELIVERY and save the coupon code. The URIs are case-insensitive, so both http://example.com/FREEDELIVERY and http://example.com/freedelivery will work.

The full URL will be displayed below the input field and then you can copy and use it in eg. newsletter or share the link via social media.

How does the public coupon URL work?

When user goes to the link, eg. http://example.com/FREEDELIVERY the discount will be automatically applied to the cart. All “usage restrictions” (eg. expiry date, minimum/maximum spend value, etc.) will be preserved, so it is not possible to abuse the order by only using a public link, because WooCommerce will still validate if the customer is eligible to receive the discount.

After visitor uses the coupon URL the discount is automatically applied. In this case it is “free shipping code, but it will also work with percentage or fixed price discount.

Is it possible to use the coupon URL even if the cart is empty?

Yes, in this case – the visitor will be redirected to main shop page (if it is set in WooCommerce settings) where an alert should be displayed (Coupon code applied successfully). After any product is added to the cart, the discount will be automatically applied (only if customer is eligible to use it) to the cart.

If the cart is empty, the discount will be automatically added after the customer adds any product to it.

Video tutorial

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

*

Wait!!! Before you go...

Still not convinced? Use following discount code during Gumroad checkout and get 10% off!

BLOG

If you have any questions or need further information, please feel free to contact me via email: