Skip to content

Commit 51b925e

Browse files
nit-itihor-sviziev
authored andcommitted
Update form.phtml
1 parent 58dd8e2 commit 51b925e

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Catalog/view/frontend/templates/product/view

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/view/form.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<input type="hidden" name="product" value="<?= /* @escapeNotVerified */ $_product->getId() ?>" />
2323
<input type="hidden" name="selected_configurable_option" value="" />
2424
<input type="hidden" name="related_product" id="related-products-field" value="" />
25+
<input type="hidden" name="item" value="<?= $block->getRequest()->getParam('id') ?>" />
2526
<?= $block->getBlockHtml('formkey') ?>
2627
<?= $block->getChildHtml('form_top') ?>
2728
<?php if (!$block->hasOptions()):?>

0 commit comments

Comments
 (0)