Viewing 1 replies (of 1 total)
  • bsswseay

    (@bsswseay)

    I’m sure you have figured this out since you asked almost 4 months ago, But for anyone else that is curious and not sure how to do this. Add the following code to your functions.php file.

    function woocommerce_products_carousel_all_in_one_item_buttons( $buttons, $params ) {
            $buttons = '<a href="' . get_permalink($product_id) . '" class="woocommerce-products-carousel-all-in-one-more-button button">Learn More</a>';    
     
        return $buttons;
    }
    add_filter('woocommerce_products_carousel_all_in_one_item_buttons', 'woocommerce_products_carousel_all_in_one_item_buttons', 1, 2);
Viewing 1 replies (of 1 total)
  • The topic ‘Change button Text’ is closed to new replies.