How to update shopping cart QTY

I am making a shopping cart lie this pic I attached

The sum of the product is depent on the buyer my question is how can I press update button to update all QTY of the product?

Answers


You will want to use Javascript to update the form itself.

$(document).ready( function() { 
    $(".update_button").click( function() {
        //update the quantities here.
    });
});

Need Your Help

Using a javascript "random quote" script but across two separate elements

javascript css random hyperlink

I'm trying to teach myself a bit of javascript by writing a basic Web site (using Twitter Bootstrap) that presents a random quote from a Project Gutenberg novel, some discussion of it, and then fur...