Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1123388
    axelra82
    Participant

    I’m trying to revert a change by integrity to woocommerce cart coupon code.

    Integrity hides the default “Apply coupon” button and replaces it with a new one next to “Update cart” button. I don’t want this new button. I want the default one, next to the coupon code textbox.

    How can I stop the Integrity button from being generated, so I can show the default one?

    #1123446
    Christopher
    Moderator

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1123626
    axelra82
    Participant

    It’s a local dev site. So there is no external accessible URL yet.
    I don’t really see what the URL has to do with this?
    I’m just wondering where the “Apply coupon code” button is generated with the integrity theme. All I want to do is stop x-theme from overriding the original “Apply coupon” button (so I can place it next to the “coupon code” field) 🙂

    #1123817
    Christian
    Moderator

    Please add the code below in your Appearance > Customize > Custom > CSS

    .woocommerce .cart .actions .coupon input[type="text"] {
        width: 40%;
    }
    
    .woocommerce .cart .actions .coupon input[type="submit"] {
        display: inline-block;
        margin-left: 10px
    }
    
    .woocommerce .cart .actions>input[name="apply_coupon"] {
        display: none;
    }

    Hope that helps. 🙂

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