Published on Aug 13, 2021

Limit Search Results to WooCommerce Products in Oxygen

Sridhar Katakam

This members-only tutorial provides the steps to limit the search results to products when using Oxygen.

This is an alternative approach to WooCommerce Products Search in Oxygen tutorial.

We shall add a Products List component in the Oxygen Template that applies to search results.

Sample output at https://example.com/?s=shirt

Step 1

Install and activate Code Snippets plugin.

Go to Snippets > Add New.

Title: Limit search results to products

Code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $499 one-time).

Already a member? Log in below or here.

tagschevron-leftchevron-rightchainangle-rightangle-upangle-downfolder-omagnifiercrossmenuchevron-downarrow-right