learnshopify.dev/Workspace
store task

Create three metafield definitions for variants in your store's admin: `component_reference`, `component_quantities` and `component_parents`.

Pass criterion: Variants lists three definitions: `custom.component_reference`, `custom.component_quantities` and `custom.component_parents`.
1. In your store's admin, open Settings, then Metafields and metaobjects

2. Click Variants, then Add definition

Choose Variants, not Products. In each definition below, Namespace and key should say `custom.` followed by the name.

3. Create `component_reference`, for the products inside a bundle

Type the name `component_reference`. As the type choose Product variant, listed under Reference, select List of values, and save.

4. Create `component_quantities`, for how many of each product

Choose the type Integer, select List of values, and save.

5. Create `component_parents`, for the bundles a product belongs to

Choose the type JSON and save.

0 / 1 task solved