{"id":1766,"date":"2021-06-18T04:54:01","date_gmt":"2021-06-18T04:54:01","guid":{"rendered":"https:\/\/vincentz.io\/?p=1766"},"modified":"2021-06-22T06:00:58","modified_gmt":"2021-06-22T06:00:58","slug":"how-to-export-all-files-from-shopify","status":"publish","type":"post","link":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/","title":{"rendered":"S\u00e5dan eksporterer du alle filer fra Shopify"},"content":{"rendered":"<p>If you are cloning a Shopify shop you would usually do it by exporting the theme, and importing it on another Shopify instance. Once you view the website on the new Shopify instance you will notice that the images and other files on the homepage and other pages are not included. Here is a fairly simple guide to how to export all images and other files from Shopify. I use Chrome as a browser, if you are using another browser it might work slightly differently.<\/p>\n<h2>1. Go to Settings -&gt; Files<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Change the URL to show 250 files. Should look like &#8220;\/admin\/settings\/files?limit=250&#8221;<\/li>\n<li>Right-click and click on &#8220;Inspect&#8221;<\/li>\n<li>In the inspector click on &#8220;Console&#8221; and paste this script:<br \/>\nfunction fetchPageAssets() {<br \/>\nlet images = document.querySelectorAll(&#8216;img[src*=files]&#8217;);<br \/>\nimages.forEach(function(image) {<br \/>\nfiles.push(&#8216;&lt;img src=&#8221;&#8216; + image.src.replace(\/_60x60\/, &#8220;&#8221;) + &#8216;&#8221;&gt;&#8217;);<br \/>\n});<br \/>\n}function downloadListFile() {<br \/>\nlet button = document.createElement(&#8220;a&#8221;);<br \/>\nlet data = &#8216;data:application\/octet-stream;base64,&#8217; + window.btoa(files.join(&#8216;\\n&#8217;));<br \/>\nbutton.id = &#8220;download-file&#8221;;<br \/>\nbutton.href = data;<br \/>\nbutton.download = &#8220;shopify-files.html&#8221;;<br \/>\ndocument.querySelector(&#8220;body&#8221;).append(button);<br \/>\nbutton.click();<br \/>\n}<br \/>\nvar files = []<br \/>\nfiles.push(&#8216;\\n&#8217;)<br \/>\nfetchPageAssets()<br \/>\nfiles.push(&#8216;\\n\\n&#8217;)<br \/>\ndownloadListFile()Hit Enter to Submit<\/li>\n<li>Your browser will now download a HTML file<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2>2. Open the HTML file<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>use an extension such as https:\/\/chrome.google.com\/webstore\/detail\/simple-mass-downloader\/abdkkegmcbiomijcbdaodaflgehfffed to download all images.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2>3. Repeat<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>If you have more than 250 files, you will need to browse to page 2, 3 etc. in files in Shopify and repeat the steps, until you have downloaded all images.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2>4. Upload files<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Once all files are downloaded you can upload the files to your new Shopify instance<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h2>5. Edit path in your theme<\/h2>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>If you want to save some time you can do a search and replace in the settings_data.json file in your theme to point the images to the new path.<\/li>\n<li>Once you have edited the path all images on the homepage and other pages will magically show up on your new Shopify instance<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you are cloning a Shopify shop you would usually do it by exporting the theme, and importing it on another Shopify instance. Once you view the website on the &#8230;<\/p>\n","protected":false},"author":1,"featured_media":1789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[31],"tags":[32],"class_list":["post-1766","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-shopify-2","tag-shopify-tips-da"],"acf":[],"gutentor_comment":0,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io\" \/>\n<meta property=\"og:description\" content=\"If you are cloning a Shopify shop you would usually do it by exporting the theme, and importing it on another Shopify instance. Once you view the website on the ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\" \/>\n<meta property=\"og:site_name\" content=\"Vincentz.io\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-18T04:54:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-22T06:00:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"712\" \/>\n\t<meta property=\"og:image:height\" content=\"489\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Allan Vincentz\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet af\" \/>\n\t<meta name=\"twitter:data1\" content=\"Allan Vincentz\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimeret l\u00e6setid\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\"},\"author\":{\"name\":\"Allan Vincentz\",\"@id\":\"https:\/\/vincentz.io\/#\/schema\/person\/2dc5e528a08aa21369c89a9119b33668\"},\"headline\":\"S\u00e5dan eksporterer du alle filer fra Shopify\",\"datePublished\":\"2021-06-18T04:54:01+00:00\",\"dateModified\":\"2021-06-22T06:00:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\"},\"wordCount\":334,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/vincentz.io\/#organization\"},\"image\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png\",\"keywords\":[\"shopify tips\"],\"articleSection\":[\"Shopify\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\",\"url\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\",\"name\":\"S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io\",\"isPartOf\":{\"@id\":\"https:\/\/vincentz.io\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png\",\"datePublished\":\"2021-06-18T04:54:01+00:00\",\"dateModified\":\"2021-06-22T06:00:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage\",\"url\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png\",\"contentUrl\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png\",\"width\":712,\"height\":489},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vincentz.io\/da\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"S\u00e5dan eksporterer du alle filer fra Shopify\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vincentz.io\/#website\",\"url\":\"https:\/\/vincentz.io\/\",\"name\":\"Vincentz.io\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/vincentz.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vincentz.io\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"da-DK\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/vincentz.io\/#organization\",\"name\":\"Vincentz.io\",\"url\":\"https:\/\/vincentz.io\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\/\/vincentz.io\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2019\/11\/logo-vincentz-200px.png\",\"contentUrl\":\"https:\/\/vincentz.io\/wp-content\/uploads\/2019\/11\/logo-vincentz-200px.png\",\"width\":200,\"height\":31,\"caption\":\"Vincentz.io\"},\"image\":{\"@id\":\"https:\/\/vincentz.io\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/vincentz.io\/#\/schema\/person\/2dc5e528a08aa21369c89a9119b33668\",\"name\":\"Allan Vincentz\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g\",\"caption\":\"Allan Vincentz\"},\"sameAs\":[\"https:\/\/vincentz.io\"],\"url\":\"https:\/\/vincentz.io\/da\/blog\/author\/omav\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/","og_locale":"da_DK","og_type":"article","og_title":"S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io","og_description":"If you are cloning a Shopify shop you would usually do it by exporting the theme, and importing it on another Shopify instance. Once you view the website on the ...","og_url":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/","og_site_name":"Vincentz.io","article_published_time":"2021-06-18T04:54:01+00:00","article_modified_time":"2021-06-22T06:00:58+00:00","og_image":[{"width":712,"height":489,"url":"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png","type":"image\/png"}],"author":"Allan Vincentz","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Allan Vincentz","Estimeret l\u00e6setid":"2 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#article","isPartOf":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/"},"author":{"name":"Allan Vincentz","@id":"https:\/\/vincentz.io\/#\/schema\/person\/2dc5e528a08aa21369c89a9119b33668"},"headline":"S\u00e5dan eksporterer du alle filer fra Shopify","datePublished":"2021-06-18T04:54:01+00:00","dateModified":"2021-06-22T06:00:58+00:00","mainEntityOfPage":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/"},"wordCount":334,"commentCount":0,"publisher":{"@id":"https:\/\/vincentz.io\/#organization"},"image":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage"},"thumbnailUrl":"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png","keywords":["shopify tips"],"articleSection":["Shopify"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/","url":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/","name":"S\u00e5dan eksporterer du alle filer fra Shopify - Vincentz.io","isPartOf":{"@id":"https:\/\/vincentz.io\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage"},"image":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage"},"thumbnailUrl":"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png","datePublished":"2021-06-18T04:54:01+00:00","dateModified":"2021-06-22T06:00:58+00:00","breadcrumb":{"@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#primaryimage","url":"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png","contentUrl":"https:\/\/vincentz.io\/wp-content\/uploads\/2021\/06\/shopify-file-2.png","width":712,"height":489},{"@type":"BreadcrumbList","@id":"https:\/\/vincentz.io\/da\/blog\/how-to-export-all-files-from-shopify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vincentz.io\/da\/"},{"@type":"ListItem","position":2,"name":"S\u00e5dan eksporterer du alle filer fra Shopify"}]},{"@type":"WebSite","@id":"https:\/\/vincentz.io\/#website","url":"https:\/\/vincentz.io\/","name":"Vincentz.io","description":"","publisher":{"@id":"https:\/\/vincentz.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vincentz.io\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"da-DK"},{"@type":"Organization","@id":"https:\/\/vincentz.io\/#organization","name":"Vincentz.io","url":"https:\/\/vincentz.io\/","logo":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/vincentz.io\/#\/schema\/logo\/image\/","url":"https:\/\/vincentz.io\/wp-content\/uploads\/2019\/11\/logo-vincentz-200px.png","contentUrl":"https:\/\/vincentz.io\/wp-content\/uploads\/2019\/11\/logo-vincentz-200px.png","width":200,"height":31,"caption":"Vincentz.io"},"image":{"@id":"https:\/\/vincentz.io\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/vincentz.io\/#\/schema\/person\/2dc5e528a08aa21369c89a9119b33668","name":"Allan Vincentz","image":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a9fe2c9e3fc514675176d4bb905d038b728586c73cfbccda3ba7fabd886c6a3?s=96&d=mm&r=g","caption":"Allan Vincentz"},"sameAs":["https:\/\/vincentz.io"],"url":"https:\/\/vincentz.io\/da\/blog\/author\/omav\/"}]}},"_links":{"self":[{"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/posts\/1766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":2,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"predecessor-version":[{"id":1771,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/posts\/1766\/revisions\/1771"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/media\/1789"}],"wp:attachment":[{"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/categories?post=1766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vincentz.io\/da\/wp-json\/wp\/v2\/tags?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}