Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form data-role="tocart-form" action="<?php /* @escapeNotVerified */ echo $postParams['action']; ?>" method="post">
- <input type="hidden" name="product" value="<?php /* @escapeNotVerified */ echo $postParams['data']['product']; ?>">
- <input type="hidden" name="<?php /* @escapeNotVerified */ echo Action::PARAM_NAME_URL_ENCODED; ?>" value="<?php /* @escapeNotVerified */ echo $postParams['data'][Action::PARAM_NAME_URL_ENCODED]; ?>">
- <?php echo $this->getBlockHtml('formkey')?>
- <?php $storeManager = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoStoreModelStoreManagerInterface'); ?>
- <button type="submit"
- title="<?php echo $this->escapeHtml(__('Add to Cart')); ?>"
- class="action tocart primary">
- <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
- </button>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement