hi , i tryed multiple combination without any success to what i want to achive
first is i tried to use the button from the quick_view.html
which is like this :
i took this piece and pasted it here :in home.html to try it out but didnt work .
what i m looking for is to have a field for quantity and add to cart in the home page and category page , so when customer is on the page he choose the quantity and add it to the cart without having to navigate to another page .
thank you
first is i tried to use the button from the quick_view.html
which is like this :
HTML Code:
<div class="addToCartBlock"> <div class="qtybox"> <label>[product_quantity]</label> <!--START: qtybox--> <input type="text" size="3" name="qty-0" value="1" onchange="validateValues(document.add,1);" class="form-control" /> <!--END: qtybox--> </div> <div class="addcart-button"> <button type="button" onclick="check_and_add(document.add);" id="Add" name="Add" class="btn btn-color btn-lg">[product_addtocart]</button> <a href="javascript:void(0);" onclick="window.top.location='product.asp?itemid=[catalogid]'">Or View Details</a> </div> </div>
what i m looking for is to have a field for quantity and add to cart in the home page and category page , so when customer is on the page he choose the quantity and add it to the cart without having to navigate to another page .
thank you
Comment