Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @david199

    Thank you so much for using our theme StoreCommerce.
    You need to change the text with theme code edit. Because that is the default Woocommerce search. Please see this documentation to know how to customize it.
    https://docs.woocommerce.com/document/overriding-the-product-search-box-widget/

    Note: Child theme is recommended to customize the theme.

    Thank you

    Thread Starter david199

    (@david199)

    Thanks for your response.
    product-searchform.php doesn’t exist. I created and pasted this code:

    <form role="search" method="get" class="woocommerce-product-search" action="<?php echo esc_url( home_url( '/'  ) ); ?>">
    	<label class="screen-reader-text" for="s"><?php _e( 'Search for:', 'woocommerce' ); ?></label>
    	<input type="search" class="search-field" placeholder="<?php echo esc_attr_x( 'Search Products&hellip;', 'placeholder', 'woocommerce' ); ?>" value="<?php echo get_search_query(); ?>" name="s" title="<?php echo esc_attr_x( 'Search for:', 'label', 'woocommerce' ); ?>" />
    	<input type="submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'woocommerce' ); ?>" />
    	<input type="hidden" name="post_type" value="product" />
    </form>

    But it doesn’t make any changes.
    Am i doing right?

    Hi @david199
    Thank you for getting back to us.

    Looks like WooCommerce plugin is not installed and activated on your site. First install and activate the WooCommerce plugin and check the option inside Appearance > Customize > WooCommerce > Product Search.

    Besides that, if you need more customization possibilities, you can go with the premium theme.

    Thank you

    Thread Starter david199

    (@david199)

    Thanks a lot.
    Solved

    Thanks for using StoreCommerce.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search Text’ is closed to new replies.