With Motion v2.0+ you can now add color swatches to your product and collection pages using these settings found in General settings > Product grid
How does it work?
Once you have enabled the color swatch settings, Motion will look for any variant category with the name "Color"
The theme will then look at the variant names you've used (in this case Heather grey and Green) and look for either an HTML color name with the exact same name or a .png image file in your theme assets folder with a "handle-ized" version of your variant name.
- Green becomes green.png (capitals become lowercase)
- Heather grey becomes heather-grey.png (capitals become lowercase, spaces and other special characters becomes hyphens)
Note: .jpg files will not be shown, you must use .png
How does it look?
Where is the Theme Assets folder?
First, open up the code editor:
Then scroll down to Assets, open it, and click Add new asset and begin uploading your .png swatch files.