This script also allows you to restrict the supply of particular groups of products to only certain customers.
Once you have assigned a group to a customer, you will only be able to supply that customer with products from the defined group(s)
To put products in groups
Fill out the “category1” field for each product with the group name for that product.
To assign a group to a customer
Highlight the customer in the list
Click the Add group button in the toolbar
Fill in the group name in the window that appears.
Click OK
To Remove a group from a customer
Follow the steps above to add a group.
If the group is already assigned to a customer you will be shown an alert window.