Exporting products
You can export your products to a CSV file to help with several tasks:
- 创建一个备份你的产品s.
- Moving your existing products to a new Shopify store.
- Editing your products in bulk using a spreadsheet.
Any changes that you make to the products in yourproduct CSV fileappear inyour store's product listif youimport your product CSV fileinto the Shopify admin.
Export your products
If you export up to one page of products (up to 50 products), then the CSV file is downloaded by your browser. If you export more than one page of products (51 or more products), then the CSV file is emailed to you. If you aren't the store owner, then the file is sent to the store owner's email as well.
Steps:
- From your Shopify admin, go toProducts.
ClickExport.
From the dialog box, choose the products you want to export:
- The current page of products
- All products
- Products you haveselected
- Products that match yoursearch and filters.
Select which type of CSV file you want to export:
- CSV file for Excel, Numbers, or another spreadsheet program. Use this format if you plan to use a spreadsheet program to edit your product CSV file.
- Plain CSV file. Use this format if you plan to use aplain-text editorwith your product CSV file.
ClickExport products.
Access your product image files
If you move your products to a new website and plan to close your current store or delete some of its product listings, then you need to upload your product CSV file to your new store while your old store and its product listings remain viewable.
When you export your products, the images associated with each product are not included in the CSV file. If you import the products to a new store, then the product images are generated only if they remain viewable on a publicly accessible website.
To ensure that your product images remain accessible to you, leave your original store and its products intact until you finish the import process. This allows your new store to assign the correct product image to each listing.
Use a text editor to edit your products CSV file
If you don't have a spreadsheet program, then you can edit CSV files using a text editor.
Most computers have text editors that can open CSV files. You can also use a program likeVisual Studio CodeorSublime Textto edit and debug your CSV file.
When you format your CSV file in a text editor, observe the following considerations:
- Column headers must be separated by commas (for example,
First Name,Last Name,Email,Company,Address1
). - The list of tags must be wrapped in quotation marks (for example,
"tag1,tag2,tag3"
). - Tags are not case sensitive.
- Different records must be separated by line breaks.
Filter and export your products list
You can use filters to organize your products list before exporting. If you need to change only some of your products, then you canadd a filter. It could be easier to edit your products using a shortened CSV, rather than your entire product list.
Steps:
On theProductspage in Shopify, add a filter using conditions that list only the necessary products.
Export your products list, and make sure that you select the option to export only the products matching your filter.
A CSV file containing only those products in your filtered list will export.
After you make any changes to your exported product CSV, you canimportthe edited CSV file back to Shopify.