Add a file to the root of your online store
How to get a file into the root of your Shoporama store, such as Apple's verification file for Apple Pay with OnPay, an ads.txt file, or a verification file from Google.
Some services ask you to place a file in the root of your online store, such as a verification file for Google Search Console, an ads.txt file for ad networks, or Apple's domain verification file for Apple Pay. How you do it depends on the file.
Apple Pay with OnPay
If OnPay asks you for Apple's verification file, which you download from OnPay, upload it to your OnPay gateway under Integrations → Payment gateways in the Apple Pay: Verify Your Domain section and save. Shoporama then places it at yourstore.com/.well-known/apple-developer-merchantid-domain-association on all of your store's domains. Follow the steps in the OnPay setup guide.
Design → Files does not place files in the root
Under Design → Files, you can only upload images, PDFs, and videos (JPG, JPEG, PNG, GIF, WEBP, SVG, PDF, MP4, and WEBM). The files get an address under yourstore.com/public-files/, not in the root of your domain itself. This means text and HTML files cannot be placed in the root that way. Read more in the article about your theme's files.
Your own theme and SFTP
If your store uses its own theme and you have SFTP access (requires the Pro plan), you can place a .txt file, such as ads.txt, at the top level of the theme folder, in the same place as the templates folder. It is then available at yourstore.com/ads.txt. HTML files and files without a file extension are not served that way.
Everything else
If you need a file in the root that you cannot put in place yourself, such as a verification file from Google, email us at support@shoporama.dk, and we will help you.
Related articles
Protect your store against spam orders and fraud
Guide to protecting your Shoporama store against spam orders and fraud using the blacklist, order check, captcha, and 3D Secure.
Filtering in your online store
How to set up product filtering in your Shoporama store, so customers can filter products on category pages by profile attributes, product labels,...
Google Analytics 4 (GA4) in your Shoporama store
How to set up Google Analytics 4 in your Shoporama store. Built-in GA4 integration with ecommerce events, server-side tracking, and Consent Mode v2.
How to set up OnPay as your payment gateway
Step-by-step guide to setting up OnPay as the payment gateway in your Shoporama store. Supports payment links, capture, refund, cancel, automatic...
Theme files: upload images, PDFs, and videos to your store
Learn how to upload images, PDFs, SVG, and video to your store under Design, Files, get a fixed public address for each file, and when to use the...