Product
class Product extends Model
Product
catalogProductRepositoryV1
catalog-data-product-interface
Traits
AddCustomAttribute
Properties
protected | $name | from Model | |
protected Collection | $configurableProductOptions | mögliche Konfigurationen des Produktes |
Methods
__construct()
neues Objekt
addCustomAttribute(string $attribute_code, string $value, bool $isConfigAble = false)
fügt ein CustomAttribute hinzu
from AddCustomAttribute
addConfigAttribute(string $attribute_code)
hinzufügen von Konfigurations Möglichkeiten
from AddCustomAttribute
string
getTypeID()
liefert die TypeID zurück
string
getName()
liefert den Namen zurück
setAttributeSetID(int $attributeSetId)
No description
int
getAttributeSetID()
No description
string
getSku()
liefert die SKU zurück
setSizeAttribute(string $sizeAttribute)
setzt das Größen Attribute
string
getSizeAttribute()
No description
$this
setPrice(float $price)
No description
setVisibility(int $type)
setzen der Sichtbarkeit
$this
setStatus(int $status)
setzen den Status
addExtensionAttribute(string $name, Map $attribute)
fügt ein extension_attribute hinzu
Details
at line 55
__construct()
neues Objekt
in Model at line 45
addData($key, $value)
in Model at line 49
getData()
in AddCustomAttribute at line 41
Model
addCustomAttribute(string $attribute_code, string $value, bool $isConfigAble = false)
fügt ein CustomAttribute hinzu
in AddCustomAttribute at line 63
Model
addConfigAttribute(string $attribute_code)
hinzufügen von Konfigurations Möglichkeiten
in AddCustomAttribute at line 87
Collection
getConfigAttributes()
in AddCustomAttribute at line 99
string|null
getCustomAttribute(type $attribute_code)
at line 71
Product
setTypeID(string $typeID)
setzt die type_id
zum Beispiel "configurable"
at line 81
string
getTypeID()
liefert die TypeID zurück
at line 92
Product
setName(string $name)
setzt den Namen
at line 102
string
getName()
liefert den Namen zurück
at line 113
Product
setSku(string $sku)
setzt die SKU
at line 123
Product
setAttributeSetID(int $attributeSetId)
at line 132
int
getAttributeSetID()
at line 141
string
getSku()
liefert die SKU zurück
at line 152
Product
setSizeAttribute(string $sizeAttribute)
setzt das Größen Attribute
at line 161
string
getSizeAttribute()
at line 170
$this
setPrice(float $price)
at line 179
setVisibility(int $type)
setzen der Sichtbarkeit
at line 191
$this
setStatus(int $status)
setzen den Status
at line 204
Product
addExtensionAttribute(string $name, Map $attribute)
fügt ein extension_attribute hinzu