Skip to content

Commit 85d8773

Browse files
committed
ACP2E-1564: Page Builder: Adding Product to cart from PB Grid/Carousel doubles up the item quantity
1 parent 3a6adfb commit 85d8773

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content

1 file changed

+2
-1
lines changed

app/code/Magento/CatalogWidget/view/frontend/templates/product/widget/content/grid.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use Magento\Framework\App\Action\Action;
1313

1414
// phpcs:disable Generic.Files.LineLength.TooLong
1515
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundHelper
16+
// phpcs:disable Magento2.Templates.ThisInTemplate.FoundThis
1617
?>
1718

1819
<?php if ($exist = ($block->getProductCollection() && $block->getProductCollection()->getSize())): ?>
@@ -80,7 +81,7 @@ use Magento\Framework\App\Action\Action;
8081
<span><?= $block->escapeHtml(__('Add to Cart')) ?></span>
8182
</button>
8283
</form>
83-
<?php if($block->getBlockHtml('formkey')): ?>
84+
<?php if ($block->getBlockHtml('formkey')): ?>
8485
<script type="text/x-magento-init">
8586
{
8687
"[data-role=tocart-form], .form.map.checkout": {

0 commit comments

Comments
 (0)