Documentation for the Discount Products Prices in WooCommerce plugin.

Documentation for Global Shop Discount for WooCommerce Plugin

Author: WPFactory PluginsVersion: 1.9.6Updated: 3 months ago
Requires WordPress version: 4.4Tested up to WordPress version: 6.4

Settings

With Global Shop Discount for WooCommerce Pro plugin you can add global shop discount to all or a group of WooCommerce products.

Main Features

  • Add multiple discount groups.
  • Set discounts as percent or as fixed values.
  • Optionally choose products scope (sale or non-sale products).
  • Optionally include/exclude product categories.
  • Optionally include/exclude product tags.
  • Optionally include/exclude individual products.
  • Optionally include/exclude custom product taxonomies, e.g. product brands.

Options

Settings are located in “WooCommerce > Settings > Global Shop Discount”.

General Options

Global Shop Discount for WooCommerce - General Options

Total groups
Sets number of total discount groups. Press “Save changes” after you change this number.
Default: 1
Stop on first matching discount group
Enable this if you want to stop applying discounts for product, when first matching discount group is found.
Default: yes
Use list instead of comma separated text for products in settings
Disable this checkbox, if you want to enter values in “Include/Exclude products” options as comma separated product IDs (i.e. text) – this is useful if you are using WPML.
Default: yes

Discount Group Options

You can set individual settings for each discount group.

Global Shop Discount for WooCommerce - Discount Group Options

Enabled
Enabled/disables the discount group.
Default: yes
Type
Can be fixed or percent.
Default: Percent
Value
Must be negative number.
Default: 0
Product scope
Possible values: All products; Only products that are already on sale; Only products that are not on sale.
Default: All products
Include product categories
Set this field to apply discount to selected product categories only. Leave blank to apply to all products.
Default: None
Exclude product categories
Set this field to NOT apply discount to selected product categories. Leave blank to apply to all products.
Default: None
Include product tags
Set this field to apply discount to selected product tags only. Leave blank to apply to all products.
Default: None
Exclude product tags
Set this field to NOT apply discount to selected product tags. Leave blank to apply to all products.
Default: None
Include products
Set this field to apply discount to selected products only. Leave blank to apply to all products.
Default: None
Exclude products
Set this field to NOT apply discount to selected products. Leave blank to apply to all products.
Default: None

Date Format and Examples

Date(s) option must be set as date range(s) in from - to format, i.e. dates must be separated with the hyphen - symbol, e.g.:

14.02.2021 15:00 - 26.02.2021 15:00

You can add multiple date ranges separated by the semicolon ; symbol, i.e. from1 - to1; from2 - to2; .... Algorithm stops on first matching date range.

Dates can be set in any format parsed by the PHP strtotime() function. Don’t use the hyphen - symbol though – it’s reserved for separating from and to values.

Examples

Enable discount on the exact dates:

14.02.2021 15:00 - 26.02.2021 15:00

Enable discount only before 3:00 PM each day:

00:00:00 - 14:59:59

Enable discount only before 3:00 PM each day, or before 5:00 PM on Mondays:

00:00:00 - 14:59:59; Monday 00:00:00 - Monday 16:59:59

Enable discount for the summer months only:

first day of June - last day of August 23:59:59

Enable discount for February only:

first day of February - last day of February 23:59:59