PHP Класс Smalot\Magento\GiftMessage\GiftMessage

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

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

Метод Описание
setForQuote ( string $quoteId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface Allows you to set a global gift message for the shopping cart (quote).
setForQuoteItem ( string $quoteItemId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface Allows you to set a gift message for an item in the shopping cart (quote).
setForQuoteProduct ( string $quoteId, array $productsAndMessages, string $store ) : Smalot\Magento\ActionInterface Allows you to set a gift message for a product in the shopping cart (quote).

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

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

Allows you to set a global gift message for the shopping cart (quote).
public setForQuote ( string $quoteId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface
$quoteId string
$giftMessage array
$store string
Результат Smalot\Magento\ActionInterface

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

Allows you to set a gift message for an item in the shopping cart (quote).
public setForQuoteItem ( string $quoteItemId, array $giftMessage, string $store ) : Smalot\Magento\ActionInterface
$quoteItemId string
$giftMessage array
$store string
Результат Smalot\Magento\ActionInterface

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

Allows you to set a gift message for a product in the shopping cart (quote).
public setForQuoteProduct ( string $quoteId, array $productsAndMessages, string $store ) : Smalot\Magento\ActionInterface
$quoteId string
$productsAndMessages array
$store string
Результат Smalot\Magento\ActionInterface