Shopify Color Filters Tutorial 2024 - Color Swatches (finally!)

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Shopify's recent update supports "visual filters". Now we can set up color swatches in filters across all themes - including Dawn and all the free themes.
    Color Palettes:
    - materialuicolors.co/
    - flatuicolors.com/
    - htmlcolorcodes.com/color-char...
    📢 STAY UPDATED
    Subscribe to my newsletter: ed.codes/newsletter
    CZcams won’t always show you my latest videos, subscribe to be notified and see other content that I don't post on CZcams.
    🙏 SUPPORT THE CHANNEL
    Buy me a coffee - www.buymeacoffee.com/edcodes
    Patreon - / edcodes
    🛠 CODE SHOP
    ed.codes/shop
    Pre-built sections & features for Shopify 2.0 themes, often replacing the need for apps. Copy and paste the code into your theme.
    👍 MY FAVOURITE APPS & THEMES
    All listed on my website - ed.codes/tools
    📚 MY SHOPIFY CODING EBOOK
    ed.codes/shopify-coding-handbook
    Learn HTML, CSS and Shopify Liquid from the beginning and specifically for Shopify.
    👨🏼‍💻 WHO AM I?
    Hey! My name is Eduard.
    I teach the tech side of starting and running a Shopify store.
    I'm a professional web developer, but my goal is to make Shopify easy with simple and straight-to-the-point videos.
    Visit my website: ed.codes
    Join "Shopify DIY" on Discord
    Chat with me and other store owners and developers:
    ed.codes/community
    ⏭ CHAPTERS
    00:00 Intro
    01:22 Requirements
    02:12 My demo products
    02:38 Variant filters (old)
    04:32 Metafield filters (old)
    06:45 Metaobject color filters (new)
    07:51 Define the Metaobject
    08:40 Create your colors list
    09:58 Create color metafield
    11:19 Connect products to colors
    12:02 Create the filter
    13:24 Image swatches
    #Shopify #Colorfilters #shopifyfilters

Komentáře • 73

  • @sergeif
    @sergeif Před 5 měsíci +1

    Very nice video. Super helpful! Keep them coming

  • @user-no5pg6tn1j
    @user-no5pg6tn1j Před 4 měsíci +3

    A good way to make the filter more efficiant is to set up the metafield as a variant metafield instead of a product metafield. After this the filter will automatically show the variant image in the product card after selecting.

  • @joedully1944
    @joedully1944 Před 5 měsíci

    Thank you! This is very helpful in describing how metaobjects can be used for swatches in filters.

  • @meanwhile.boutique
    @meanwhile.boutique Před 2 měsíci

    Thank youuu! We have been searching for the filter for years!!! Thank you very much for your tutorial 🌿 All the sustainability brands from Meanwhile Boutique also thank you.

  • @freddie_hall
    @freddie_hall Před 3 měsíci

    Really like your videos. Keep it up!

  • @danycabdallah3599
    @danycabdallah3599 Před 4 měsíci

    Very helpfull, Thank you Ed

  • @macdonaldquammie4021
    @macdonaldquammie4021 Před 5 měsíci +2

    Excellent information, Ed! I am happy to have discovered a theme developer like you to work on future projects. I feel so blessed.

  • @OnlyOneKich
    @OnlyOneKich Před 4 měsíci

    Fala, works perfect! Thanks.

  • @Fedgery007
    @Fedgery007 Před 5 měsíci

    Great video as usual! I don’t need this for my site yet.
    You are the best Shopify CZcamsr! You’re so good at explaining things so normal people can understand. Keep doing what you’re doing!

    • @EdCodes
      @EdCodes  Před 5 měsíci +1

      Thank you! I will!

  • @roiseaux
    @roiseaux Před 4 měsíci +10

    @EdCodes I already have Dawn 13, but I still can't set up swatches on the product page? Could you please do a tutorial on how to enable this? Thank you!

  • @user-tx3lp7eg4b
    @user-tx3lp7eg4b Před 4 měsíci

    Excellent tutorial

  • @GommeBleu
    @GommeBleu Před 6 dny

    God bless u, finally found the solution to my problem

  • @Korriva
    @Korriva Před 3 měsíci +1

    The most descriptive and perfect video I have ever seen in my life. thank you superman

    • @EdCodes
      @EdCodes  Před 3 měsíci

      😂

    • @Korriva
      @Korriva Před 3 měsíci

      @@EdCodes I need help with a small issue. I think you are knowledgeable on this subject. Can you help? I want to add images to some of the variations in my product, the image will appear instead of text. I can send an example image.

  • @Rivaaz-br2sl
    @Rivaaz-br2sl Před 2 měsíci

    Very very useful. Thanks

  • @FaysalEcommerce
    @FaysalEcommerce Před 2 měsíci

    Helpful Ed codes, thanks for sharing this secret

  • @coconutsoak
    @coconutsoak Před 3 měsíci

    @EdCodes - Thanks! This works! -
    Is there a way to bulk update all the meta objects for all products instead of going into each one and selecting them individually.
    Also for other folks - this is for the Product Cards page and not the Product page specifically so it wont work on the Product Page.

  • @rav7ss423
    @rav7ss423 Před 5 měsíci +1

    Great video! Are you able to show us on how to show size swatches on a collection pages! That will be awesome - thanks

  • @CodeSnap01
    @CodeSnap01 Před měsícem

    Nice video

  • @olgabaykova8338
    @olgabaykova8338 Před měsícem

    Thank you, dear Ed! Did you explain a solution for how to add a two-color (or multicolor) entry by chance?

  • @canvasartplus
    @canvasartplus Před 4 měsíci

    Nice Video - I would like to use this method for users to select frame colors for artwork that we sell.

  • @RiversideVideo47
    @RiversideVideo47 Před 5 měsíci +1

    Your videos are great. However, after following all the steps you described I cannot work out how to make the metaobject/colour swatch show on any page. I'm guessing it's something to do with adding a block or section to the product page then linking to the metaobject, but I can't figure it out. Could you clarify? Thanks

  • @anirbandutta617
    @anirbandutta617 Před 2 měsíci

    Thanks a lot great tutorial can you please also create a price range slider ..... inside dawn theme

  • @pabloalvezmanoli7964
    @pabloalvezmanoli7964 Před 4 měsíci +1

    Thanks for the Tutorial! New subscriber here. I followed all the steps, but the color swatches are not displayed. It says "this metaobject reference list contains no fields that are compatible with this block". Do you know how can I solve this?

  • @Burky5516
    @Burky5516 Před 3 měsíci

    Great video but I have a question. Before I delete color file that I have grouped them. How Can I only display what we created with your video?

  • @Johnny4200
    @Johnny4200 Před 5 měsíci

    I have tried to get the color swatches on the product page with this tutorial for meta objects, and tried to recreate the steps in the shopify tutorial for color swatches on product page. I dont really need the filters option, but thought the steps for the swatches on product page are the same like the in your tutorial.
    But I can‘t follow the steps on the shopify text based tutorial. I think there are missing some steps or are not avaliable? I already installed Dawn 13, but I feel so stupid all the time when doing stuff like this..

  • @xSM666x
    @xSM666x Před 5 měsíci

    Hey Ed, again a great and helpful video! Will this tutorial be impacted, once Shopify will release the Rich attributes / taxonomy update where Shopify?

    • @EdCodes
      @EdCodes  Před 5 měsíci

      Great question. Yes, I expect it will be impacted. It will likely become easier than I show in the tutorial. So this tutorial would become the "manual" way of doing it.
      In their demo Shopify show how adding product images will automatically create color swatch metaobjects. So this allows you to skip the steps of defining the metaobject and creating entries (possibly).
      I suspect the automatic way won't work for all stores 100% of the time and you still need to do it manually sometimes (e.g. for already existing products). I'm just guessing though. We'll see.

  • @scooteractual
    @scooteractual Před 3 měsíci

    Went through the tutorial and added the (3) color options I have (frame colors for photography prints) - They now show up in the product under "metafileds" however I don't know how to "Link" them to specific variants so when you choose the color swatch it changes the photo and ultimately the right product for the customer to add to their cart. Its also of course not showing on the product page on the live site. I'm on the latest version of Dawn. What am I missing?

  • @nueved9469
    @nueved9469 Před 5 měsíci

    Thank you so much! Is it possible to filter by color (blue for example) and show the image related to the chosen color?

    • @renetasechkova1559
      @renetasechkova1559 Před 5 měsíci

      Hi, yes, it's possible, you just need to create the metafield under "Variants" instead of "Products". So go to Settings -> Custom Data -> Variants-> Add definition and do what he showed in the video. Then you go to your product, click edit variant and you should see the metafield. In that way when you filter by color it will show the variant picture. Just make sure you add a variant picture :)

  • @marcoschobermusic
    @marcoschobermusic Před 2 měsíci

    Hi Ed, how to add the colors for a product with different variants?

  • @carriepierce4684
    @carriepierce4684 Před 28 dny

    Video helped a lot and I have it set up, How do I add individual color swatches to the product variants. I have yet to find that video. I have a beauty store and want to add they individual swatches to each lipstick or eyeshadow. So Frustrating!

  • @user-xb3hc7ip7r
    @user-xb3hc7ip7r Před měsícem

    I have a Dawn 2.0 version of shopify theme, do i can implement this color swatch functionality on my theme

  • @kathya0
    @kathya0 Před 4 měsíci

    Hi Ed, I have some questions. Your channel is amazing BTW, THANK YOU!!! I'm using Studio Theme, most of the videos here are for Down theme and it seems I don't have the option to add the filter on the sidebar. is there any way to have it using my current theme? If so, how, where? what about using an app? or custom liquid? HEEEEELP!!!

    • @kathya0
      @kathya0 Před 4 měsíci

      I found it!!! "Desktop filter layout" *facepalm*
      🤦‍♀

  • @muotitassu
    @muotitassu Před 5 měsíci

    Thanks for the video. Is there an easy way to prefill like 100 different color options into this metaobject? :)

    • @EdCodes
      @EdCodes  Před 4 měsíci

      Either use the bulk editor inside Shopify product admin, or use Matrixify to export -> edit in Excel -> re-import

  • @albasebastian4983
    @albasebastian4983 Před 4 měsíci

    Is there a way to show color filter (or any other filter) on a collection page but hide it on another?

  • @marcoschobermusic
    @marcoschobermusic Před 2 měsíci

    Is it also possible to display the swatches on a collection page? I don't want to create a seperate product for each variant (thats too much for my store). As example I want to display a overview of products in a collection page and under each product the available colors are listed (swatch buttons). If the customer hovers over a color the picture should change to the corresponding variant.

  • @iselinva
    @iselinva Před měsícem

    When I am going to add the color filter swatch (12:21 in video), it is not an option I can choose. Is there anything wrong I have done doing the process?

  • @wavefitactivewear1201
    @wavefitactivewear1201 Před 4 měsíci

    Pretty straight forward video!! Awesome!
    How can you show the swatches on the product page? It shows as filters but product page still shows the buttons with names of colors

    • @EdCodes
      @EdCodes  Před 4 měsíci

      If you mean on Dawn / free themes it's not out yet. You need to wait for the new "product attributes" features to be released. And you will need to be using Dawn v13 or later.
      I talk about this in my Shopify editions video around 10:45
      czcams.com/video/lOoViP9Nbnk/video.htmlsi=vatgHWOkoLk0hW90&t=645

    • @wavefitactivewear1201
      @wavefitactivewear1201 Před 4 měsíci

      @@EdCodes Thanks mate! Yes I am using Dawn V13.0 and trying at all costs to get swatches on products page. Also trying to get rid of choose option buttons and actually show the swatched on collection pages without using an app to do that

  • @AstoMedKlinikutrustning
    @AstoMedKlinikutrustning Před 3 měsíci

    Hello! Great tutorial but I can't get the swatch colors to show. It's still only text.

    • @EdCodes
      @EdCodes  Před 3 měsíci

      Is your theme up to date?

  • @rishabhmaurya9807
    @rishabhmaurya9807 Před 2 měsíci

    Does this work in Prestige theme? I have tried but it's not working

  • @oliverraahauge
    @oliverraahauge Před měsícem

    Hey! I had this working for some time. Now suddenly all swatches show as "transparent", although the color hex codes and naming is still correctly there. Anybody know how to solve this issue? Symmetry theme

  • @mohitbeniwal3425
    @mohitbeniwal3425 Před měsícem

    Can't we change these swatches size and sape ?

  • @MalasbyMahsan
    @MalasbyMahsan Před 2 měsíci

    Is this working just with premium option?

  • @AshaMandapati
    @AshaMandapati Před 3 měsíci

    Hey Ed! Can we just keep swatches without color names and quantity?

  • @sewingmachineoutlet2537
    @sewingmachineoutlet2537 Před 3 měsíci

    Does this work on Warehouse theme?

  • @benjaminf3465
    @benjaminf3465 Před 3 měsíci

    Does it work with debutify

  • @WolfeJAM
    @WolfeJAM Před 2 měsíci

    hello, sadly for me the final piece is missing around 13 mins. Where you show "here is the Shopify" update, I'm on V.14 there is no 'Swatch' info at all where you show it. Sad. :( Has it changed again?

  • @healthtips246
    @healthtips246 Před 4 měsíci

    If we have two products, we need to display two different fabrics in the swatch for single colour.

  • @RicardoOliveira-wr6ik
    @RicardoOliveira-wr6ik Před měsícem

    top

  • @miloszlitwinski2544
    @miloszlitwinski2544 Před 5 měsíci

    Hi... I followed the instructions step by step, and for some reason my color is not showing as a swatch, but still as a text and box to click. Any reason why this could be happening?

    • @EdCodes
      @EdCodes  Před 5 měsíci

      Does your theme version support visual swatches? It needs to be relatively new - if it's one of the free themes from Shopify, it must be version 12 at least.

    • @miloszlitwinski2544
      @miloszlitwinski2544 Před 5 měsíci

      @@EdCodes Thanks for the reply! I am using the theme fashionopolism, and there was an update not long ago on the website. For some reason all I see is the text of the color.

  • @Klee87278
    @Klee87278 Před 5 měsíci

    What about product page and collection page, is that still not available?

    • @EdCodes
      @EdCodes  Před 5 měsíci

      Product page swatches are available in premium themes and in Dawn v13 - check out my previous video talking about Shopify Editions to learn about that. Collection page will depend on theme.

    • @lunatic_jash
      @lunatic_jash Před 4 měsíci

      @@EdCodes Great video! In the product page, it says "Enable swatches on product options". How to go about this for apparel?

  • @killerfaithfish
    @killerfaithfish Před 5 měsíci +3

    This is insane for the amount of time that has to be put in to put in a color swatch... smh shopify needs to release the swatches faster.

    • @EdCodes
      @EdCodes  Před 5 měsíci +2

      It's not really that much time, the main tutorial starts at 07:52 and after you define the metaobjects and metafields (one time), adding new colors while uploading new products is fairly quick.

    • @natalieidle3754
      @natalieidle3754 Před 4 měsíci

      I agree

  • @daveus111
    @daveus111 Před 5 měsíci

    Do you still do customer work? Can i hire you?

    • @EdCodes
      @EdCodes  Před 5 měsíci

      Only very small projects these days. Please see - ed.codes/services