If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
December 22, 2012 at 10:07 am #18943
I’m using woocommerce product search widget to search the products. How can I customize page with search results (I want to have sidebar on the right instead on the left, how can I define widgets in sidebar on this page etc)
Or should I create new search page template, and if so, how can I do that, and be sure that woocommerce widget will use that template?
ThanksDecember 26, 2012 at 5:01 pm #101468
Sorry for the delay. Hollidays and all.
Please make sure you are using the latest theme version (1.6) + latest woocommerce (1.6.6) and wordpress.3.5
The page that displays the search results of the woocommerce search widget is located in woocommerce plugin folder /woocommerce/archive-product.php
If you plan on editing it, its better if you create a woocommerce folder inside your theme folder and copy the above file in there (/abundance/woocommerce/archive-product.php) ,. This way when the plugin gets updated, your customization will not be overwritten (but they will be overwritten if you update the theme unless you are using a child theme) – Just be careful since that page is used for more than just displaying search results.
Take a look at this free/upgradable to premium plugin that turbo charges the search widget, http://wordpress.org/extend/plugins/woocommerce-predictive-search/
Take a look at this thread http://wordpress.org/support/topic/ (Purchase code hidden if logged out) -wordpress-template-problem where they explain (3rd post i think) how to unhook the sidebar and then elsewhere on page how to hook it on the other side. Also I think Woocommerce sells some gizmo that gives more control over woocommerce, though they have over 100 of them so you have to browse through them.
NickJanuary 4, 2013 at 9:40 am #101469
how did you manage search page on your demo ie: http://www.kriesi.at/themes/abundance/?s=limux&post_type=product
Do you use woocommerce product search for this or anything else?
As I can see the sidebar is on the right not on the left and it’s customized.
Can you help with this?January 4, 2013 at 10:44 am #101470
That’s a good question. Let me see.
In file config.php inside woocommerce-config folder of the theme, please find line 318 which looks like
and make it look like
Please let us know if that worked out .
NickJanuary 23, 2013 at 11:59 pm #101471
thanks for predictive search widget suggestion, it’s fantastic, it’s possible to insert it on top of the page where is search box filed on abundance theme?
GiuseppeJanuary 24, 2013 at 8:36 am #101472
The topic ‘Abundance Theme: Woocommerce product search widget and search page’ is closed to new replies.