This topic has 8 replies, 3 voices, and was last updated 7 years, 10 months ago ago by Olga Barlow
Hi,
When I used the search widgets to search product, such as product “55-03”, but it is not work.
Please see http://prntscr.com/dxiar7
Please help to fix it.
Murasaki
Hello,
Thank you for contacting us.
Could you please check is WooCommerce search works correctly with default theme. Try to switch theme for a few minutes and check Search Widget. It seems to be a plugin issue and is not related to our theme.
Kind Regards
Hi,
I check WooCommerce search, it is work.
You said “Try to switch theme”, how to do it?
You can switch to default theme in Appearance -> Themes.
Hi,
I switch to default theme Twenty Seventeen, the search widget works fine.
After change back to Xstore-child, the search widget doesn’t work, goes to 404 page.
Hello,
Provide, please, admin panel and FTP access in Private content area. We’ll try to fix the issue.
Regards
Hi Olga,
Thank you for your reply.
I found that if I take-out the “/en” on url, the search widgets is worked.
Please see http://prntscr.com/dz9j9v
So I submitted a ticket to WPML. I just got their reply as below –
==================================================================
I have been debugging Search form issue. Eventually I found this as a bug in the theme code. I am able to modify it and it works correctly now. Below are the changes I have made right now:
1. In this file: /public_html/wp-content/themes/xstore/woosearchform.php
Line #18 Changed from this:
<form action="<?php echo esc_url( home_url( '' . $wpml . '/' ) ); ?>" id="searchform" class="<?php echo esc_attr($class); ?>" method="get">
Changed to this:
<form action="<?php echo esc_url( home_url( '' . '/' ) ); ?>" id="searchform" class="<?php echo esc_attr($class); ?>" method="get">
Line #22 – I have added this code:
<input type="hidden" name="lang" value="<?php echo(ICL_LANGUAGE_CODE); ?>"/>
2. Please report this bug and solution to the XStore Theme Author. Also note that this change will be overwritten if you update theme. So it’s better to save this file or code as backup, just in case. Once Theme Author will fix this issue in the main theme, there will be no more issues with the updates.
Please note.
Best regards,
Murasaki
Hello,
Yes, this is known issue and we’ll fix it in next theme update.
Regards
You must be logged in to reply to this topic.Log in/Sign up