Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
subhojit777Its 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.
Comment #2
redhatusr CreditAttribution: redhatusr commentedComment #3
subhojit777Comment #4
pratik.mehta19 CreditAttribution: pratik.mehta19 commentedComment #5
subhojit777Still looking for volunteers