WooCommerce Product Search

Products with prices, attributes and categories

When WooCommerce is active, the plugin indexes your products with what shoppers filter on: price, category, size, colour. There is nothing extra to set up: tick Products among your content types on the Data Crawler or Data Ingestion tab.

What is indexed for each product

  • The name, the short description (or the start of the long one) and the full description.
  • The price, as price_f, and the currency, as currency_s.
  • The featured image, shown next to the result, and the gallery images, as product_images_sm.
  • For variable products, each attribute as its own field, named after the attribute (for example pa_size_sm for a global Size attribute), with the values of the variations.
  • The product categories, as product_category_sm and product_category_s (the path, with > between levels), and one field per level for the drill-down filter.

On every product page, the plugin also prints Product structured data with the name, price, currency, availability, SKU and category: SEO meta tags.

Left out

Data Ingestion never sends products whose Catalog visibility is Shop only or Hidden.

Kept in sync

With Real-Time Sync on and Products ticked on the Data Ingestion tab, a product is sent again when it is created or updated and when its stock or stock status changes. Unpublishing or deleting it removes it from your index.

On your search page

  • Each product shows its price with the currency symbol.
  • Price filter: on the Facet Mapping tab, enable price_f with the Min/Max slider widget. Visitors then get a slider with two boxes for exact values.
  • Category filter: enable item_list_element_1_name_sm with the Hierarchical (drill-down) widget.
  • Attribute filters: enable the attribute fields with the List widget.
  • An enabled price facet is also a sort option, so visitors can sort by price.

How to enable a filter: Facet Configuration. Prices and categories on every Opensolr index: Prices and product categories.