I need to be able to search my products by their SKUs. The challenge is that I have all the SKUs within different variations of the product.
How can I obtain the product's variation SKU? Is there a specific function that WooCommerce has for this? If not, what would be some functions I would use to grab this value?
My overall goal is to make it so that customers can search product via SKU and have it direct them to that product page.