phpDocumentor

ProductVariantsWriteService

Interface ProductVariantsWriteService

Tags
deprecated

Since 4.7, the gambio shop-system supports submodules. Those product domains will be refactored into submodules too. All important changes will be documented in the developer journal as soon as they are implemented.

Table of Contents

createMultipleProductVariants()  : ProductVariantIds
createProductVariant()  : ProductVariantId
deleteAllProductVariantsByProductId()  : void
deleteProductVariants()  : void
storeProductVariants()  : void

Methods

createProductVariant()

public createProductVariant(int $productId, OptionAndOptionValueIds $combination, int|null $imageListId, ProductCustomization $productCustomization, ProductIdentificationNumbers $productIdentificationNumbers, ProductVariantStock $stock, int $sortOrder) : ProductVariantId
Parameters
$productId : int
$combination : OptionAndOptionValueIds
$imageListId : int|null
$productCustomization : ProductCustomization
$productIdentificationNumbers : ProductIdentificationNumbers
$stock : ProductVariantStock
$sortOrder : int
Tags
throws
InsertionOfProductVariantsFailed
Return values
ProductVariantId

deleteAllProductVariantsByProductId()

public deleteAllProductVariantsByProductId(int $productId) : void
Parameters
$productId : int
Return values
void

Search results