Flexible Shipping settings not fully restored on database restore
-
We use a CI/CD pipeline to test our WooCommerce website. It installs wordpress and all needed plugins including flexible shipping. It also injects all necessary plugin configuration (e.g., values stored in the
wp_options
andwp_woocommerce_shipping_XXX
tables).This works fine, except for the Flexible Shipping configuration stored in wp_option’
woocommerce_flexible_shipping_single_XXX_settings
(where XXX is the shipping zone).
When changing the data using the backend (WooCommerce -> Options -> Shipping Zones etc), the value is updated accordingly in the database. However, when we change the value directly in the database (for instance, changing a price from $6 to $7), the options for that zone are reset completely.Question: how/where is the flexible shipping zone configuration stored? Can it be that the configuration is cached outside the database? Is there a way to trigger a read from the database?
Suggestions are welcome, thank you!
- The topic ‘Flexible Shipping settings not fully restored on database restore’ is closed to new replies.