Sale! Tested Updated Bestseller High rating

URL Coupons for WooCommerce

(4 customer reviews)

From: $49.99 / year

Let your customers apply standard WooCommerce discount coupons via URL.

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

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…

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]

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").

4 reviews for URL Coupons for WooCommerce

  1. Valentin

    Good customer service! I recommend!

    • WPFactory Plugins

      Thanks 😉

  2. Carm (verified owner)

    I needed a light-weight plugin to generate URL Coupons and the URL Coupons for WooCommerce did not disappoint. Thanks for this wonderful plugin.

    • Tom Anbinder

      Thank you, Carm!

  3. 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?

  4. 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 *

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

Free vs Pro

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

Free VersionPro Version
URL coupons key
Force session start
Add products to cart
Delay coupon
Hide coupon on cart page
Hide coupon on checkout page
Redirect URL
Redirect URL per coupon
Delay notice
Custom notice
Notice per coupon
Override default notice
Notice method
Advanced Options

Changelog

1.6.7 - 02/03/2023

  • Dev - General - New option: Hide coupon field condition.
  • WC tested up to: 7.4.
  • Tested up to: 6.1.

1.6.6 - 13/09/2022

  • Fix - General - Delay coupon options - Coupon only gets applied if the first product added to cart matches the coupon rules.
  • WC tested up to: 6.9.

1.6.5 - 19/08/2022

  • Fix - Improve the way the cookie is removed.
  • WC tested up to: 6.8.
  • Tested up to: 6.0.

1.6.4 - 25/04/2022

  • Dev - Advanced - Add "Data storage type" option.
  • Dev - Advanced - Main hook - Add hook option.
  • Dev - Advanced - Add "Javascript reload" option.
  • Dev - General - Add "Force session start earlier and everywhere" option.
  • Dev - Add alg_wc_url_coupons_apply_url_coupon_validation filter.
  • Dev - Add alg_wc_url_coupons_keys_to_remove_on_redirect filter.
  • WC tested up to: 6.4.
  • Tested up to: 5.9.
  • Add deploy script.

1.6.3 - 20/01/2022

  • Dev - Shortcodes - [alg_wc_url_coupons_print_notices] - 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 - [alg_wc_url_coupons_print_notices] 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.