jtr24 Posted April 25, 2005 Share Posted April 25, 2005 How do you make it so that the quantity automatically changes when you push the "continue" instead of pushing the "update" button? Quote Link to comment Share on other sites More sharing options...
Guest Posted April 27, 2005 Share Posted April 27, 2005 (edited) I got the same problem and added a small JS piece in shopping_cart.php in catalog root directory for the input field with number of articles: onchange="this.form.submit()" ? ? ?$info_box_contents[$cur_row][] = array('align' => 'center', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'params' => 'class="productListing-data" valign="top"', ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4" onchange="this.form.submit()"') . tep_draw_hidden_field('products_id[]', $products[$i]['id'])); but this depends on browser the client is using... hope it helps Edited April 27, 2005 by feeela Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.