Guest User

Untitled

a guest
Mar 17th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <form action="http://bs....." method="post" id="product_addtocart_form">
  2. ....
  3. <div class="add_to_box_con">
  4. <div class="qty_con">
  5. <div class="add-to-box removeaddcart_con">
  6. <div class="add-to-cart">
  7. <label class="qty_label" for="qty">Quantity:</label>
  8. <div class="qty_pan">
  9. <input type="text" name="qty" id="qty" maxlength="12" value="1" title="Qty" class="input-text qty">
  10. <div class="inc add">›</div><div class="dec add">‹</div><div class="inc add">›</div><div class="dec add">‹</div></div>
  11. <button type="button" title="Add to Cart" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span>Add to Cart</span></span></button>
  12. </div>
  13. </div>
  14.  
  15. .....
  16.  
  17.  
  18. <div class="add_to_cart_links_con">
  19. <div class="add_to_cart_con">
  20. <div class="add-to-cart">
  21. <label class="qty_label" for="qty">Quantity:</label>
  22. <div class="qty_pan">
  23. <input type="text" name="qty" id="qty" maxlength="12" value="1" title="Qty" class="input-text qty">
  24. ....
  25. </form>
  26.  
  27. <?php echo $this->getBlockHtml('formkey'); ?>
  28.  
  29. <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
  30.  
  31. <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form">
  32. <?php echo $this->getBlockHtml('formkey'); ?>
  33.  
  34. <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
  35. <?php echo $this->getBlockHtml('formkey'); ?>
Add Comment
Please, Sign In to add comment