Support » Plugin: WooCommerce » Change add to cart label after click

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roy Ho

    (@splashingpixelscom)

    If you use ajax add to cart in category view, it does that already. It adds a class of “added” to the button. So using that class you can manipulate it…

    And if I don’t have AJAX?

    Roy Ho

    (@splashingpixelscom)

    You can still do it but would probably require you to customize the template view in question and add a check for what is in the cart at the time if in the cart, add CSS class or change the text completely.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change add to cart label after click’ is closed to new replies.