woocommerce / woocommerce-product-tables-feature-plugin

Implements new data-stores and moves product data into custom tables, with a new, normalised data structure.
GNU General Public License v3.0
193 stars 32 forks source link

Ensure product type stays in sync #172

Open pcfreak30 opened 4 years ago

pcfreak30 commented 4 years ago

In the scenario that a product data store does no extend the custom datastores, it needs to hook woocommerce_product_type_changed to sync the changed product type to the custom products table.

It is unknown if there will be any side effects but it gives at least partial support to woo commerce extensions with their own datastores that extend WC_Product_Data_Store_CPT.