Redeploying Headless WooCommerce

Introduction

Blaze Commerce ensures seamless synchronization between your WordPress plugin and your Headless WooCommerce instance. However, certain scenarios might lead to data discrepancies that need manual intervention. Below are typical instances where data might get out of sync:

  • Homepage Layout and Content Adjustments: Changes that affect the overall appearance and structure of your homepage.
  • Site Message Updates: Modifications to critical messages displayed across your site.
  • Navigation Updates: Changes to both primary and footer navigation structures.
  • Bulk Product and Pricing Modifications: Large-scale changes implemented through WooCommerce Advanced Product Labels or discount plugins.

Manual Syncing Procedures

To handle these discrepancies, Blaze Commerce provides robust ‘Sync’ options alongside a ‘Redeploy Store Front’ feature, ensuring that your frontend data consistently reflects your backend configurations.

Important Note: Blaze Commerce leverages Typesense for front-end data storage. The syncing options outlined ensure that the data in Typesense is a mirror of your WordPress/WooCommerce data.

Sync Options

Here are the available sync options that you can use to maintain data integrity across your store:

  • Sync Products: This crucial feature synchronizes all product data. It’s designed to overwrite existing data to ensure accuracy and up-to-date product information.
  • Sync Taxonomies: Use this to align your taxonomies (categories, tags, etc.) across both platforms.
  • Sync Menus: Ensures that any changes in your WordPress menus are accurately reflected in the frontend navigation of your store.
  • Sync Pages: Any updates to your WordPress pages are mirrored on the frontend to maintain consistency in content delivery.
  • Sync Site Info: This syncs global site information such as site title, description, and any custom metadata that affects SEO.
  • Sync All: A comprehensive option that executes all the above syncs in one go. Ideal for significant overhauls or periodic maintenance checks. Note that this option can take 10-15 mins, depending on your store’s number of products and categories.

Redeploy Store Front

After syncing your data, it’s essential to redeploy your headless storefront to reflect these changes in your live environment. This process triggers a complete rebuild of your Blaze Commerce headless WooCommerce store.

  • Triggering a Redeploy: Once all desired data is synced, access the ‘Redeploy Store Front’ feature from your dashboard. Click the ‘Redeploy’ button to start the rebuild process.
  • Duration: The time it takes can vary. For smaller stores with around 100 products, it may take only a few minutes. Larger stores with more extensive inventories will require more time to complete the rebuild.
  • Monitoring Progress: You can monitor the rebuild progress directly from your dashboard. Notifications will inform you once the redeployment is complete.

Step-by-Step Guide to Syncing Your Store

  1. Access the Sync Panel: Log into your WordPress dashboard and navigate to Blaze Commerce in the left admin menu.
  2. Choose Your Sync Option: Select the specific data you need to sync or choose ‘Sync All’ for a complete refresh.
  3. Execute the Sync: Click on the sync button next to your chosen option. A progress indicator will show the sync status.
  4. Redeploy Store Front: Once the sync is complete, use the ‘Redeploy Store Front’ feature to push changes live.

Conclusion

Regularly using these sync options will help ensure that your store remains consistent and provides a seamless shopping experience for your customers. For any further assistance, refer to our detailed FAQs or contact our support team.