Function: useProductSpecs()
useProductSpecs(
options):UseProductSpecsReturn
Defined in: composables/react/useProductSpecs.ts:65
useProductSpecs — product attribute fetch and grouping.
Parameters
options
Returns
attribute state plus the fetchSpecs action — see UseProductSpecsReturn.
Remarks
GraphQL integration: fetchSpecs calls services.product.getAttributeResultByProductId()
(ProductService), built per-call via createServices(graphqlClient), with an
AttributeResultSearchInput that requests public attributes only
(attributeDescription.isPublic: true, page 1, offset 2000). The results are then
grouped client-side by their attributeDescription.group.