Is there a way to enable group restrictions for all products

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
kyleS2D
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Aug 11, 2015 7:43 am

Is there a way to enable group restrictions for all products

Post by kyleS2D » Thu Mar 31, 2016 9:32 am

Is there a way to enable group restrictions for all products currently in the store?

We are using AbleCommerce GoldR9 (build 7670) and have an item database of ~60K items. I'm hoping there is a way to enable group restrictions for all items. We have the groups set up already. I looked into the batch editing feature, but it still looks like a manual process of individually enabling the restrictions for each item.

Is it possible to perform a SQL update query that could enable this for all products?

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: Is there a way to enable group restrictions for all products

Post by Katie » Thu Mar 31, 2016 11:03 am

You can use the Data > Import > Products feature. There is an option to update products. You can individually select which fields to work with, so you'll have an easier time in working with the large data set.

You will need to first enable group restrictions and then assign one or more groups. You can export using the fields below:

EnableGroup
ProductGroups

I would also include Product ID and name.

Then add the values. TRUE for the "EnableGroup" column, and your Group Name(s) for "ProductGroups" column.

Once you have your CSV file completed, you can update all the products. I would make a database backup first though.

I'm sure this could be done with an SQL query, but it would be difficult unless all the products had the same group name. With a spreadsheet to work with, you can at least use Excel's fill or copy feature to update large groups of products at once.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

kyleS2D
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Tue Aug 11, 2015 7:43 am

Re: Is there a way to enable group restrictions for all products

Post by kyleS2D » Mon Apr 04, 2016 10:49 am

Thanks. This looks very doable.

Post Reply