Forums › Forums › Search & Filter Pro › Woocommerce 3.4.3 Display Results
Tagged: woocommerce
- This topic has 11 replies, 2 voices, and was last updated 6 years, 5 months ago by Trevor.
-
Anonymous(Private) June 21, 2018 at 4:31 pm #180980
I have WooCommerce 3.4.3 and Search & Filter Pro 2.4.3 installed on my WordPress installation. I have the WooCommerce products page displayed on an interior page /shop/. When I make the Search Filter Display Results “WooCommerce Shop” the /shop/ page returns an Error 404 page. When I make the WooCommerce products page the websites front page and not an interior page, everything works fine. I followed the instructions per this url, https://searchandfilter.com/documentation/3rd-party/woocommerce/, but the error persists. What do I need to do to make it so that I can see and filter the products when the products page is the interior /shop/ page?
– Thank you!
Trevor(Private) June 21, 2018 at 5:19 pm #180992Hi
Before I go too far, I can see that you use WP Engine for hosting, so this may be the cause.
There is a setting to override a ‘feature’ of WP Engine hosting, that truncates long SQL queries (which ours are). Edit the site wp-config.php file and add this at the top, after line 1 (on a new line 2):
define('WPE_GOVERNOR', false);
(also see here for another related support note about this – https://support.searchandfilter.com/forums/topic/killed-query-errors-in-log/#post-64826)
I would just say though, that rather than adding this in blindly, to research and make sure this setting doesn’t adversely affect anything in your site.
Trevor(Private) June 21, 2018 at 10:52 pm #181012Hi
I took a look and I cannot see anything obviously wrong. I wonder if there is a plugin conflict? It would require you to step through disabling all unnecessary plugins and testing. If this is something you are not familiar with, there is a testing plugin that will help you do this (makes it much quicker to do as well):
Anonymous(Private) June 22, 2018 at 1:29 am #181016Alright, I figured it out. Woocommerce doesn’t require you to declare support or do the WooCommerce.php file in your theme anymore. It wasn’t in my theme and for some reason that conflicted with this plugins Display Options choice for Woocommerce Shop. When I added the theme support and the WooCommerce.php file into the theme the Search & Filter Pro worked again without any conflicts. It’s all good now. Thank you!
-
AuthorPosts