![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/code/Kaliop/AddToCartModal/view/frontend/templates/modal/ |
<?php // phpcs:disable Generic.Files.LineLength.TooLong /** * Copyright (c) 2020 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved. * https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * <[email protected]> */ use Kaliop\AddToCartModal\ViewModel\AddedItem; use Kaliop\AddToCartModal\ViewModel\Modal\ItemImage; use Magento\Framework\View\Element\AbstractBlock; /** @var AbstractBlock $block */ /** @var AddedItem $itemViewModel */ $itemViewModel = $block->getAddedItemViewModel(); /** @var ItemImage $imageViewModel */ $imageViewModel = $block->getItemImageViewModel(); $product = $itemViewModel->getProduct(); $quoteItem = $itemViewModel->getQuoteItem(); ?> <div class="item-added-container"> <?= /* @noEscape */ $imageViewModel->getImage($imageViewModel->getProductForThumbnail(), 'cart_page_product_thumbnail')->toHtml() ?> <div> <h2 class="title"><?= $block->escapeHtml(__('You have just added to your basket :'))?></h2> <span class="label"><?= $block->escapeHtml($product->getName()) ?></span> </div> </div>