Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Bulk Edit Customers discount-group membership setting

    I would like to change all the customers in my wholesale area to be in the group "members" but can I do it all at once somewhere instead of one by one?

    TIA!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Bulk Edit Customers

    Define all customers ... is this "every single customer" in your customers table or "some customers" in the customers table?

    Also, look up what the customers_group_pricing is ... this will be the same as if you were to edit the Group Pricing and looked at the gID in the URL ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: Bulk Edit Customers

    Quote Originally Posted by Ajeh View Post
    Define all customers ... is this "every single customer" in your customers table or "some customers" in the customers table?
    It is all customers in the table. When they sign up for a wholesale account they should be put into the 10% off group.

    Quote Originally Posted by Ajeh View Post
    Also, look up what the customers_group_pricing is ... this will be the same as if you were to edit the Group Pricing and looked at the gID in the URL ...
    I'm not sure exactly where to look for this ;)

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,264
    Plugin Contributions
    3

    Default Re: Bulk Edit Customers

    Quote Originally Posted by townsend2009 View Post


    I'm not sure exactly where to look for this ;)
    It's the GROUP ID - on the extreme left of the screen when you open Group Pricing (admin >>> customers >>> Group Pricing).

    If you have not yet set up a group, do so, then note the ID.

    What Linda is about to tell you is a bit of SQL that will mass-update the customer data... but she needs this info first.
    20 years a Zencart User

  5. #5
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: Bulk Edit Customers

    Oh okay, thanks!... It's group 1.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Bulk Edit Customers

    You can use, to change every single customer in your customers table to this customers_group_pricing value of, for example when the customers_group_pricing is 1, by using:
    Code:
    UPDATE customers SET customers_group_pricing = '1';
    It is always a good idea to backup your database before making changes like this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Nov 2008
    Posts
    93
    Plugin Contributions
    0

    Default Re: Bulk Edit Customers

    Thanks again for your help! Going to try this today

 

 

Similar Threads

  1. v151 Changing a customers group to membership status
    By CarlC in forum Managing Customers and Orders
    Replies: 6
    Last Post: 30 Jun 2014, 06:11 PM
  2. Replies: 0
    Last Post: 24 Jun 2010, 08:58 PM
  3. Buying into a membership group and discount pricing per item.
    By Omen3891 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 33
    Last Post: 7 May 2010, 03:53 PM
  4. Discount for Membership Group
    By Vintage in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 10 Feb 2010, 12:19 AM
  5. Code: is customer member of discount group? - restricting view based on membership
    By wputler in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 8
    Last Post: 20 Feb 2009, 08:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR