Sale! Tested

Coupon Code Generator for WooCommerce

From: $29.99 / year

Coupon Code Generator for WooCommerce Pro plugin lets you enable automatic coupon code generation in WooCommerce.

$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

With Coupon Code Generator for WooCommerce Pro plugin you can enable automatic coupon code generation in WooCommerce.

Options

Settings are located in “WooCommerce > Settings > Coupon Code Generator”.

Order Coupon Options

This will generate coupon automatically for the selected order status updates. Coupon code will be automatically attached to the selected customer’s emails.

Coupon Code Generator for WooCommerce - Order Coupon Options

Order coupon
Enables/Disables “Order coupon” section.
Default: no
Order status
Select order status(es) on which coupon code should be created. If you select multiple statuses, coupon will be created only once, on whichever status change occurs first. Possible values: Pending payment; Processing; On hold; Completed; Cancelled; Refunded; Failed; Other custom statuses.
Default: Completed
Coupon code template
Available placeholders:

  • %order_id%
  • %order_number%
  • %order_billing_first_name%
  • %order_billing_first_last%
  • %order_billing_email%
  • %order_customer_id%

Default: %order_billing_email%-%order_id%
Coupon type
Possible values: Percentage discount; Fixed cart discount.
Default: Percentage discount
Coupon amount
Default: 10
Allowed emails
Set coupon’s “Allowed emails” option to order’s billing email.
Default: yes
Minimum spend
Default: None
Maximum spend
Default: None
Emails
Possible values: Order on-hold; Processing order; Completed order; Refunded order; Customer invoice / Order details; Customer note; Reset password; New account; Other custom customer emails.
Default: Completed order
Email template
Available placeholders: %coupon_code%.
Default:

<p>Here is a coupon for your next purchase: <code>%coupon_code%</code></p>

Automatic Coupon Code Options

This will generate coupon code automatically when adding new coupon in “Marketing > Coupons > Add coupon”.

Coupon Code Generator for WooCommerce - General Options

Automatic coupon code
Enables/Disables “Automatic coupon code” section.
Default: no
Template
Placeholders: %code%, %user_id%, %date_YY%, %date_MM%, %date_DD%.
Default: %code%
Algorithm
Algorithm for the %code% placeholder.
Default: Hash: crc32 (length 8)

Coupon code can be generated with one of selected algorithms:

  • Hash: crc32 (length 8)
  • Hash: md5 (length 32)
  • Hash: sha1 (length 40)
  • Random letters and numbers (length 32)
  • Random letters (length 32)
  • Random numbers (length 32)
Length
Length for the %code% placeholder. Value will be ignored if set above the maximum length for selected algorithm. Set to zero to use full length for selected algorithm.
Default: 0

Coupon Code Generator for WooCommerce - Add new coupon

Reviews

There are no reviews yet.

Be the first to review “Coupon Code Generator for WooCommerce”

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

Changelog

1.3.0 - 24/11/2022

  • Dev - The plugin is initialized on the plugins_loaded now.
  • Dev - Code refactoring.
  • Tested up to: 6.1.
  • WC tested up to: 7.1.
  • Readme.txt updated.
  • Deploy script added.

1.2.0 - 01/03/2021

  • Dev - "Order Coupon Options" section added.
  • Dev - Automatic Coupon Code - "Enable section" option added (defaults to no).
  • Dev - Localisation - load_plugin_textdomain() function moved to the init action.
  • Dev - JS file minified.
  • Dev - Admin settings descriptions updated.
  • Dev - Code refactoring.
  • WC tested up to: 5.0.
  • Tested up to: 5.6.

1.1.0 - 14/01/2020

  • Dev - "Template" option added (with %code%, %user_id%, %date_YY%, %date_MM%, %date_DD% placeholders).
  • Dev - Code refactoring.
  • Dev - Admin settings descriptions updated.
  • Plugin URI updated.
  • POT file uploaded.
  • WC tested up to: 3.8.
  • Tested up to: 5.3.

1.0.0 - 01/05/2018

  • Initial Release.