-
AuthorSearch Results
-
February 25, 2016 at 9:57 am #37898
In reply to: Site crashed after updating to 2.0.1
RossKeymasterHey John
The WooCommerce display method is for displaying on your shop.
S&F asks WooCommerce what the shop URL is, and then redirects the search there.
If you want to use any other URL then you are correct, you will likely need to use another display method.
RE your issues, did you check the upgrade notes?
https://www.designsandcode.com/documentation/search-filter-pro/2-0-upgrade-notes/
Where you have:
if ($searchandfilter->is_valid_form())
I think you should replace this with:
if($searchandfilter->active_sfid())
All instances of $sf_form_data need to be renamed to $searchandfilter, and possibly some functions have been renamed which are outlined in the upgrade notes.
Hope that helps, let me know how you get on.
Thanks
February 24, 2016 at 9:40 pm #37871In reply to: Search Results Not Updating
AnonymousInactiveHey Ross! I have set it to woocommerce shop. When I disable ajax it works. When I enable ajax the search results do not update.
Almost done. Seeing progress! Thanks for all your help!
Jen
February 24, 2016 at 7:43 pm #37853In reply to: Site crashed after updating to 2.0.1
AnonymousInactiveHello Again.
So if there is no way to use the Woocommerce display and remove the “shop” part of the URL I am stuck with the archive method. Only issue is when I follow your instructions to remove $sf_form_data with $searchandfilter like below:
add_filter(‘body_class’,’add_body_class_to_search_filter’);
function add_body_class_to_search_filter($classes) {global $searchandfilter;
if ($searchandfilter->is_valid_form())
{
$classes[] = “tax-product_cat archive woocommerce woocommerce-page alt-style-default boxed-layout two-col-right width-930 two-col-right-930”;
}
// return the $classes array
return $classes;
}it still breaks my staging site, what else do I need to fix to get it to work properly? I tried only replacing the first instance of $sf_form_data with $searchandfilter and that didn’t work either.
Thanks
February 24, 2016 at 8:59 am #37796In reply to: Search Results Not Updating
RossKeymasterHey Jen
Ok, there is an issue here we need to resolve.
If you use hte shortcode method, you will not be able to use it on your WooCommerce shop.
Which, I guess you want to.
So, re-enable the woocommerce display method, and lets work through any issues you are having that way.
Thanks
February 23, 2016 at 1:55 pm #37745In reply to: Search Results Not Updating
AnonymousInactive1. I changed the form to display shortcode into the display results. (Who would’ve thought that following the directions would’ve worked!?). 😉
2. When I first set it up I used a sidebar with the search form set up as a woocommerce page. It still did not filter. I changed the form to using shortcode because I wanted the filters on the top of the shop page (not the sidebar).
I disabled ajax in the search from using shortcode and nothing.
February 23, 2016 at 10:07 am #37719In reply to: Search Results Not Updating
RossKeymasterHey Jen
What was the issue/fix for #1?
RE the second question – did you follow the instructions for setting up with WooCommerce?
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/woocommerce/
Also, can you disable Ajax for now? Its always best to get a site working without ajax first, and then enabling it once we know the parts are working correctly.
Thanks
February 18, 2016 at 3:17 pm #37339In reply to: Problem with Categories and Variations
AnonymousInactiveHello Ross,
I can’t use S&F directly on the WooCommerce page.
I got this: http://esmusssein.com/2016/tienda/
Everyting is working ok but when I select a product category nothing is returned.
I can filter by size or color and mobine it, but the product category brokes all the filter.
Can you help me?
Thanks in advance.
February 16, 2016 at 11:39 am #37065In reply to: Problem with Categories and Variations
RossKeymasterHey Hector
Apologies this must have slipped through the requests.
I’ll do some testing later on today and get back to you – from my recollection, Search Results should only show the main version of the product in search results.
Actually, I just took another look – product variations are only properly supported on the WooCommerce shop page:
http://www.designsandcode.com/documentation/search-filter-pro/3rd-party/woocommerce/
Can you try using S&F directly with the WooCommerce shop?
Thanks
February 10, 2016 at 1:19 pm #36650In reply to: Display Search results as Woocommerce
AnonymousInactiveYes, sure:
wordpress 4.4.2
woocommerce 2.4.10
S&F 2.1.2I think the same thing. My woocommerce is deeply customized, with a lot of routine written by me and any plugins.
Now I try to disable 1by1 and I let you know.
But unfortunately I need all these plugins for my developments.I let you know as soon as I have a detailed answer.
Bye
February 10, 2016 at 12:42 pm #36643In reply to: Display Search results as Woocommerce
RossKeymasterHey Fabio
Then I think there must be something else that is running on the WooCommerce shop that is causing a conflict.
Are you using any other widgets on the shop?
Try disabling your other plugins and testing S&F with WooCommerce again.
Also can you tell me the version of WP, S&F & WooCommerce you are using?
Thanks
-
AuthorSearch Results