Viewing 1 replies (of 1 total)
  • Thread Starter venenum11

    (@venenum11)

    Now i have this solution but i don’t like:
    in add-to-cart.js where is:

    $thisbutton.addClass( ‘added’ );

    after i add this line:

    $( “.add_to_cart_button” ).addClass( “changed” );

    And in style.css of theme child:
    .added.changed { display:none!important;}

    p.s. to make easy this solution use add-to-cart.js as add-to-cart.min.js

Viewing 1 replies (of 1 total)
  • The topic ‘Change Add to cart button after added a product.’ is closed to new replies.