Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VPCart 9 Questions
 Remove a customer from dynamic group
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alex123
VP-CART Super User

USA
223 Posts

Posted - September 16 2019 :  15:31:12  Show Profile  Reply with Quote
Hi Guys,

I am trying to delete a customer from a dynamic customer group from vpcart admin but i am not sure how to do it. For static customer group i could see a check box to add/remove a customer from the group.

Wonder how to remove an individual customer from a dynamic customer group. Did someone faced same problem and found any solution. Please reply.

-Alex

support
Administrator

4679 Posts

Posted - September 16 2019 :  15:41:34  Show Profile  Visit support's Homepage  Reply with Quote
Dear Alex,

It seems you need to update the sql query for dynamic group to exclude a specific customer from group. For this you may follow the steps below.

1) Login to your VPCart admin and go to ''Customers > Customers Groups'' from top menu.

2) Locate which Dynamic group you want, and click the EDIT button.

3) Then in the next screen, locate the "SQL Query " big text box.
You will need to alter the existing SQL query there to exclude the customer ids you want.

For example, if your current SQL is eg:
* from customers

Say you want to remove a customer with contactid 2, then update the query as follows.

select * from customers where contactid <> 2

For more details please refer our help guide.

https://helpnotes.vpcart.com/userguide900/index.html#!Documents/removecustomersfromastaticordynamicgroup.htm

Please give a try and let us know if you need further assistance.

Thank you,

VPCart Customer Care Team
www.vpcart.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00