woocommerce results – sku sort

Home Forums Product Support Forums Ajax Search Pro for WordPress Support woocommerce results – sku sort

This topic contains 22 replies, has 2 voices, and was last updated by stavroch stavroch 5 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #12298
    stavroch
    stavroch
    Participant

    How can I set to display WooCommerce result page?

    Also how can I set to sort the results by sku?

    #12299
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    You can set the ordering on the General Options -> Ordering panel: https://i.imgur.com/fkGy4Cz.png

    You will find the redirection options on the General Options -> Logics & Behavior panel, more info in the documentation here.

    Best,
    Ernest Marcinko

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


    #12301
    stavroch
    stavroch
    Participant

    I can’t find the “General Options” where is that option?

    Also the error message

    403 Forbidden

    A potentially unsafe operation has been detected in your request to this site, and has been blocked by Wordfence.

    Is displayed in every save action.

    Why?

    #12307
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I don’t know, you might have to ask WordFence support, or somehow whitelist the pages. I’m not familiar with that plugin: https://i.imgur.com/vHkY65s.png

    The general options can be found on the search instance options panel, please check the documentation:
    Getting started
    General Options

    Best,
    Ernest Marcinko

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


    #12321
    stavroch
    stavroch
    Participant

    How can I display the default woocommerce result page?

    You had send me this code

    https://wordpress.org/support/topic/display-product-page-when-one-result-come/#post-8843909

    But in Pro doesn’t work that code.

    Can you send me the new one please?

    #12325
    stavroch
    stavroch
    Participant

    I set this but no results by sku is coming first.Why?

    ex. search for 101-0100

    Attachments:
    You must be logged in to view attached files.
    #12329
    stavroch
    stavroch
    Participant

    Any news?

    #12330
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Please allow up to 48 hours to answer topics, I’m working as fast as possible.

    I set this but no results by sku is coming first.Why?
    Where can I see the wordpress page? The URL provided links to a joomla site.

    If you don’t get results, make sure to select the ‘_sku’ custom field to be searched as well: https://i.imgur.com/3f1Uin5.png

    Redirection on single results code
    For the pro version you will need this one (copy from line 3):

    Best,
    Ernest Marcinko

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


    #12332
    stavroch
    stavroch
    Participant

    Ι add the above code but no woocommerce result page displayed. I clear also the cache.

    If you want to see the page please add the

    136.243.174.225 http://www.makan.gr
    136.243.174.225 makan.gr

    in your hosts file.

    #12333
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Have you set the redirections correctly on the General Options -> Logics & Behavior panel to the WooCommerce results page? Documentation link.
    Make sure it’s configured correctly: https://i.imgur.com/E1c2VJD.png

    I’m getting an empty page after adding it to my hosts file, it says maintenance mode, and the wp-admin and the wp-login.php redirect me back to the main page.

    Best,
    Ernest Marcinko

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


    #12335
    stavroch
    stavroch
    Participant
    You cannot access this content.
    #12336
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    The general configuration was not correct, as the product custom post type was not selected, nor the _sku to search for, I have corrected that for you: https://i.imgur.com/mciwfHN.png

    Now it will return products, for SKU as well.

    Best,
    Ernest Marcinko

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


    #12337
    stavroch
    stavroch
    Participant

    Everything looks good.

    Thank you!

    #12341
    stavroch
    stavroch
    Participant

    Can you search please for the sku 01-101-0100?

    In the back end this product is displayed in the first 10 products and in the front page is displayed in 6th page.

    Why???

    #12342
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Because you wanted sorting by ‘_sku’ ascending, and the other matches have alphabetically preceeding SKUs, therefore it preceeds the relevance sorting.

    If you want more ‘_sku’ relevant results first, you should try to change the ordering back to default: https://i.imgur.com/qrm0rwX.png

    I have configured and enabled the index table engine for you, and also made the custom field (sku) relevance higher. If you change the ordering to relevance, then SKU related matches will start appearing closer to the top.

    Best,
    Ernest Marcinko

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


Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in to reply to this topic.