If you only need to delete the variants of a single product, it is best to use a bulk action directly in the Shopify admin. If you need to delete variants from multiple products, then you can use a CSV file to make the changes in bulk.
Steps### Export your Products1. From your Shopify admin, go to Products.
- Note: If you want to export only some of your products, then you can filter your product list to view and select specific products for export.
- Click Export.
- From the dialog box, choose the products you want to export:
- The current page of products
- All products
- Products you have selected
- Products that match your search 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 a plain-text editor with your product CSV file.
- Click Export products.
Edit your CSV file
Caution: A CSV import will overwrite your existing products. Keep a copy of your original CSV and make any changes in a new copy so that you will have a backup.
**Deleting multiple variants:**1. Select the variant or variants that you want to delete.
- Delete the selected rows.
- Optional: If you need to delete all the variants and the variant option, then delete the value in the Option2 Name column or Option2 Name and Option3 Name columns.
**Deleting all variants:**1. Select all variant rows.
- Delete the selected rows.
- Delete the values in the Option2 Name, Option2 Value, Option3 Name, and Option3 Value columns if applicable.
- Change the Option1 Name column value to
Titleand the Option1 Value column value toDefault Title.
**Import your edited CSV file:**1. From your Shopify admin, go to Products.
- Click Import.
- Click Add file, and then select the CSV file that you want to import.
- Select Overwrite any current products that have the same handle. Existing values will be used for any missing columns. This will update the products.
- Click Upload and continue.
- Review the details about the import, and then click Import products.
If you run into any issues with your import, take a look through Solutions to common product CSV import problems. For more information on Variants review the Shopify Help Center.