Skip to main content

Sync Product Data, Store Data, and Clear Cache

This document will explain how to resync your products and collections if you are seeing any odd behavior with their view in Rebuy

Written by Christian Sokolowski

Rebuy Resyncing: Keep Your Data Up-to-Date

To ensure your Rebuy account is always in sync with Shopify, it's important to occasionally trigger manual resyncs for certain data types. While Shopify sends updates to Rebuy via webhooks when changes are made (such as updates to products, collections, or orders), occasional delays can occur due to factors like network disruptions, server traffic, or API rate limits.

Additionally, delays might also result from browser caching, which stores data locally in your browser to optimize loading speeds. Cached data can sometimes prevent the immediate reflection of updates in Rebuy. If you encounter such display issues, consider clearing your browser cache or using an incognito window to bypass cached data.

By manually resyncing, you can avoid these delays and ensure that any recent changes are reflected immediately in Rebuy. The resync process is quick and simple, and it helps ensure that all your data—whether it's products, orders, collections, or webhooks—stays current and accurate.

Understanding Automatic Data Syncing

When you install Rebuy or create new products in Shopify, the app attempts to sync your data automatically. However, delays can occur due to factors such as API rate limits, the size of the inventory, or high-traffic times. If delays persist beyond a few hours, consider initiating a manual resync.


When to Resync

  • Products: When new products are added or existing products are updated in Shopify.

  • Collections: After changes to collections or product groupings.

  • Orders: When order data needs to be synced between Shopify and Rebuy.

  • Webhooks: If there are communication issues between Shopify and Rebuy.

  • Other Data: For changes related to customers, selling plans, or Recharge webhooks.


How to Resync Products, Collections, Customers, and Webhooks

Resync individual data types from the Data Sync Status section of the Status page. Each data type has its own card showing the Shopify count, the Rebuy count, and a synced or mismatch badge.

  1. Log into Rebuy and go to your Settings page from the side panel.

  2. Select Status from the menu.

  3. Find the Data Sync Status section. Each card (Products, Collections, Customers, Orders, Webhooks) compares the record count in Shopify against Rebuy and shows a synced or mismatch badge.

  4. Click the Resync button on the card you want to update:

    • Products: reflects new or updated Shopify products in Rebuy.

    • Collections: mirrors your Shopify product groupings in Rebuy.

    • Customers: aligns customer records between Shopify and Rebuy.

    • Orders: syncs order data. The Orders card reflects the last 90 days.

    • Webhooks: refreshes the communication channels between Shopify and Rebuy. The Webhooks card also has View and Log buttons for inspecting webhook activity.

  5. Allow a few minutes for the resync to complete. You can clear the data source cache while it runs.

(Image above: Rebuy Admin Settings page (Settings > Account) with a red arrow pointing to the "Status" card)


Subscription Selling Plans Resync

Resync your Subscription Selling Plans when Rebuy is not detecting subscription product data correctly, for example when the "Upgrade to Subscription" option is missing from the Smart Cart or Widgets for subscription-eligible products. Selling Plans resync lives in the Integrations section of the Status page.

  1. Log into Rebuy and go to your Settings page from the side panel.

  2. Select Status from the menu.

  3. Scroll to the Integrations section and find the Selling Plans row.

  4. Click the Resync button on the Selling Plans row. If the row shows a Not connected badge, first connect your provider in the Subscriptions integration at https://rebuyengine.com/account/integrations, then resync.

This resyncs your subscription selling plan data so subscription options appear correctly in Rebuy's Smart Cart and Widgets.

(Image above: Rebuy Admin Settings page (Settings > Account) with a red arrow pointing to the "Status" card)

(Image above: Integrations Status section showing the Selling Plans resync row highlighted.)

Resyncing Recharge for Subscription Selling Plans

If your subscriptions run through Recharge, also resync the Recharge integration so its webhooks refresh. In the Integrations section, find the Recharge row and click Resync. This keeps Rebuy aligned with your subscription app and prevents subscription data issues.

(Image above: Integrations Status section showing the Recharge resync and Selling Plans resync row highlighted.)


Clearing Data Source Cache

To ensure your Rebuy data is up-to-date, you may need to clear the cache for specific records. This process helps resolve issues tied to outdated or incorrect data, such as products, metafields, collections, or other data sources.

There are two options for clearing the cache:

1. Clearing Cache for Specific Records

If the issue is isolated to a particular area of the data source (e.g., products, collections, metafields), use the Cache Manager in the Data Sources tab. This allows you to clear the cache for the relevant records without affecting other data.

To clear specific caches in Rebuy:

  1. Log into Rebuy and navigate to the Data Sources section.

  2. Open the Cache Manager:

    • On the Data Sources page, click the Cache Manager button.

  3. Clear Specific Caches:

    • Once in the Cache Manager, you’ll see options to clear various caches. We recommend clearing the following:

      • Product Cache

      • Product Engine Cache

      • Collections, Metafields, and Presentment Prices Caches

    These caches are typically safe to clear and will ensure that the relevant data is refreshed.

Important Note: Avoid clearing the Recommended Products Cache unless absolutely necessary. Doing so may impact the performance of any rules relying on Recommendation (AI) features. It’s best to proceed with caution when clearing this cache.

2. Clearing All Data Source Cache

Clear all data source cache from the Cache Management section of the Status page when outdated data affects multiple data sources at once. This is the fastest way to resolve widespread cache issues.

  1. Log in to Rebuy and go to the Settings page from the side panel.

  2. Select Status.

  3. Find the Cache Management section.

  4. Click Clear Cache under Data Source Cache.

The Cache Management section also has a Recommendation Cache with its own Clear Cache button. Recommendation Cache clears the cached AI and recommended product results. Clear it only when recommendations are stale, since clearing it can briefly affect the performance of Recommendation (AI) features.

(Image above: Rebuy Admin Settings page (Settings > Account) with a red arrow pointing to the "Status" card)

(Image above: Cache Management section showing the Recommendation Cache and Data Source Cache cards, each with a Clear Cache button.)


Frequently Asked Questions (FAQs)

What does resyncing do in Rebuy?

Resyncing ensures that all your data in Rebuy (such as products, collections, orders, and webhooks) is up-to-date with the most recent changes made in Shopify. It triggers an immediate update, bypassing any delays caused by factors like network issues or API rate limits.

How do I know if I need to resync?

You should consider resyncing if:

  • New products or collections in Shopify aren’t appearing in Rebuy.

  • The "Upgrade to Subscription" option isn't showing in the Smart Cart or Widgets for subscription-eligible products.

  • You're encountering data discrepancies or unexpected behavior in product recommendations, webhooks, or other data syncs.- Missing 'Subscription' buttons on the Reorder landing page.

  • 'Upgrade to Subscription' button not displaying in the minicart after launching a new product.

How do I resync my products and collections?

To resync products and collections, log into Rebuy and go to your Settings page, then select Status. In the Data Sync Status section, click the Resync button on the Products card and the Collections card. This triggers an immediate update for that data.

How should I resync if I’m using Recharge as my subscription selling plan provider?

If you use a subscription selling plan provider such as Recharge, open Settings > Status and go to the Integrations section. Click Resync on the Selling Plans row, and also click Resync on the Recharge row so its webhooks refresh. This keeps your subscription integration up to date.

Can I clear the cache for just specific records?

You can clear the cache for specific records such as products, collections, or metafields using the Cache Manager in the Data Sources tab. Log into Rebuy, go to Data Sources, open the Cache Manager, and choose the specific caches to clear, such as Product Cache or Collections Cache. Be cautious when clearing the Recommended Products Cache, as it can affect AI-based recommendations.

Will clearing the cache affect my data or settings?

Clearing the cache will refresh your data in Rebuy and ensure that your most recent changes in Shopify are reflected. It will not affect your settings or configurations but may temporarily impact the performance of recommendation-based features if the Recommended Products Cache is cleared.

How often should I resync or clear the cache?

You should resync or clear the cache whenever you encounter issues with syncing data between Shopify and Rebuy, or after making significant changes to products, collections, or selling plans. There’s no need to resync on a regular basis unless you're troubleshooting specific issues.

How long does it take for the resync process to complete?

The resync process typically completes within a few minutes, depending on the amount of data being updated. If the resync takes longer than expected, it may be due to high server traffic or a larger volume of data.

Will resyncing affect my customers or live site?

No, resyncing does not impact your live site or customer-facing pages. It only ensures that the internal data between Shopify and Rebuy is properly aligned. Customers won’t experience any downtime or disruption while the resync is processing.

What should I do if resyncing doesn't resolve my issue?

If resyncing doesn't fix the issue, try clearing the data source cache or contact Rebuy support for assistance. They can help you troubleshoot further or identify potential problems with your Shopify integration.

Why are my Product images missing?

Perform a Product data resync by following the steps above to refresh the images syncing from Shopify to the Rebuy app. Once the Product data has resynced and the latest product data from Shopify has been detected by the Rebuy application, the Product images should appear.

Why don't I see an option to upgrade my subscription eligible items from one-time to subscription in the Smart Cart?

Perform a Selling Plans data resync by following the steps above. Also be sure to follow the Subscription Selling Plan integration enablement steps by following the Enabling Subscriptions Integrations guide here. Ensure that a cache clear is performed and sufficient time is allowed for the sync to complete before verifying the results.

Did this answer your question?