Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MConfigurableProduct ¶
func GetConfigurableProductBySKU ¶
func GetConfigurableProductBySKU(sku string, apiClient *api.Client) (*MConfigurableProduct, error)
func (*MConfigurableProduct) AddChildBySKU ¶
func (mConfigurableProduct *MConfigurableProduct) AddChildBySKU(sku string) error
func (*MConfigurableProduct) UpdateOptionByID ¶
func (mConfigurableProduct *MConfigurableProduct) UpdateOptionByID(o *Option) error
func (*MConfigurableProduct) UpdateOptionsFromRemote ¶
func (mConfigurableProduct *MConfigurableProduct) UpdateOptionsFromRemote() error
type Option ¶
type Option struct { ID int `json:"id,omitempty"` AttributeID string `json:"attribute_id"` Label string `json:"label"` Position int `json:"position"` IsUseDefault bool `json:"is_use_default"` Values []Value `json:"values"` ExtensionAttributes interface{} `json:"extension_attributes,omitempty"` ProductID int `json:"product_id,omitempty"` }
Click to show internal directories.
Click to hide internal directories.