Page Header Image

UMS Product buttons

Home Forums UM Switcher UMS Product buttons

This topic contains 1 reply, has 2 voices, and was last updated by Roy Pepito Roy Pepito 2 weeks, 6 days ago.

  • Author
    Posts
  • #82785

    Is there a way to disable the override of the UMS Product buttons option? It seems to be playing a bit of funny business, but I cannot put my finger on it.

  • #82790
    Roy Pepito
    Roy Pepito
    Moderator

    Hi Andrew,

    You can override the WC button by adding these codes in your theme function.

    add_filter(‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’);

    function woo_custom_cart_button_text() {
    return __(‘Book Now’, ‘woocommerce’);
    }

    Let me know if that works. Thanks

    Regards

    Roy

You must be logged in to reply to this topic.