I want to assign a customer group for the customers, who have placed the order from selected category or particular products.
I have a category name
grouper. In this category, I have some products with SKU names
I also have the Customer Group named same as product of this category. ie
x3 and these products can only be purchased alone.
So when I purchased or place order
x1 then the customer group for this customer should assign as
x1. When the order is success the group should assign.
Thanks in advance.