Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1154839
    sandrayin
    Participant

    Hi,

    I want to add a class into the html of the ‘Clear’ link variation of the product. Where is it? I managed to do some changes using the chrome inspector. Now I need to add a class in the raw php page.

    #1154940
    Thai
    Moderator

    Hi There,

    That button locates in this file: woocommerce/templates/single-product/add-to-cart/variable.php line 34.

    You need to copy this file to this directory: x-child/woocommerce/single-product/add-to-cart/variable.php.

    Hope it helps 🙂

    #1154982
    sandrayin
    Participant

    Splendid! Thank you for your help~

    #1155003
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1154839 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>