Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Using phpMyAdmin to update customer discount group assigments

    Ok this is going to sound like a very stupid question, but I'm very eerie about playing around in the databases since I don't always know exactly what I'm doing.

    I need to do a mass change to about 1/2 my customers groups. I decided it would be best to download the CSV of the customers table and make the changes there under the column customers_group_pricing.

    Here is my question, how do I upload the file?

    Do I make the changes to the required customers, but upload the entire file again including the customers I didn't make any changes to, only checking off the option "Replace table data with file"?
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

  2. #2
    Join Date
    Nov 2008
    Posts
    38
    Plugin Contributions
    0

    Default Re: Using phpMyAdmin to update customer discount group assigments

    I would advise creating a sql query to make your required changes. In MyPHPAdmin if you select your table there is an import tab, but I'd research this before using it. It may duplicate records instead of updating them. Your best bet is an update query for example

    Update Customers
    Set customers.customers_group_pricing = 2
    Where customers.customers_group_pricing = 1

    That is just a rough example but it might give you a direction to look in.

  3. #3
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Using phpMyAdmin to update customer discount group assigments

    Thanks for the suggestion! I had thought of that already, however the problem is that we are breaking the customers out into all different groups to make it a bit more refined, so it pretty much has to be done manually, and the easiest way is by downloading the .csv files and working with them.

    That is why I am trying to figure out how to import a file and just have it overwrite the existing data.
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

 

 

Similar Threads

  1. Using a group discount that isn't a flat percentage rate?
    By chrysalid in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 31 Oct 2012, 01:44 AM
  2. Restrict Wholesale or Discount Group users from using coupons
    By BettyBoop28 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 25 Feb 2010, 12:52 AM
  3. Default Customer Discount Group?
    By dmm2020 in forum Basic Configuration
    Replies: 2
    Last Post: 21 Mar 2009, 05:57 AM
  4. Applying a discount group to a customer automatically
    By cheddars in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 19 Sep 2006, 09:22 PM
  5. Crazy cart totals using simple group discount
    By DWDesigns in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 9
    Last Post: 11 Sep 2006, 04:14 AM

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