Priority Settings

This topic contains 9 replies, has 2 voices, and was last updated by James Scaggs James Scaggs 8 years, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #4251
    James Scaggs
    James Scaggs
    Participant

    I need to set priority on certain “brands” of my products so that they always show up first in the search results.

    I have tried playing with the priority settings, changing sort order for a sample item to 01, and then changing again to 101 but neither seem to have any effect.

    All of my products have the brand name in the product so I need to sort brands in this order.

    SPX
    Waukesha
    APV
    Alfa Laval
    Graco
    Murzan

    For example if someone searches for “pumps” I need all of the Waukesha pumps to show up before the Alfa Laval pumps.

    #4252
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    The preview indicates that some files are missing from the includes directory. (like includes/imagecache.class.php). The ftp connection might have failed during the upload process, or there might have been a tiny server outage.

    Please re-install the plugin, that might solve this issue as well.

    Also, could you point me to a page where the search is active so I can test the priority settings?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4258
    James Scaggs
    James Scaggs
    Participant

    The plugin works on every other feature so I don’t think it was an upload issue.

    Please check it on the link here: http://harvillind.staging.wpengine.com/home-3/

    #4260
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    It’s not working for me, the ajax response contains this error message:

    Warning: require_once(/nas/wp/www/staging/harvillind/wp-content/plugins/ajax-search-pro//includes/imagecache.class.php): failed to open stream: No such file or directory in /nas/wp/www/staging/harvillind/wp-content/plugins/ajax-search-pro/search.php on line 11

    Fatal error: require_once(): Failed opening required ‘/nas/wp/www/staging/harvillind/wp-content/plugins/ajax-search-pro//includes/imagecache.class.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /nas/wp/www/staging/harvillind/wp-content/plugins/ajax-search-pro/search.php on line 11

    That means ajax-search-pro/includes/imagecache.class.php is missing. (and possibly other files as well) The search won’t work properly until all the files are there.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4261
    James Scaggs
    James Scaggs
    Participant

    I’m sorry it looks like our staging server has some files disabled. It is also on our live site here: http://harvill-ind.com/home-3/

    #4262
    James Scaggs
    James Scaggs
    Participant

    By the way I also you as admin on the live site now. harvill-ind.com/wp-admin

    #4263
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Oh, I see the problem now. The cache is not automatically cleared after changing the priorities. I recall disabling that intentionally for some reason. I forgot to add this to the documentation.

    If you clear the cache on the Cache Settings submenu after making the changes on with the priorities, the results will appear in the correct order.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4264
    James Scaggs
    James Scaggs
    Participant

    That worked. Now my only question is how do I apply the priority so that if a user searches for a term like “pumps” I am showing the pumps in order based on my brands?

    Will I just set priority for the first brand highest and it will apply across the board to all searches?

    #4265
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Yes, the priority is a global thing, it applies to every search instance and every search term.

    Results with the same priority are sorted by relevance.

    So based on your example, I would set the relevances of products for each brand as following:

    SPX – 500
    Waukesha – 450
    APV – 400
    Alfa Laval – 350
    Graco – 300
    Murzan – 250

    So there is a 50 point gap between each brands. That 50 point reserve is useful if you want to place some products higher inside a brand. So if you want to push higher a Waukesha product, you can set it’s priority to 451, so it’s top of it’s brand, but the SPX products will still stay higher.

    You can use of course bigger numbers with bigger gaps, it will still work.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4266
    James Scaggs
    James Scaggs
    Participant

    Great thanks a lot. Appreciate the great support. I think I have it from here.

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

You must be logged in to reply to this topic.