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

Поделиться
HTML-код
  • Опубликовано: 27 июл 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
    RUclips won’t always show you my latest videos, subscribe to be notified and see other content that I don't post on RUclips.
    🙏 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

Комментарии • 73

  • @GommeBleu
    @GommeBleu 9 дней назад

    God bless u, finally found the solution to my problem

  • @sergeif
    @sergeif 5 месяцев назад +1

    Very nice video. Super helpful! Keep them coming

  • @joedully1944
    @joedully1944 5 месяцев назад

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

  • @user-no5pg6tn1j
    @user-no5pg6tn1j 4 месяца назад +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.

  • @meanwhile.boutique
    @meanwhile.boutique 2 месяца назад

    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.

  • @macdonaldquammie4021
    @macdonaldquammie4021 5 месяцев назад +2

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

    • @EdCodes
      @EdCodes  5 месяцев назад

      Thank you!

  • @danycabdallah3599
    @danycabdallah3599 4 месяца назад

    Very helpfull, Thank you Ed

  • @freddie_hall
    @freddie_hall 3 месяца назад

    Really like your videos. Keep it up!

  • @Fedgery007
    @Fedgery007 5 месяцев назад

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

    • @EdCodes
      @EdCodes  5 месяцев назад +1

      Thank you! I will!

  • @OnlyOneKich
    @OnlyOneKich 4 месяца назад

    Fala, works perfect! Thanks.

  • @user-tx3lp7eg4b
    @user-tx3lp7eg4b 4 месяца назад

    Excellent tutorial

  • @Korriva
    @Korriva 3 месяца назад +1

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

    • @EdCodes
      @EdCodes  3 месяца назад

      😂

    • @Korriva
      @Korriva 3 месяца назад

      @@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 2 месяца назад

    Very very useful. Thanks

  • @roiseaux
    @roiseaux 4 месяца назад +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!

  • @FaysalEcommerce
    @FaysalEcommerce 2 месяца назад

    Helpful Ed codes, thanks for sharing this secret

  • @rav7ss423
    @rav7ss423 5 месяцев назад +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 Месяц назад

    Nice video

  • @canvasartplus
    @canvasartplus 4 месяца назад

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

  • @coconutsoak
    @coconutsoak 3 месяца назад

    @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.

  • @anirbandutta617
    @anirbandutta617 2 месяца назад

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

  • @olgabaykova8338
    @olgabaykova8338 Месяц назад

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

  • @RiversideVideo47
    @RiversideVideo47 5 месяцев назад +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

  • @pabloalvezmanoli7964
    @pabloalvezmanoli7964 5 месяцев назад +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?

  • @Johnny4200
    @Johnny4200 5 месяцев назад

    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..

  • @Burky5516
    @Burky5516 3 месяца назад

    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?

  • @scooteractual
    @scooteractual 3 месяца назад

    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?

  • @user-xb3hc7ip7r
    @user-xb3hc7ip7r Месяц назад

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

  • @xSM666x
    @xSM666x 5 месяцев назад

    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  5 месяцев назад

      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.

  • @iselinva
    @iselinva 2 месяца назад

    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?

  • @marcoschobermusic
    @marcoschobermusic 2 месяца назад

    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.

  • @killerfaithfish
    @killerfaithfish 5 месяцев назад +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  5 месяцев назад +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 4 месяца назад

      I agree

  • @marcoschobermusic
    @marcoschobermusic 2 месяца назад

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

  • @carriepierce4684
    @carriepierce4684 Месяц назад

    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!

  • @albasebastian4983
    @albasebastian4983 4 месяца назад

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

  • @oliverraahauge
    @oliverraahauge Месяц назад

    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

  • @rishabhmaurya9807
    @rishabhmaurya9807 2 месяца назад

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

  • @nueved9469
    @nueved9469 5 месяцев назад

    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 5 месяцев назад

      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 :)

  • @muotitassu
    @muotitassu 5 месяцев назад

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

    • @EdCodes
      @EdCodes  5 месяцев назад

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

  • @kathya0
    @kathya0 4 месяца назад

    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 4 месяца назад

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

  • @wavefitactivewear1201
    @wavefitactivewear1201 5 месяцев назад

    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  5 месяцев назад

      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
      ruclips.net/video/lOoViP9Nbnk/видео.htmlsi=vatgHWOkoLk0hW90&t=645

    • @wavefitactivewear1201
      @wavefitactivewear1201 5 месяцев назад

      @@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

  • @mohitbeniwal3425
    @mohitbeniwal3425 2 месяца назад

    Can't we change these swatches size and sape ?

  • @benjaminf3465
    @benjaminf3465 3 месяца назад

    Does it work with debutify

  • @MalasbyMahsan
    @MalasbyMahsan 2 месяца назад

    Is this working just with premium option?

  • @WolfeJAM
    @WolfeJAM 2 месяца назад

    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?

  • @sewingmachineoutlet2537
    @sewingmachineoutlet2537 3 месяца назад

    Does this work on Warehouse theme?

  • @AshaMandapati
    @AshaMandapati 3 месяца назад

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

  • @RicardoOliveira-wr6ik
    @RicardoOliveira-wr6ik Месяц назад

    top

  • @healthtips246
    @healthtips246 4 месяца назад

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

  • @AstoMedKlinikutrustning
    @AstoMedKlinikutrustning 3 месяца назад

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

    • @EdCodes
      @EdCodes  3 месяца назад

      Is your theme up to date?

  • @miloszlitwinski2544
    @miloszlitwinski2544 5 месяцев назад

    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  5 месяцев назад

      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 5 месяцев назад

      @@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 5 месяцев назад

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

    • @EdCodes
      @EdCodes  5 месяцев назад

      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 4 месяца назад

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

  • @daveus111
    @daveus111 5 месяцев назад

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

    • @EdCodes
      @EdCodes  5 месяцев назад

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