ProductCategoryLinkerInterface

Extends

Interface ProductCategoryLinkerInterface

category

System

package

Product

subpackage

Interfaces

Methods

addProductToStartPage

addProductToStartPage(\IdType $productId) : \ProductRepositoryInterface|$this

Arguments

$productId

\IdType

Response

\ProductRepositoryInterface|$this

Same instance for chained method calls.

Links a product to a category.

linkProduct(\IdType $productId, \IdType $targetCategoryId) : $this|\ProductCategoryLinkerInterface

Arguments

$productId

\IdType

Product ID.

$targetCategoryId

\IdType

Target category ID.

Response

$this|\ProductCategoryLinkerInterface

Same instance for chained method calls.

removeProductFromStartPage

removeProductFromStartPage(\IdType $productId) : \ProductRepositoryInterface|$this

Arguments

$productId

\IdType

Response

\ProductRepositoryInterface|$this

Same instance for chained method calls.