luckyguy82 Posted August 12, 2015 Share Posted August 12, 2015 for a flowers wholesales shop, customer will buy more than one variety, one color. i need the quantity box instead of "Add to Cart", and showing a "Update" button to add all items with quantity to the cart. i am using 1.6.1, anyone could help? Link to comment Share on other sites More sharing options...
gabdara Posted August 13, 2015 Share Posted August 13, 2015 You'll need to create a module that will hide the default quantity input and Add to cart button. Then hook on displayProductButtons and create your Update button and a quantity input for every combination. Only the current combination quantity input must be displayed, the rest hidden and it must change when the combination changes. (Or more elegantly, use one quantity input and store all the combinations quantity data somewhere else) When the Update button is clicked collect all the combination quantity and id and use the javascript ajaxCart.add() method to add them all to the cart. It will require some work, it's not easy to implement. 1 Link to comment Share on other sites More sharing options...
Recommended Posts