• I’m using the ‘Bookings extension from WooCommerce’. Not bad but could be slicker.

    Since pressing the ‘Book Now’ button actually takes people to the cart, how can I change this to say ‘Add booking to cart’ or suchlike.

    I also need to change the ‘Return to shop’ button, as when the cart is empty, this doesn’t really apply to bookings – there is no shop!

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Book now button can be changed with this code:

    add_filter( 'woocommerce_booking_single_add_to_cart_text', 'woo_custom_cart_button_text' );    // 2.1 +
     
    function woo_custom_cart_button_text() {
     
            return __( 'Add to Cart', 'woocommerce' );
     
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[WooCommerce Bookings] Changing buttons’ is closed to new replies.