marcianokent Posted January 19, 2010 Share Posted January 19, 2010 Hello, Can anyone help me about advancedcartV2 module? http://addons.oscommerce.com/info/3474 function decrement(index) { if(document.forms["cart_box"].elements["cart_quantity[]"][index].value >3) { document.forms["cart_box"].elements["cart_quantity[]"][index].value-=3; document.cart_box.submit(); } } function increment(index) { document.forms["cart_box"].elements["cart_quantity[]"][index].value++; document.cart_box.submit(); } as you see in the "function decrement" of each of clicks, it decreases qty 3 (-3) and the function of each clicked incrementnya increases 1 (+1) Because I do not know javascript I need help to change the function of incrementnya into +3 I hope someone can help Thanks before 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.