cortese14 Posted February 24, 2015 Share Posted February 24, 2015 I insert th cart button in cms page but the combination id select not work: <p><a onclick="ajaxCart.add(product_id=735, combination_id=43, true, null, quantity=1, null);">Add to cart</a></p> with combination_id=0 it working. The id 43 is properly configured what' the tag? Link to comment Share on other sites More sharing options...
cortese14 Posted February 24, 2015 Author Share Posted February 24, 2015 with this code: <p><a onclick="ajaxCart.add(product_id=735, attribute_id=43, true, null, quantity=1, null);">Add to cart</a></p> display this message you already have the maximum quantity available for this product Link to comment Share on other sites More sharing options...
cortese14 Posted February 24, 2015 Author Share Posted February 24, 2015 with <p><a onclick="ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(3), true, null, $('#quantity_wanted').val(), null);">Add to cart</a></p> $('#idCombination').val(3) not work 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