Page Header Image

UMS Product buttons

Home Forums UM Switcher UMS Product buttons

Viewing 1 reply thread
  • 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 PepitoRoy 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

Viewing 1 reply thread
  • You must be logged in to reply to this topic.