/** * Add gift message to items and/or order. * * @return array */ public function run() { $this->checkoutCart->open(); $this->checkoutCart->getGiftMessagesItemBlock()->fillGiftMessageItem($this->giftMessage, $this->products); $this->checkoutCart->getGiftMessagesOrderBlock()->fillGiftMessageOrder($this->giftMessage, $this->products); return ['giftMessage' => $this->giftMessage]; }