Advertisement
Guest User

Untitled

a guest
Aug 24th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <form data-role="tocart-form" action="<?php /* @escapeNotVerified */ echo $postParams['action']; ?>" method="post">
  2. <input type="hidden" name="product" value="<?php /* @escapeNotVerified */ echo $postParams['data']['product']; ?>">
  3. <input type="hidden" name="<?php /* @escapeNotVerified */ echo Action::PARAM_NAME_URL_ENCODED; ?>" value="<?php /* @escapeNotVerified */ echo $postParams['data'][Action::PARAM_NAME_URL_ENCODED]; ?>">
  4. <?php echo $this->getBlockHtml('formkey')?>
  5. <?php $storeManager = MagentoFrameworkAppObjectManager::getInstance()->get('MagentoStoreModelStoreManagerInterface'); ?>
  6. <button type="submit"
  7. title="<?php echo $this->escapeHtml(__('Add to Cart')); ?>"
  8. class="action tocart primary">
  9. <span><?php /* @escapeNotVerified */ echo __('Add to Cart') ?></span>
  10. </button>
  11. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement