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

Christian Sokolowski avatar
Written by Christian Sokolowski
Updated over 2 weeks ago

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.

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.


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

  1. Log into Rebuy and navigate to your Settings page.

  2. Once you're in the Settings section, select Status from the menu.

  3. On the Status page, you'll see a series of comparisons between Rebuy and Shopify. Even if the numbers appear the same, it's a good idea to initiate a resync to ensure everything is fully updated.

  4. To do this, click the Resync button next to the relevant sections, including:

    • Orders: Resyncing orders ensures your order data is synced properly between Shopify and Rebuy.

    • Webhooks: Resyncing webhooks will refresh your communication channels between Shopify and Rebuy.

    • Products: Resyncing products ensures that any updates or new products in Shopify are reflected in Rebuy.

    • Collections: Resyncing collections ensures your product groupings in Shopify are correctly mirrored in Rebuy.

  5. After clicking the Resync buttons, allow some time for the process to complete. During this time, you can move on to the next step: clearing the data-source cache.


Subscription Selling Plans Resync

If you’re experiencing issues with Rebuy not properly detecting subscription product data—such as the "Upgrade to Subscription" option not appearing in the Smart Cart or Widgets for one-time, subscription-eligible products—resyncing the Subscription Selling Plans can help resolve these issues.

To resync:

  1. Log into Rebuy and navigate to your Settings page.

  2. Go to the Status section.

  3. Scroll down to the Shopify Selling Plans section.

  4. Click the Resync button next to the Selling Plans section.

This will trigger a resync of your subscription selling plan data and help ensure that any subscription options are properly reflected in Rebuy’s Smart Cart and Widgets.

Additional Step for Integrated Selling Plan Apps

If you're using a specific selling plan app integration, such as Recharge, you may also need to resync the Webhooks associated with that app.

  1. While on the Status page, look for the Webhooks section specific to your selling plan provider (e.g., Recharge).

  2. Click the Resync button next to the provider to refresh its communication with Rebuy.

This extra step ensures that Rebuy is properly syncing with your selling plan app, preventing issues with subscription data.


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

For broader issues affecting multiple data sources, you can clear all caches simultaneously. Use the cache-clearing option available on the Status page to reset all caches at once. This is the best approach for resolving widespread cache-related problems.

  1. Log in to Rebuy: Access your Rebuy account using your credentials.

  2. Navigate to Settings: Once logged in, go to the Settings page.

  3. Access the Status Page: Within the Settings, click on the "Status" option.

  4. Clear Data Source Cache: On the Status page, locate the Data Source Cache section and click on the "Clear Cache" button.


Frequently Asked Questions (FAQs)

Q: What does resyncing do in Rebuy?
A: 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.

Q: How do I know if I need to resync?
A: 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.

Q: How do I resync my products and collections?
A: To resync products and collections:

  1. Log into Rebuy and go to your Settings page.

  2. Navigate to the Status section.

  3. Click the Resync button next to Products and Collections.

This will trigger an immediate update for the relevant data.

Q: What should I do if I’m using a subscription selling plan provider (e.g., Recharge)?
A: If you’re using a specific subscription selling plan app like Recharge, resyncing the Webhooks for that app is also recommended:

  1. On the Status page, find the Webhooks section specific to your selling plan provider.

  2. Click the Resync button to ensure the integration is up-to-date.

Q: Can I clear the cache for just specific records?
A: Yes! To clear the cache for specific records (e.g., products, collections, metafields):

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

  2. 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 could impact any AI-based recommendations.


Q: Will clearing the cache affect my data or settings?
A: 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.

Q: How often should I resync or clear the cache?
A: 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.

Q: How long does it take for the resync process to complete?
A: 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.

Q: Will resyncing affect my customers or live site?
A: 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.

Q: What should I do if resyncing doesn't resolve my issue?
A: 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.

Q: Why are my Product images missing?

A: 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.

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

A: 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.

Also check that you've enabled the option in the Smart Cart settings.


If you have more questions, please reach out to support!

Did this answer your question?