Jump to content

SQL update of customer groups


jpryce
 Share

Recommended Posts

Seems this is a sticking point for a lot of users... creating a new cutsomer group doesn't automatically add them to categories. It seems the only way to do it is to add your new customer group into the database by inserting into all the category IDs. Anyone know the SQL statement to do this in one hit? Maybe a range would work but i don't know SQL well e.g. id_category 1-388, id_group 4 or is there a way of adding an 'all' statement...

 

Thanks

 

James

Share this post


Link to post
Share on other sites

  • 9 years later...

Thats why the system is designed in layers and the core developers implemented ObjectModels.

You can create a customer group with CustomerGroup object model and then associate that into the categories with out SQL codes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More