How WooCommerce Stores Product Variations
Part 1

WooCommerce makes use of the standard WordPress SQL tables for both products and product variations. In the posts table, products are stored with the post_type of “product” and each variation for the product has a post_type of “product_variation”. The product variation has a post_parent set to the ID of the product it is related to.How WooCommerce Stores Product Variations<br />Part 1 See the full project…