• How to change Placeholder Search products in product archive page, how to change the button label return to shop when cart is empty. In author page author:user is coming instead of author name in title, how to solve that.

Viewing 1 replies (of 1 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, for the search, can you send me a screenshot of the search form you’re talking about?

    For the “Return to shop” button, try this function in the functions.php file of your child theme:

    add_filter( 'gettext', 'change_woocommerce_return_to_shop_text', 20, 3 );
    function change_woocommerce_return_to_shop_text( $translated_text, $text, $domain ) {
            switch ( $translated_text ) {
                case 'Return to shop' :
                    $translated_text = __( 'Return to Store', 'woocommerce' );
                    break;
            }
        return $translated_text;
    }

    For the author page, I misunderstood.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change Placeholder Search prducts in product archive page, how to change’ is closed to new replies.