Product data

The theme reads eight product data fields. Each field is a metafield. A metafield is extra data that you add to a product or a variant.

Each field has a theme setting that holds its key. The keys below are the defaults. If you already store the same data in another field, change the setting to your key. You do not need to create a second field.

How the theme reads a field

The eight fields

1. Part number

2. Pack size

3. Pack unit

4. Minimum order

5. Order multiple

6. Lead time

7. Specifications

{"Thread": "M10", "Length": "40 mm", "Finish": "Zinc plated"}

Follow these rules for the JSON:

8. Documents

Upload the files first in Shopify admin under Content > Files. Then add them to the field.

Create the fields in Shopify

  1. In Shopify admin, go to Settings > Custom data.
  2. Choose Products. Add a definition for each field. Use the name, namespace and key from the list above, and the type from the list above.
  3. Choose Variants. Add the same definitions. The theme reads the variant value first, so use the variant field for values that change by variant, such as part number, pack size and lead time.
  4. Repeat for all eight fields.

Map an existing field

Use this when your store already has a field for the same data.

  1. In the theme editor, open Theme settings and go to the group Product data.
  2. In the setting for that field, type your field in the form namespace.key. For example, specs.thread_size. Do not add quotes or spaces.
  3. Check one product page to see that the value shows.

Fill the fields with a CSV import

  1. In Shopify admin, export your products first. Use this file as your template.
  2. Open the exported file. Find the columns that hold the metafields. Each one has a header that names the field. Copy these header names exactly. Do not rename the headers.
  3. Fill one row for each product or variant. Enter numbers without units. Enter specifications as JSON in the cell, using the rules above.
  4. Import the file in Shopify admin. Start with one product. Check its product page before you import the full list.

Test one product before a large import. Check that the value for each field shows as you expect.