FacebookTwitter

How to Get a Static URL For Shopify Files

By on Dec 14, 2016 in Internet | 1 comment

Ran into an issue today where a Shopify app named Findify needed to be able to link directly to a CSS file hosted on the store it was connected to. For some reason Findify doesn’t inherit styles from your theme and you can’t simply override the styling using a typical stylesheet in your Shopify theme and you can’t make a lot of changes via the external Findify management interface and adding tags to their custom box doesn’t work, so you’re left with using the external CSS link. Findify support was…less than helpful with this. I was left to my own devices. Trouble is, Shopify doesn’t provide static external links to assets in your theme’s folders. For example, let’s say you add a new CSS asset to your theme in the standard way using the theme customizer. You’d think you could access it at www.domain.com/custom.css or maybe...