GitHub

DaffConfigurableProductApplyAttribute

import { DaffConfigurableProductApplyAttribute } from '@daffodil/product-configurable/state'

Applies an attribute to a particular configurable product.

class DaffConfigurableProductApplyAttribute<<T extends DaffConfigurableProduct>>  implements Action {
  readonly type: DaffConfigurableProductActionTypes.ConfigurableProductApplyAttributeAction = DaffConfigurableProductActionTypes.ConfigurableProductApplyAttributeAction
  id: T["id"]
  attributeId: string
  attributeValue: string
}