When searching a variation using SKU, don’t include the parent product

Hello good day,

Would like to ask help

Our client wants that in the site, when an sku or specific item is searched, they don’t want that the parent product of a variation be included in the search. Only the variation product would only show. This only would be applied to the variable product. Attached is the screenshot.


Hope this makes sense. Is this possible? How do we exclude the parent product of a variable product in search, when we are searching for the specific product?

The page I need help with: [log in to see the link]


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer