Method |
Description |
|
assign ( string $type, string $productId, string $linkedProductId, array $data, string $identifierType = null ) : Smalot\Magento\ActionInterface |
Allows you to assign a product link (related, cross-sell, up-sell, or grouped) to another product. |
|
getAttributes ( string $type ) : Smalot\Magento\ActionInterface |
Allows you to retrieve the product link type attributes. |
|
getList ( string $type, string $productId, string $identifierType = null ) : Smalot\Magento\ActionInterface |
Allows you to retrieve the list of linked products for a specific product. |
|
getTypes ( ) : Smalot\Magento\ActionInterface |
Allows you to retrieve the list of product link types. |
|
remove ( string $type, string $productId, string $linkedProductId, string $identifierType = null ) : Smalot\Magento\ActionInterface |
Allows you to remove the product link from a specific product. |
|
update ( string $type, string $productId, string $linkedProductId, array $data, string $identifierType = null ) : Smalot\Magento\ActionInterface |
Allows you to update the product link. |
|