How to add a color variant to the PDP
Description
This example shows how to add a color variant to the PDP.
Steps
Install and activate
shopify-custom-variations
extension on appmaker dashboard.Go to shopify backend -> settings -> custom data and select product
Click on add defenition and enter the
Name
asproduct colors
and namespace asmy_fields.product_colors
.Enter a description and select product as type. Select
List of Products
too.Enable storefront on access section. Click on save
- Now go to products section and select a product. Scroll down to the bottom and you will see a new section
Product Colors
. Click on product color and add products to it. Click on save