Store products tags in separate WP table
-
To improve database separation and optimisation WooCommerce products tags should be stored in a separate WordPress table such as _woocommerce_product_tags
Creating and using a separate table would mean that products are no longer mixed with other WordPress items. This means products could be more easily by backed up, optimised, ported or migrated between testing and production sites.
Using a separate table provides a clear distinction between in the database.
All existing WooCommerce product function calls would need to be updated to point to the new structures. A function would be necessary to convert the database to the new format were products are stored in separate tables.
All existing WooCommerce product function calls would need to be updated to point to the new structures. A function would be necessary to convert the database to the new format were products are stored in separate tables.
- The topic ‘Store products tags in separate WP table’ is closed to new replies.