Is this enhancement related to a problem? Please describe.
Some stores like the idea of being able to show and provide a quicker way for customers to add variations of a variable product to the cart. Rather than providing the parent product we can exclude that and return all variations as an individual product.
WooCommerce does not do this out of the box or provide an option to filter the search results of the shop archive page but we don't want to copy the limitations so let's break free from that so headless stores can be more advanced.
Describe the solution you'd like
A parameter will allow the developer to force variable products to return variations as an individual product and remove the parent product from the results.
Is this enhancement related to a problem? Please describe. Some stores like the idea of being able to show and provide a quicker way for customers to add variations of a variable product to the cart. Rather than providing the parent product we can exclude that and return all variations as an individual product.
WooCommerce does not do this out of the box or provide an option to filter the search results of the shop archive page but we don't want to copy the limitations so let's break free from that so headless stores can be more advanced.
Describe the solution you'd like A parameter will allow the developer to force variable products to return variations as an individual product and remove the parent product from the results.