It would be very nice about usability if quantity field work only with two arrows (up/down).
So adding the arrows seems easy, just adding this code at the beginning of dc-ajax-shopping-cart.tpl.php

<script>
$(function() {
var spinner = $( "#block-dc-ajax-add-cart-ajax-shopping-cart table input[type=text]" ).spinner();
});
</script>

but the problem is how to implement the update automatically so to remove the button

can anyone help on this?

Comments

subhojit777’s picture

Status: Active » Needs work

Its a nice feature. I was thinking on including this feature in module. We can also add a setting whether to show updateable field as spinner. Patches are welcome.

redhatusr’s picture

Issue summary: View changes
subhojit777’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Issue tags: +Novice
pratik.mehta19’s picture

Assigned: Unassigned » pratik.mehta19
subhojit777’s picture

Assigned: pratik.mehta19 » Unassigned

Still looking for volunteers