phpDocumentor

ProductVariantsGenerationService

Interface ProductVariantsGenerationService

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

addOptionToExistingProductVariants()  : ProductVariantIds
generateProductVariants()  : ProductVariantIds
removeOptionFromExistingProductVariants()  : ProductVariantIds
Deletes an option from the existing product variant combinations and only keeps the product variants with a combination containing a specific option value of that option.

Methods

removeOptionFromExistingProductVariants()

Deletes an option from the existing product variant combinations and only keeps the product variants with a combination containing a specific option value of that option.

public removeOptionFromExistingProductVariants(int $productId, int $optionId, int $retainableOptionValueId) : ProductVariantIds
Parameters
$productId : int
$optionId : int
$retainableOptionValueId : int
Tags
throws
StorageOfProductVariantsFailed
throws
DeletionOfProductVariantsFailed
Return values
ProductVariantIds

Search results