Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hello,
I want to write a file to shopify store's root folder. I referred https://community.shopify.com/c/Technical-Q-A/How-to-upload-a-file-to-the-root-folder-of-my-Shopify-..., https://community.shopify.com/c/Shopify-Design/how-to-upload-an-html-file-to-the-root-of-my-shopify-...
But I didn't see any response based on our requirement. We need to create/upload file to shopify store root without using third party.
Solved! Go to the solution
This is an accepted solution.
Unfortunately, you cannot do that. May I ask what specifically you are trying to achieve? What type of file you need uploaded and for what purpose?
@Visely-Team Thank you for the response. We need to upload a html file to the store's root folder. For our app's functionality we need to use this root file (sorry that I couldn't give you more details).
This is an accepted solution.
We need to enable browser push notifications via sendpulse which requires us to insert a small script to the root folder for making that work on https.
@factoreal can you share the instructions for the integration? Usually, third-parties provide alternative methods.
Gravitec requires a js and a json file to be in the root.