Forums Forums Search & Filter Pro Search results display

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #8808

    Hello!
    If you have a look at my site site http://www.blueprint3dstore.com/store/
    the search filter seems to work fine (except for the auto count which I’ll wait for) but it changes the display of the downloads.
    Do you have any idea how I could fix this??
    Many thanks
    Charles

    Ross Moderator
    #8931

    Hey there

    Sorry for the generic message – I got locked out and blacklisted by my host for this website!! – so been unable to login and reply to tickets – playing catchup now – will be systematically working through tickets today.

    Thanks

    Ross Moderator
    #9172

    Hey Charles

    I’m looking at the link but I can’t get the results to change at all?

    In regards to results – how are you using the plugin, are you using it with shortcode for results or without?

    Thanks

    Anonymous
    #10346

    Hello Ross!
    Sorry for late reply.
    I succeeded at putting it back how it was when I asked your help. (it’s the closest to what I want it to be). Again the plugin seem to filters great but it display the products bigger and it comes to normal when you reload.
    I’m simply using the widget, no shortcode.
    Can you see what’s the problem
    http://www.blueprint3dstore.com/store/
    I’m not touching it until you try it
    Many thanks in advance

    Ross Moderator
    #10475

    Hey Charles

    I can see what you mean….

    So first thing is to explain a little how it works…

    The link you provided is showing your page on a certain template (product).

    When you submit a search, it builds a new URL, performs the search, and then passes back the results (html). You can see how this works by disabling Ajax (this is always good for debugging).

    Now you will see that when you submit a search the page reloads and results are in the wrong format.

    What we want to do is make the results page look the same as your shop page.

    First, in S&F admin under “display results” (v1.4 of the plugin) – make sure you tick “use custom template” and also make sure you enter a filename of the template you wish to use.

    If you do not know which template your store page uses, then try this plugin:

    https://wordpress.org/plugins/show-current-template/

    Once you have done that, and your results are loading in the right layout, you can re-enable ajax 🙂

    Let me know when you have followed the steps above.

    Thanks

    Anonymous
    #10740

    Hello Ross,
    I’ve followed the steps and I’m suspecting a problem with the template file that I think I’m supposed to use for displaying in store view.

    First, I’m using Marketify theme. I disabled Ajax. I used Show Current Template plugin to help.

    The template used for the “product” display is “shop.php”
    When I’m using shop.php in the Search & filter – display results tab – Enter the filename of the custom template it is not displaying correctly, just text…

    Then I’ve tried 3 other templates:
    archive.php (filters good but not the good display)
    archive-project.php (filters good but not the good display)
    archive-download.php (don’t filters but good display)

    I think the good one should be archive-download.php but it’s not filtering at all.
    I’m confused! What do you think??
    Thanks
    Charles

    Ross Moderator
    #11093

    Hey Charles

    There may be an issue with your template,

    I’m looking at the site now and S&F is saying that it couldn’t fine the custom template – is this filled in at the moment or have you removed this temporarily?

    Anyway, assuming you’ve just changed some settings, lets now work with archive-download.php – as this has everything but the results working..

    First make sure you enter the correct filename of the template, and ensure it saved in S&F – double check after saving – if the filename has disappeared it means S&F couldn’t find the template file.

    If, once the above steps are complete, you are not getting the results updating, then its time to look at the template file itself.

    Basically, in some templates (depending on theme) there are custom queries – such as get_posts or WP_Query – and these custom queries overwrite the results provided by S&F – basically you would need to make some modifications and remove these queries from your template.

    See this post – https://support.searchandfilter.com/forums/topic/problems-with-search-filter-plugin-and-avada-theme/#post-9200 – for basic steps to take in terms of setting up a template and removing custom queries (I know this is for Avada but it sounds like you are experiencing the same issues).

    Hope all that makes sense!

Viewing 7 posts - 1 through 7 (of 7 total)