This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

woocommerce results – sku sort

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

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

    How can I set to display WooCommerce result page?

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

    #12299
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

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

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

    #12301
    stavrochstavroch
    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 MarcinkoErnest 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: http://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

    #12321
    stavrochstavroch
    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
    stavrochstavroch
    Participant

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

    ex. search for 101-0100

    #12329
    stavrochstavroch
    Participant

    Any news?

    #12330
    Ernest MarcinkoErnest 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: http://i.imgur.com/3f1Uin5.png

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

    #12332
    stavrochstavroch
    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 MarcinkoErnest 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: http://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.

    #12335
    stavrochstavroch
    Participant

    You cannot access this content.

    #12336
    Ernest MarcinkoErnest 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: http://i.imgur.com/mciwfHN.png

    Now it will return products, for SKU as well.

    #12337
    stavrochstavroch
    Participant

    Everything looks good.

    Thank you!

    #12341
    stavrochstavroch
    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 MarcinkoErnest 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: http://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.

Viewing 15 posts - 1 through 15 (of 23 total)
  • You must be logged in to reply to this topic.