Editing The Woocommerce Add To Cart Button

Hi, I’ve just added a second add to cart button to my product page with a shortcode, but now I can’t figure how to edit the button properly.

This is the link: www.123cbd.nl/cbd-box-basic

  1. How can I remove the border?
  2. How can I remove the price (including the ‘BTW’, which is ‘VAT’ in Dutch)

I hope you can help me!

Thanks

Hi There,

Thanks for writing in!

Please add this css to your theme option -> global css

p.woocommerce.add_to_cart_inline {
 border: 0px !important;
}
p.woocommerce.add_to_cart_inline span, 
p.woocommerce.add_to_cart_inline .small {
display: none;
}

Hope this helps!

Thanks

Thank you, that almost works! Only the ‘incl. VAT’ is still there. Do you know how to remove that?

Also is it possible to make the add to cart button look the same as the one at the top of the page together with the product count? (So, a product count dropdown and add to cart button)

Hi There,

Please replace the css with this.

p.woocommerce.add_to_cart_inline {
 border: 0px !important;
}
p.woocommerce.add_to_cart_inline span, 
p.woocommerce.add_to_cart_inline small {
display: none;
}

Hope this works.
For the other query you need custom code to do this, there is no shortcode for this.
Which is beyond our theme support scope.

Thanks for understanding.

Thank you very much, that did it!

You are most welcome. Have a nice weekend. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.