Support » Theme: Neve » Change text on Add-to-cart button ?

  • Resolved KarlWolfschtagg


    My environment is:
    WooCommerce Bookings
    Neve theme
    Loco Translate
    Otter + Templates Pattern Collection – (from Themeisle..)

    How to change button?
    On a simple page I have a block called “All Products”. This is some built-in block I found, which simply shows all my products in a gallery.

    See image:

    The caption on this button is now, after making the product bookable, “Read more”.
    Before making it was like “add to cart”.
    Anyway, how do I change so that clicking on “Read more” actually takes me to the product?

    (What happens now is, it tries to add that product to cart (even though it says read more) – which of course doesn’t work because you need to choose start and end time, which can only be done on the product page. So when clicking now, there’s just some error messages saying “duration is required – please enter….”)

    How to make the button take me to product page? Instead of WC trying to put in in cart

    Later I want to change the caption on the button to “Book now” instead of “Read more”.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter KarlWolfschtagg


    Update Clarification:

    I want to change the target (action) on clicking the button.
    Changing the actual button text is secondary.

    Hi @karlwolfschtagg!

    Thanks for choosing Neve!

    It’s possible to change the event triggered by clicking on that button and the text that appears on that button by adding the code that can be found here at the end of the functions.php file of your child theme. You can find out more on how to create a child theme here.

    Have a nice day!

    Thread Starter KarlWolfschtagg



    Thanks for your response.
    I did as you said, with the exception of editing the theme function.php directly instead
    (I guess making a child theme is better for this kind of code addition to stay there after a theme update?)

    However, it doesn’t work:

    Each product currently has “Read more” button under it (i think this is because of WooCommerce Bookings plugin). It can also be “%quantity in cart”. And clicking it doesnt take me to the product page.
    Lastly, I also want to remove “0 kr” in this gallery view. How to solve all this?


    Thread Starter KarlWolfschtagg



    Any idea why it doesnt work on my site?

    Happy Holidays



    Hello @karlwolfschtagg ,

    Thank you for your reply!

    To remove the 0kr text please add this code to the Additional CSS section in the Customizer:

    span.wc-block-grid__product-price.price.wc-block-components-product-price {
        display: none;

    As for the code provided earlier, yes it is needed to be placed in the functions.php file of the child theme so it works even if you update the theme in the future.

    If that code did not work for you, you can try this approach here.

    Thank you and please let us know if this worked for you!

    Thread Starter KarlWolfschtagg



    Hey, thanks for that, works perfectly!

    Now I only want to change target and text on the buttons for each product:

    They are “Read more” or “x in cart v” currently.
    I want target to be product page, and the text “Book”

    Any ideas? Lucia’s idea didn’t work for me.

    Best regards



    Themeisle Support

    Hi @karlwolfschtagg,

    You can try using the Say What? plugin for this. It will change the Read More text to your preferred one.

    Hope that helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.