We are also able to apply a ‘discount’ for these groups so that if certain ‘Customers’ are selected by the Administrator in Admin>Customers>Edit
.........They will be eligible for such ‘discount’ and more importantly only customers in these groups will be able to select ‘products’ that have been restricted to their chosen group.
The default groups are:
Default - This will apply to all customers
Wholesale – This group has -20% Discount
We have added:
VIP – In this example we have added a group for VIP customers
#1 A ‘Customer’ is added to a ‘Customer Group’ eg Jack Jones is selected for the VIP Group
#2 Products are enabled in Admin>Products>Edit>General e.g perhaps all seats in Row A at the very front of the theatre can be enabled for VIP only
Now, when visitors or logged in ‘default‘ customers or customers not selected as a VIP Group visit the Front End seat plan..... they will see that all seats’ restricted’ to the VIP Group will be seen as ‘RESTRICTED’ –dark grey- and they will be unable to select the seats into their basket.
Those customers selected as ‘VIP’ however will be able to select the seats to their basket as soon as they log into their registered account.
DEVELOPERS:
Developers can apply the ‘customers_groups_id’ for the appropriate group from the ‘Customers Groups’ table directly in the database by running an SQL query to the ‘Products’ table for bulk products. The field is the ‘restrict_to_groups’
e.g Customer Group ‘VIP’ has a ‘customers_groups_id’=3
To apply the VIP status to all the seats with a ‘yellow’ color band. This is the type of query to run.
UPDATE products-
SET restrict_to_groups=3
WHERE color_code='yellow';