[ADVANCED] How to make SectionFeed work in localhost?

If you are using a development environment that uses a localhost, the application may not be able to work correctly, as the app needs the "Shopify.shop" variable to be defined. In order to fix that, you can add the following code at the very top of the <head> element:

Shopify.shop = 'yourshop.myshopify.com';

Make sure to replace the Shopify domain by the real one of your store.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.