ADD TO CART BUTTON

Hello,

How to change the text ADD TO CART to: VIEW   or   BUY  for example

Also, how to change the size of the font and button?

Thank you so much. Stay healthy.

Comments

  • Oh... I forgot to mention... not in the product page, but on the SHOP pages...

    Thanks!
  • Okay... I figured out how to change the text int he buttons in functions.php
    // To change add to cart text on single product page
    add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' );
    function woocommerce_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
    }
    // To change add to cart text on product archives(Collection) page add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' ); function woocommerce_custom_product_add_to_cart_text() { return __( 'Buy Now', 'woocommerce' ); }
    However, how to change the font size and button size via CSS please?
    Thank you sooooo very much!
  • Actually, I think it would be easier this way: Is there any way to remove the ADD TO CARD button from all shop pages and WPBakery woocommerce listings?   Having add to cart ONLY in product page would be ideal. 
    Thanks!
  • Hey,
    sorry but ths is not possible. We do have an option called "catologue mode" in theme options>shop but this removes all of the add to cart buttons.
    thanks
  • edited April 2020
    I'm using a simple plugin call: WooCommerce Custom Add To Cart Button
    to change the text of the button,
    but it could not change the button design.
    Button design is control by Betheme button, 
    I guess.

    Actual I just want to change the text of ONE PRODUCT only,
    but couldn't find a solution.
    I've both merchandise, and a donation.

    The donation (in one product), I wish to change the ADD TO CART button to DONATE NOW.
    But I don't know how to change only one product button,
    but still keep the rest same as ADD TO CART.
    Any solution? Thanks!
  • You will not be able to change the text of the button, even if it's only one button.
    Sadly, BeTheme and WooCommerce does not have this kind of functionality.
    Thanks
Sign In or Register to comment.