Group Discounts for WooCommerce

$75.00
Quick Demo

This code enables you to create groups and apply discounts to members of each group in WooCommerce. In this example the code creates :

  • Create 3 groups named group 1, group 2 and group 3. No capabilities are added apart from the default read only.
  • Add a custom column to the admin users screen for the new groups
  • Apply a different percentage discount for each group, 50%, 5% and 20%.

Installation

Copy and paste the PHP code to the end of your child themes functions file or custom code snippets plugin.

Settings

Set the percentage discount on lines 54, 56, 71 which should match the discounts on 71,72 and 73.

You can also add/modify groups on lines 10,11,12 which should match the same groups on lines 32,35 and 38.