Caching in Bold Subscriptions

Overview

Bold Subscriptions has a few features included that makes changes to the display on your store, or the functionality. This includes how your subscription products are added to the cart, and how they appear.

Normally, making changes to your settings can take between one and 60 minutes to appear on your storefront. This includes language settings, CSS changes, and your cart mode. There is a way to speed up this process by refreshing the Subscriptions cache within your theme files.

Refreshing your store's cache for Bold Subscriptions is useful as it ensures that your customers can see the changes made on your store quicker, and makes sure the app is functioning how you would like. From a developer's point of view, using this method is beneficial so that the latest changes are available to everyone immediately. 

 Caution

This article requires some technical knowledge and prior experience with liquid code. If you are not comfortable with this, please contact our Merchant Success team for help.

 


 

Resolving Caching Troubles

If you are noticing that the changes you have made to the Subscriptions app settings are not yet displayed on your store, then this step-by-step will force all your settings to update. This way you and your customers can see the changes made as soon as this is completed.

To refresh the cache within Bold Subscriptions, please follow these steps:

  1. From Shopify's admin, select Online store.
  2. Find the Shopify theme you are working on, and select Actions.
  3. Select Edit Code.
  4. Under "Snippets", select bold-common.liquid
  5. At the bottom of the file, find the line:
    window.BOLD.common.cacheParams.recurring_orders = value
    It should look like this:

    Recurring orders cache within Theme files

  6. Change the last 3 numbers any other numbers.
    Example

    For example, our number was 1589215057. To refresh the cache, we would change the last 3 digits to something like 1589215678.

  7. Select Save.

    Changing the value to a higher number will result in your recent changes being pushed instantly to the unpublished Shopify theme, so you do not have to wait to preview your changes. 
Was this article helpful?
0 out of 0 found this helpful