Documentation
Choosing What's Searched and What Matters Most
RocoSearch works well with no changes at all. When you do want to adjust something, everything is under Search > Settings, written as sentences.
Nothing changes for your visitors until you press Save changes. Undo changes discards anything you haven't saved, and Reset to recommended restores the defaults.
What Can People Find?
- Search these things: tick the kinds of content to include, such as Posts, Pages and Products.
- Search the text of posts and products: choose in full, the first 500 words, or not at all. The first 500 words is smaller and faster on big sites, usually with no difference to results.
- Also search extra fields added by other plugins: tick this if important words live in custom fields.
- Never show these in search: find any page, post or product and it disappears from results and from the list as people type.
When you change what can be found, RocoSearch re-reads your content in the background. Search keeps working while it does.
What Matters Most?
When a search matches in several places, results that match in the more important places come first. Each slider runs from less to more:
- Names and titles
- Product codes (SKU) and barcodes
- Brands
- Product details, like colour and size
- Categories and tags
- Short descriptions
- Full descriptions and post text
- Extra fields from other plugins
- Author names
Slider changes take effect as soon as you save.
The Live Preview
Type a search into Preview, beside the sliders, then move a slider. The results reorder straight away, before anything is saved, so you can see exactly what a change does.
Helping Shoppers
- Out-of-stock products should: appear lower in results, appear as normal, or be hidden from search. RocoSearch also follows WooCommerce's own “Hide out of stock items” setting.
- Show results as people type in a search box: switches the live list on or off.
- Fix typos and finish half-typed words: on by default.
Results Page Filters (Pro)
On WooCommerce stores, RocoSearch Pro adds filters above the search results: category, brand, attributes such as colour and size, price, and In stock only. Each choice shows how many results it leaves, and only filters that would narrow the results appear, so a search for "hoodie" doesn't offer a "Clothing" filter that every result already has.
Choices in the same filter widen the results (red or blue); different filters narrow them (red and in stock). Picked filters show as small buttons above the results; select one to remove it, or Clear all. The filters are kept in the page address, so a filtered search can be bookmarked or shared, and your theme's paging and sort menu keep working.
Under Search > Settings, Results page filters has two switches:
- Let shoppers filter search results: on by default.
- Place the filters above the results automatically: switch this off to put them somewhere else, such as a sidebar, with the
[rocosearch_filters]shortcode.
The filters take your theme's fonts and colours. Developers can change any colour, border or spacing with CSS custom properties starting --rocosearch-filters-.
Colour, size and stock come from the main product, not from each variation, so "Size M" can show a jacket whose medium has sold out.
Still stuck? Ask us on the support forum. It helps to include the details from Search > Health, under “Details for your developer”.