Jump to content

disable buy button depuis les pages catalogues


Recommended Posts

Pourquoi il y n'a pas un Forum "Bug" en anglais ?

Presta 1.2.5 fichier ajax-cart.js fonction overrideButtonsInThePage

$('.ajax_add_to_cart_button').unbind('click').click(function(){
           var idProduct =  $(this).attr('rel').replace('ajax_id_product_', '');
           if ($(this).attr('disabled') != 'disabled') {
             ajaxCart.add(idProduct, null, false, this);
           }
           return false;
       });



La condition manquait.

Cordialement, Mark

Link to comment
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
×
×
  • Create New...