Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
marcianokent

Need Help for this add on

Recommended Posts

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×