PHP Класс Smalot\Magento\Cart\CartProduct

Наследование: extends Smalot\Magento\MagentoModuleAbstract
Показать файл Открыть проект

Открытые методы

Метод Описание
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).

Описание методов

add() публичный Метод

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
Результат Smalot\Magento\ActionInterface

getList() публичный Метод

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
Результат Smalot\Magento\ActionInterface

moveToCustomerQuote() публичный Метод

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
Результат Smalot\Magento\ActionInterface

remove() публичный Метод

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
Результат Smalot\Magento\ActionInterface

update() публичный Метод

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
Результат Smalot\Magento\ActionInterface