projects/congarevenuecloud/ecommerce/src/lib/modules/catalog/services/product-attribute-group.service.ts
This service is deprecated. ProductAttributeGroupService contains method to get the list of product attribute groups for the list of products/product Ids passed.
ProductAttributeGroupService contains method to get the list of product attribute groups for the list of products/product Ids passed.
import { ProductAttributeGroupService, AObjectService} from '@congarevenuecloud/ecommerce';
export class MyComponent implements OnInit{
constructor( private productAttributeGroupService: ProductAttributeGroupService)
}
// or
export class MyService extends AObjectService {
private productAttributeGroupService: ProductAttributeGroupService = this.injector.get(ProductAttributeGroupService);
}
AObjectService
Properties |
|
Methods |
getProductAttributeGroups | ||||||||||
getProductAttributeGroups(productList: Array<string | Product>)
|
||||||||||
Method returns an observable containing array of product attribute groups for the list of products/product Ids passed. Example:Example :
This method is a work in progress.
Parameters :
Returns :
Observable<Array<ProductAttributeGroup>>
An observable containing array of product attribute groups. This method is a work in progress. |
Protected productAttributeGrpMemberService |
Type : ProductAttributeGroupMemberService
|
Default value : this.injector.get(ProductAttributeGroupMemberService)
|
Protected productAttributeService |
Type : ProductAttributeService
|
Default value : this.injector.get(ProductAttributeService)
|
Protected translatorService |
Type : TranslatorLoaderService
|
Default value : this.injector.get(TranslatorLoaderService)
|
type |
Default value : ProductAttributeGroup
|