Adding Color Swatches below Product - NOT a variant option

Adding Color Swatches below Product - NOT a variant option

QuiltingBea
Tourist
11 0 4

I am trying to show the color metafields I've assigned to a product under the product image, so if a customer wants to see other fabrics in the same color family, the dot would take them to a page that shows all teal, for example.  I've assigned the colors to the fabric image, but don't know how to display on my product page.  Below is an example of what I'm trying to show

QuiltingBea_0-1746186584138.png

 

Replies 9 (9)

ProtoMan44
Shopify Partner
746 60 114

@QuiltingBeahey, thanks for posting here.
 Please share the link to inspect it. thanks.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!
ProtoMan44
Shopify Partner
746 60 114

@QuiltingBea I have 2 ideas if you understand
1. Create a tag-based color name collection that auto-connects to metafields. /collections/{{ metafield.custom.color_Name }}
2. Allow color filters on the collection template and create a URL color filter based on the metafield

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!
QuiltingBea
Tourist
11 0 4

Thank you for these ideas - I can see how to create the Collection based on metafield color, but I can't figure out the filter component you mention below and how to show the color dot with the product - would it go in the product description?

 

2. Allow color filters on the collection template and create a URL color filter based on the metafield

ProtoMan44
Shopify Partner
746 60 114

@QuiltingBea it's code-based work, and I think it will take a huge time to apply to any theme.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!
QuiltingBea
Tourist
11 0 4

That's what I was afraid of - i LOVE the look of it but don't want to deal with all the custom coding.  Thank you so much though, i'm going to play with the collection based on metafield and see how that goes.

ProtoMan44
Shopify Partner
746 60 114

@QuiltingBea, you will not be able to do this without custom code for the metafields. Managing metafields and creating static links is only possible with custom code.

If you agree, I can test it in my sandbox for you.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!

DeepVyas
Shopify Partner
776 10 8

Hi @QuiltingBea You can achieve it using TAGS to related products of similar and based on parent TAGS it will show under specific product. 

Check thread - https://shopify.dev/docs/storefronts/themes/product-merchandising/recommendations/related-products

Let me know, If you need help further 

Shopify Developer | Ⓢ : deepvyas71 | ✉ : deepvyas71@gmail.com
QuiltingBea
Tourist
11 0 4

Hello - I use product tags already but quilters are very visual and I wanted to show swatches of colors as shown that they could click on to see similar products of that same color - the dots that are in the example above.