Check how to get attribute group ID. This is basics in PrestaShop and this article is for module purposes, where you have to define ID of an attribute group.
In PrestaShop attributes are the basis of product variations. Each product can have some specification like color, size, material etc. Each attribute group can have some attribute values:
color: red, blue, green, white
size: s,m,x,xl,xxl,
material: wood, plastic, metal, paper
The difference between an attribute and a feature depends on the product itself. Some products might share the same property, one being an attribute built for building product variations, another one being simply an invariable feature.
For instance, a customer can buy an iPod variation based on attributes (color, disk space) but not on features (weight, size).
Likewise, another shop might sell t-shirts variations based on attributes (color, size, gender) but not on features (weight).
How to get product attribute group ID?
To get an ID of attribute group (in this example ID of group color / size / material) you have to login to your shop back office, theb please go to Catalog > product attributes. You can find there a list of all available attribute groups in your shop. The ID is available inside first column, exactly as image below shows:

Article written byMilosz Myszczuk, PrestaShop expert. CEO and founder of the VEKIA interactive agency. Learn more.
If you like this article, support our work!

Charge or reward customers by payment method in PrestaShop. Apply automatic discounts or surcharges ...
49.99 €

Turn one-time buyers into loyal, repeat customers with a prepaid wallet that keeps their money in yo...
59.99 €

Quote Enterprise is an enterprise-class quote-to-order module for PrestaShop: customers request offe...
89.99 €
149.99 €

Show or hide payment methods at checkout with powerful rule-based policies. Build AND/OR conditions ...
79.99 €
129.99 €