The data import feature for the ROOKIE (free) plan is available on app credits basis.
You can learn more about our plans and the app credits here ;)
First, go to the app section of your Shopify admin panel:
and select our awesome app:
Next, go to "Bulk actions -> Import":
Once there, you can select the resource type you'd like to import the metafields for from a drop-down menu:
Now you can upload a CSV file containing the metafields you want to import by clicking this button:
Haven't got a file yet? Don't worry, you can get a template file by clicking the "Download template file" button.
Great, once the file is uploaded, hit the "Continue" button to proceed to the fields mapping step:
Now, the most important part needs to be handled. We need to map the fields from the file uploaded on the previous step to the fields required by Shopify to create the metafields.
As we learned earlier, a metafield consists of four main components:
In addition to this, the file should contain either an identifier: id or a handle of a resource you want add the metafields to (product handle, collection id, order id etc). An identifier is required for Shopify to know what resource assign a metafield from the spreadsheet to.You can learn more about Shopify objects and their properties here.
Now, let's figure out the controls:
1) This switch allows you to use the first row of the file as a header. This is a pretty handy thing that makes the mapping a little faster and easier.
2) This switch allows you to choose the identifier of the resource to used -that additional field we discussed earlier. This can be either the id or handle (email, if we're talking about the customers.
3) The list of required fields that need to be mapped.
4) The mapping section itself. Here you can choose a corresponding metafield attribute (namespace, key, value, type etc) for each of the fields (columns) presented in your file.
5) This message shows up if a required field is not mapped. Once all the required fields are mapped, the warning message will disappear.
Once this step is completed, the import screen should look like this:
There are two additional options available for data import tasks:
1) Skip empty metafields. With this option enabled, all records from your spreadsheet that have an empty value will be ignored. This option is selected by default and you may want not to switch to the second option unless you're 100% sure that you want to remove some metafields while importing data.
2) Delete empty metafields. With this option enabled, existing metafields for spreadsheet records with empty value will be deleted. For instance, if a product has a metafield with namespace "season-sale" and key "fall-2021", and there is a matching record (same product identifier, metafield namespace and key) with an empty value in your spreadsheet, existing product metafield will be deleted. It comes really handy when dealing with the large amount of the data. Also, some users simply like to manage the data with the spreadsheets :)
Once you're sure all the settings are correct and you're ready to start the import, click Continue and then Start import buttons: