teoze Posted December 11, 2009 Share Posted December 11, 2009 //for every 'add' buttons... $('.ajax_add_to_cart_button').unbind('click').click(function(){ var idProduct = $(this).attr('rel').replace('ajax_id_product_', ''); ajaxCart.add(idProduct, null, false, this); return false; }); //for product page 'add' button... $('body#product p#add_to_cart input').unbind('click').click(function(){ ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null, true); return false; problem ? Link to comment Share on other sites More sharing options...
Seo Organique Posted December 11, 2009 Share Posted December 11, 2009 yes ;-) Link to comment Share on other sites More sharing options...
teoze Posted December 12, 2009 Author Share Posted December 12, 2009 Where problem ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now