Magento Add to cart quantity increment/decrement with jQuery
Hello
I am just creating simple examples of jquery Increamen And Decrement.
Just adding query first after adding below script.
<script >
$( document). ready( function( ) {
$( '#add1'). click( function( ) {
}
$( '. qty '). val ( plus);
});
$( '#minus1'). click( function( ) {
$( '. qty '). val ( minus);
}
});
});
</script >
<input type="text" value="1" id="qty " class="qty " />// this text box are available then add class qty
<input type="button" value="+" id="add1" />
<input type="button" value="-" id="minus1" />
No comments:
Post a Comment
Thank You For Comment