Help with WooCommerce Product Search

mandar.diwate40

Active member
Jun 25, 2019
297
120
43
I have downloaded WooCommerce Product Search, and I need a small help.

When I place the shortcode for the plugin on the page, a textbox is placed and the placeholder has text Search in it. There is a setting to change the placeholder text in the backend, under WooCommerce-> Settings-> Search.
But even after changing it doesn't seem to work.

Can anyone guide me where can I change the text from?
(I need to change the placeholder text in the searchbox)
 

MelbourneMel

Member
Apr 30, 2019
55
41
18
Hello @melbagnato,

Here are the two screenshots:

I have placed the shortcode on the front portion. Using the DIVI theme. And I have included the backend screenshot as well.

In your screenshots, you have the word "Search" in the settings, and "Search" appears in the search box. Can you change the settings page to something different and see what happens ? Also, can you send a URL and I can check the CSS settings.
 

mandar.diwate40

Active member
Jun 25, 2019
297
120
43
In your screenshots, you have the word "Search" in the settings, and "Search" appears in the search box. Can you change the settings page to something different and see what happens ? Also, can you send a URL and I can check the CSS settings.
The placeholder has "Search Your Favorite Product" and the submit button has "Search" as text. I am looking at replacing the text in the placeholder. I am currently working on local server, and so I do not have a URL.
 

guguk

Well-known member
Jul 19, 2019
1,150
828
113
Ottoman Empire
Hello @melbagnato,

Here are the two screenshots:

I have placed the shortcode on the front portion. Using the DIVI theme. And I have included the backend screenshot as well.
"Search" text In settings page changes button text not placeholder but i have not seen any search button screenshot.

If you dont use any external search plugin and using standard theme's search input let check this:
right click of "search text" and click the "inspect element" and find the input class name or ID and search that name in all theme files and check that string has "_e" tag before string?
 
  • Like
Reactions: tanierlyons

mandar.diwate40

Active member
Jun 25, 2019
297
120
43
Search button is disabled. And I am using WooCommerce Product Search plugin downloaded from Babiato.
When I click inspect element, here is the code I see
Code:
<input id="product-search-field-0" name="s" type="text" class="product-search-field" placeholder="Search" autocomplete="off">
 

guguk

Well-known member
Jul 19, 2019
1,150
828
113
Ottoman Empire
Search button is disabled. And I am using WooCommerce Product Search plugin downloaded from Babiato.
When I click inspect element, here is the code I see
Code:
<input id="product-search-field-0" name="s" type="text" class="product-search-field" placeholder="Search" autocomplete="off">
Okay.
Seem placeholder string is not translatable. So i think, in pot file does not contain this string.

You can use this plugin https://wordpress.org/plugins/say-what/ for temporarily
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu