Methods

updateProductJSON

Updates the Product JSON with locale-aware data

If you're using Shopify Markets, this will allow you to fetch data for products specific to that market. This allows product variant titles to be translated.

See this example for how this is used

ShopifyStorefrontHelper.updateProductJSON(product, callback);