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 7 years, 6 months ago.
- AuthorPosts
- March 14, 2017 at 5:33 pm #12298
How can I set to display WooCommerce result page?
Also how can I set to sort the results by sku?
March 14, 2017 at 5:37 pm #12299Hi!
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 :)
March 14, 2017 at 6:20 pm #12301I 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?
March 14, 2017 at 8:08 pm #12307I 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:
Best,
– Getting started
– General Options
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 15, 2017 at 12:08 am #12321How 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?
March 15, 2017 at 12:19 am #12325I 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.March 15, 2017 at 1:28 pm #12329Any news?
March 15, 2017 at 2:03 pm #12330Please 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
Best,
For the pro version you will need this one (copy from line 3):
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 15, 2017 at 2:32 pm #12332Ι 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.grin your hosts file.
March 15, 2017 at 2:49 pm #12333Have 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.pngI’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 :)
March 15, 2017 at 3:02 pm #12335You cannot access this content.March 15, 2017 at 3:31 pm #12336Hi,
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 :)
March 15, 2017 at 4:31 pm #12337Everything looks good.
Thank you!
March 16, 2017 at 9:31 am #12341Can 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???
March 16, 2017 at 9:58 am #12342Hi,
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 :)
- AuthorPosts
You must be logged in to reply to this topic.