Tested Updated Bestseller High rating

URL Coupons for WooCommerce

(2 customer reviews)

From: $29.99 / year

Let your customers apply standard WooCommerce discount coupons via URL.

$29.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$79.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
Clear

Description

URL Coupons for WooCommerce plugin allows your customers to apply coupons via URL, for example, via:

http://example.com/?alg_apply_coupon=couponcode

You don’t need to create any special coupons – the plugin will allow you to apply standard WooCommerce discount coupons.

Main Features

  • Apply standard WooCommerce discount coupons via URL.
  • Automatically add products to the cart when a coupon is applied.
  • Delay applying the coupon until some product is added to the cart.
  • Hide standard coupon input fields on the cart and/or checkout pages.
  • Redirect customers to any page after a coupon is applied.
  • Delay the notice if the cart is empty when applying a URL coupon.
  • Set custom notice to be displayed when coupon code is successfully applied.
  • Set custom notice per individual coupon.
  • And more…

Settings

General Options

Settings are located in “WooCommerce > Settings > URL Coupons > General”.

URL Coupons for WooCommerce General Options

URL coupons key
URL key. If you change this, make sure it’s unique and is not used anywhere on your site (e.g. by another plugin). Your customers can apply shop’s standard coupons by visiting URL. E.g.:

http://example.com/?alg_apply_coupon=couponcode

Default: alg_apply_coupon
Force session start
Enable this if URL coupons are not being applied to the guests (i.e. not logged users).
Default: no
Add products to cart
Automatically adds coupon’s products to the cart for “Fixed product discount” type coupons.
Default: no
Add products to cart: Empty cart
Clear the cart before adding the coupon’s products.
Default: no

Delay Coupon Options

Settings are located in “WooCommerce > Settings > URL Coupons > General”.

Delay Coupon Options

Delay coupon
Delay applying the coupon until some product is added to the cart.
Default: no
Delay on non-empty cart
What to do if there are already products in the cart when applying coupon.
Default: Yes
Check product
For “Fixed product discount” type coupons – additionally check if correct product is added to the cart (i.e. if coupon is valid for product).
Default: no
Success notice
Ignored if empty. Available placeholder(s): %coupon_code%.
Default:
Coupon code applied successfully.
Error notice: Coupon already applied
Ignored if empty. Available placeholder(s): %coupon_code%.
Default:
Coupon code already applied!
Error notice: Coupon does not exist
Ignored if empty. Available placeholder(s): %coupon_code%.
Default:
Coupon "%coupon_code%" does not exist!

Hide Coupon Options

Settings are located in “WooCommerce > Settings > URL Coupons > General”.

Hide Coupon Options

Hide coupon on cart page
Enable this if you want to hide standard coupon input field on the cart page.
Default: no
Hide coupon on checkout page
Enable this if you want to hide standard coupon input field on the checkout page.
Default: no

Redirect Options

Settings are located in “WooCommerce > Settings > URL Coupons > General”.

Redirect Options

Redirect URL
Redirect when coupon code is successfully applied. Possible values: No redirect; Redirect to cart; Redirect to checkout; Redirect to custom local URL.
Default: No redirect
Redirect URL: Custom local URL
Used only if “Redirect to custom local URL” value is selected in “Redirect URL” option.
Default: None
Redirect URL per coupon
Will add “URL Coupons: Redirect URL” field to each coupon admin edit page.
Default: no

Redirect URL per coupon

Notice Options

Settings are located in “WooCommerce > Settings > URL Coupons > Notices”.

URL Coupons for WooCommerce Notice Options

Delay notice
Delay the “Coupon code applied successfully” notice if the cart is empty when applying a URL coupon. Notice will be delayed until there is at least one product in the cart.
Default: no
Custom notice
Custom notice to be displayed when coupon code is successfully applied. Ignored if empty.
Default: None
Notice per coupon
Will add “URL Coupons: Notice” field to each coupon admin edit page.
Default: no

Notice per coupon

Notice per coupon: Override global notice
This will remove the global “Custom notice” notice, in case if there are any “per coupon” notices to display.
Default: no
Override default notice
This will remove the default “Coupon code applied successfully” notice, in case if there are any custom notices to display.
Default: no
Notice method
Possible values: “Add” or “Append”. This makes a difference only if you have multiple notices displayed: “Add” option will add it as a new notice (i.e. will display it as a multiple notices), while “Append” option will merge it with the existing notice, for example, with the default “Coupon was successfully applied” notice (i.e. will display it as a single notice). Possible values: Add; Append.
Default: Add
Notice type
Ignored, unless “Notice method” option is set to “Add”. Possible values: Success; Error; Notice.
Default: Success
Notice glue
Ignored, unless “Notice method” option is set to “Append”.
Default:
<br>

Advanced Options

Settings are located in “WooCommerce > Settings > URL Coupons > Advanced”.

URL Coupons for WooCommerce - Advanced Options

Save on empty cart
Save coupons when cart is emptied. Coupons will be reapplied when some product is added to the cart.
Default: no
Hook priority
Priority for the main plugin hook. Leave empty for the default priority.
Default: None
Remove "add to cart" key
Will remove add-to-cart key on “Redirect URL > No redirect” option.
Default: yes
Force coupon redirect
Force coupon redirect after add-to-cart action.
Default: no
Extra cookie
Enable this if you want to set cookie when URL coupon has been applied. Cookie name will be alg_wc_url_coupons.
Default: no
Extra cookie: Expiration
The time the cookie expires. In seconds.
Default: 1209600
WP Rocket: Disable empty cart caching
Check this if you have “WP Rocket” plugin installed, and having issues with cart being empty after you apply URL coupon and add a product.
Default: no
Payment request buttons: Apply coupons on single product pages
Possible values: WooCommerce Stripe Gateway; WooCommerce Payments.
Default: no

Shortcodes

Generally, the plugin doesn't require any shortcodes, however, there are a few cases where you may need them. The plugin has two shortcodes:

[alg_wc_url_coupons_print_notices]

If you are using URL to a page where no WooCommerce notices are displayed, try adding our [alg_wc_url_coupons_print_notices] shortcode to the content. Please note that this shortcode will print all available WooCommerce notices (i.e. not only from our plugin, or notices related to the coupons).

[alg_wc_url_coupons_translate]

If you have a multi-language site (WPML or Polylang), you can translate custom notices, etc., with our [alg_wc_url_coupons_translate] shortcode:

[alg_wc_url_coupons_translate lang="EN,DE" lang_text="Text for EN & DE" not_lang_text="Text for other languages"]

or in the more complex form:

[alg_wc_url_coupons_translate lang="EN,DE"]Text for EN & DE[/alg_wc_url_coupons_translate][alg_wc_url_coupons_translate not_lang="EN,DE"]Text for other languages[/alg_wc_url_coupons_translate]

Frequently Asked Questions

Does the plugin allow applying coupons that require a minimum spend amount (e.g. $20 off orders of $100+)?

Yes. As our plugin uses standard WooCommerce coupons, you can use all the features that standard WooCommerce coupons have.

Coupons are not being applied to guest users. What to do?

Please make sure that "Force session start" checkbox is enabled (in "WooCommerce > Settings > URL Coupons > General").

2 reviews for URL Coupons for WooCommerce

  1. Christian

    Unfortunately the feature to delay the coupon until products are added does not work at all and also the notification text does not appear anywhere…

    Update: That worked. Thank you!

    • Tom Anbinder

      Hi Christian,

      Sorry to hear that there are problems with the plugin. Could you please try enabling our “Force session start” checkbox option (in “WooCommerce > Settings > URL Coupons > General”). Does it make any difference?

  2. Eugenio

    Great Plugin – Very good assistance
    The plugin works fine and it does what it says.
    The assistance’s been very helpful in helping us with an issue.

    Thx

    • Tom Anbinder

      Thank you!

Add a review

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

Free vs Pro

This plugin is a premium version of free "URL Coupons for WooCommerce" plugin.

Free VersionPro Version
URL coupons keyyesyes
Force session startyesyes
Add products to cartnoyes
Delay couponyesyes
Hide coupon on cart pageyesyes
Hide coupon on checkout pageyesyes
Redirect URLnoyes
Redirect URL per couponnoyes
Delay noticeyesyes
Custom noticenoyes
Notice per couponnoyes
Override default noticenoyes
Notice methodnoyes
Advanced Optionsyesyes

Changelog

1.6.3 – 20/01/2022

  • Dev – Shortcodes – – Now checking if wc_print_notices() function exists.
  • WC tested up to: 6.1.

1.6.2 – 09/12/2021

  • Dev – Advanced – “Payment request buttons: Apply coupons on single product pages” options added (“WooCommerce Stripe Gateway” and “WooCommerce Payments”) (defaults to no).

1.6.1 – 24/11/2021

  • Dev – Advanced – “Save on empty cart” option added.
  • WC tested up to: 5.9.

1.6.0 – 09/08/2021

  • Dev – Delay coupon – “Delay on non-empty cart” option added.
  • Dev – Force session start – Defaults to yes now.
  • Dev – Admin settings rearranged – New sections added: “Notices”, “Advanced”. New subsection added: “Delay Coupon Options”.
  • Dev – Admin settings descriptions updated.
  • Dev – Plugin initialized on the plugins_loaded action now.
  • Dev – Code refactoring.

1.5.5 – 30/07/2021

  • Fix – Possible fatal PHP error on admin widgets page fixed.
  • WC tested up to: 5.5.
  • Tested up to: 5.8.

1.5.4 – 20/04/2021

  • Dev – [alg_wc_url_coupons_translate] shortcode added (for WPML and Polylang translations).
  • Dev – Minor settings restyling.
  • WC tested up to: 5.2.

1.5.3 – 07/04/2021

  • Dev – General Options – Delay coupon – “Check product” option added.

1.5.2 – 07/04/2021

  • Dev – General Options – Delay coupon – Redirect action is now moved to the initial coupon application function Alg_WC_URL_Coupons_Core::apply_url_coupon().
  • Dev – alg_wc_url_coupons_coupon_applied action added.
  • Dev – Code refactoring.

1.5.1 – 06/04/2021

  • Dev – General Options – Delay coupon – Filter priority increased.

1.5.0 – 06/04/2021

  • Dev – General Options – “Delay coupon” options added.
  • WC tested up to: 5.1.
  • Tested up to: 5.7.

1.4.0 – 12/01/2021

  • Dev – General Options – Add products to cart – “Empty cart” option added.
  • Dev – “Notice” options added (“Custom notice”, “Notice per coupon”, “Notice method”, “Override default notice”, etc.). “Delay notice” option moved to this new section.
  • Dev – Notice Options – Delay notice – Now delaying notice only if coupon was successfully applied.
  • Dev – Notice Options – shortcode added.
  • Dev – Redirect Options – “Redirect URL per coupon” option added.
  • Dev – Redirect Options – Now redirecting only if coupon was successfully applied.
  • Dev – Localisation – load_plugin_textdomain moved to the init action.
  • Dev – Admin settings restyled. Subsections added.
  • Dev – Code refactoring.
  • WC tested up to: 4.9.

1.3.2 – 22/12/2020

  • Dev – Advanced – “Force coupon redirect” option added.
  • Tested up to: 5.6.
  • WC tested up to: 4.8.

1.3.1 – 28/10/2020

  • Dev – Advanced – “Hook priority” option added.
  • Dev – Advanced – “Remove ‘add to cart’ key” option added.
  • WC tested up to: 4.6.

1.3.0 – 09/10/2020

  • Dev – Code refactoring.

1.2.8 – 10/09/2020

  • Dev – Advanced – “WP Rocket: Disable empty cart caching” option added.
  • WC tested up to: 4.5.

1.2.7 – 07/09/2020

  • Dev – “Extra cookie” options added.

1.2.6 – 31/08/2020

  • Fix – Delay notice – Checking for empty cart now.
  • Dev – Code refactoring.

1.2.5 – 31/08/2020

  • Dev – “Delay notice” option added.

1.2.4 – 31/08/2020

  • Dev – alg_wc_url_coupons_before_coupon_applied and alg_wc_url_coupons_after_coupon_applied actions added.
  • Dev – Code refactoring.

1.2.3 – 20/08/2020

  • Dev – “Force session start” option added.
  • Tested up to: 5.5.
  • WC tested up to: 4.4.

1.2.2 – 02/04/2020

  • Dev – Removing add-to-cart query argument on redirect now.

1.2.1 – 01/04/2020

  • Dev – “Hide coupon on checkout page” option added.
  • Tested up to: 5.4.

1.2.0 – 27/03/2020

  • Fix – “Reset settings” admin notice fixed.
  • Dev – Code refactoring.
  • Dev – Admin settings descriptions updated.
  • WC tested up to: 4.0.
  • Tested up to: 5.3.

1.1.0 – 27/07/2019

  • Dev – Code refactoring.
  • Dev – Admin settings – Settings restyled; descriptions updated; “Your settings have been reset” notice added.
  • Localisation domain name fixed.
  • Plugin URI updated.
  • WC tested up to: 3.6.
  • Tested up to: 5.2.

1.0.0 – 15/08/2017

  • Initial Release.

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin’s zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to “Admin Dashboard > Plugins > Add New > Upload Plugin” and browse for downloaded zip file.
  • If plugin is successfully installed – you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.