PHP Class Smalot\Magento\Cart\CartProduct

Inheritance: extends Smalot\Magento\MagentoModuleAbstract
Afficher le fichier Open project: smalot/magento-client

Méthodes publiques

Méthode Description
add ( integer $quoteId, array $productsData, string $storeId = null ) : Smalot\Magento\ActionInterface Allows you to add one or more products to the shopping cart (quote).
getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface Allows you to retrieve the list of products in the shopping cart (quote).
moveToCustomerQuote ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to move products from the current quote to a customer quote.
remove ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to remove one or several products from a shopping cart (quote).
update ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface Allows you to update one or several products in the shopping cart (quote).

Method Details

add() public méthode

Allows you to add one or more products to the shopping cart (quote).
public add ( integer $quoteId, array $productsData, string $storeId = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$storeId string
Résultat Smalot\Magento\ActionInterface

getList() public méthode

Allows you to retrieve the list of products in the shopping cart (quote).
public getList ( integer $quoteId, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$store string
Résultat Smalot\Magento\ActionInterface

moveToCustomerQuote() public méthode

Allows you to move products from the current quote to a customer quote.
public moveToCustomerQuote ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
Résultat Smalot\Magento\ActionInterface

remove() public méthode

Allows you to remove one or several products from a shopping cart (quote).
public remove ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
Résultat Smalot\Magento\ActionInterface

update() public méthode

Allows you to update one or several products in the shopping cart (quote).
public update ( integer $quoteId, array $productsData, string $store = null ) : Smalot\Magento\ActionInterface
$quoteId integer
$productsData array
$store string
Résultat Smalot\Magento\ActionInterface