Shopify Tutorial - How To Add Color Swatches (beginner friendly)

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • Easily add color swatches to your Shopify store with our free, beginner-friendly tutorial.
    Follow along step-by-step and code your way to a more visually appealing store.
    ► Free Help
    --------------------------------------------------------------------------
    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-ca...
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-deve...
    ► Contact
    --------------------------------------------------------------------------
    🌐 Website
    codingwithjan.com
    🤝 LinkedIn
    / jan-frey
    ► Code used in the video
    --------------------------------------------------------------------------
    pastebin.com/NSsGm0Jp
    ► Timestamps
    --------------------------------------------------------------------------
    00:00 Intro
    01:02 Tutorial
    ► SEO Description
    --------------------------------------------------------------------------
    In this Shopify development tutorial, we will guide you on how to add color swatches to your Shopify store. By adding color swatches, you can increase the visual appeal of your product listings and boost conversions. This tutorial is perfect for beginners and will show you how to use a free code to add color swatches to your store.
    One of the most important aspects of e-commerce is making sure that your store stands out from the competition. One way to do this is by using color swatches to showcase different variations of your products. Color swatches are a great way to display different color options for a product, making it easier for customers to choose the right option for them.
    In addition to the tutorial, we also provide a free code that you can use to add color swatches to your store. This code is easy to use and is perfect for those who are new to Shopify development. Once you have implemented the code, you will be able to see the benefits of color swatches for yourself, and how they can help improve the overall look and feel of your store.
    Overall, this tutorial will provide you with the necessary knowledge and tools to add color swatches to your Shopify store. By following the steps outlined in this tutorial and using the provided code, you will be able to improve the visual appeal of your store and boost conversions. Whether you are new to Shopify development or an experienced developer, this tutorial is a must-read.
    codingwithjan.com

КОМЕНТАРІ • 105

  • @CodingWithJan
    @CodingWithJan  2 місяці тому +1

    🎯 Get Personal Career Advice for Shopify Developers:
    codingwithjan.com/personal-career-advice
    👨‍💻 Find a qualified Shopify Developer for your next project:
    codingwithjan.com/hire-a-developer

  • @vlgx00x
    @vlgx00x 5 місяців тому +12

    if anyone is struggling to find the files tab in settings, it was moved and is now the content tab.

    • @BlitzBeatyt
      @BlitzBeatyt 3 місяці тому

      Thank you so much for this comment! You're a gem

  • @chefgoyar_d
    @chefgoyar_d Рік тому +1

    Yes! Loved these style videos from you! 🙏🏽 Your previous ones really helped me build my website and I really plan to revamp it this year 🙌🏽
    Josie was great! What a natural teacher! Her directions were so clear and detailed! 🙏🏽 Keep up the great work everyone!!

  • @moatazsaber3369
    @moatazsaber3369 Рік тому +8

    Finally development videos 😂❤️ Thank you, it's a good idea to let other people to make the videos as long as it will have the same simplicity as your videos 👏

    • @CodingWithJan
      @CodingWithJan  Рік тому

      You acutually pushed me haha 😁
      So gotta say thanks for that! 😄

  • @liamgriffin6897
    @liamgriffin6897 Рік тому

    Great to see your publishing more technical content on the channel again! Thanks for this awesome tutorial Josie - really neat and user-friendly approach to swatches!

    • @CodingWithJan
      @CodingWithJan  Рік тому

      Hey Liam, thanks so much for the great feedback and taking a look!! 😃
      I'll make sure Josie also gets to hear it!

  • @adeisaac
    @adeisaac Рік тому

    Thank you, true story, all the swatches I use on my shopify projects are all from your first tutorial

  • @arshiasaleem5005
    @arshiasaleem5005 Рік тому

    This tutorial made my day

  • @silentsushix3
    @silentsushix3 Рік тому

    Yeessss! Love thisss! Keep it up Jan!

  • @EstebanBustos
    @EstebanBustos Рік тому +7

    Im using latest version of dawn theme, and the code isnt the same..

  • @mcneillshiner4718
    @mcneillshiner4718 Рік тому

    Thanks, Josie--this was super helpful!

  • @TheMiig1513
    @TheMiig1513 Рік тому +4

    5 months later and Dawn 10.0.0 code looks COMPLETELY different from the tutorial 😭

  • @developerrutherford6994
    @developerrutherford6994 Рік тому +1

    Hey Jan, thank you for the development videos. Just an addition with these color swatches, instead of uploading a png, we can use the background-color style and give them value name as a color like this:
    Thank you!

  • @blarhrissi
    @blarhrissi 8 місяців тому

    Very clear and well narrated video ! ❤ Thanks.

  • @kimweincek9019
    @kimweincek9019 Рік тому

    Love this idea Jan! As a fellow freemoter, I was so excited to learn from Josie! Well done and I’m excited to give this a try! Keep up these videos!

    • @CodingWithJan
      @CodingWithJan  Рік тому

      You're the best! :-) I'll make sure Josie gets your great feedback. Thank you Kim! 😃🙌

  • @arcticlionplayz
    @arcticlionplayz 11 місяців тому

    Josie is amazing! They did such a good job and I would love to see them in more videos! So helpful!

  • @ramontilman
    @ramontilman Рік тому

    Love this type of content 🙏 thanks and keep it up 👍

    • @CodingWithJan
      @CodingWithJan  Рік тому

      Awesome!! Thanks so much for the great feedback. :-)

  • @manjunathbhandari108
    @manjunathbhandari108 8 місяців тому

    Thank you Dude! For this wonderful tutorial

  • @miguelppmachado
    @miguelppmachado Рік тому

    Great video. I do a different approach. Instead of using images, you can create css variables that can be specified in the settings.

  • @paulmaliakel8231
    @paulmaliakel8231 Рік тому

    Please Go on Jan! We need more technical videos like these

    • @CodingWithJan
      @CodingWithJan  Рік тому +1

      In the making already!! :-)
      let us know wat you'd like to see!

    • @paulmaliakel8231
      @paulmaliakel8231 Рік тому

      @@CodingWithJan Just a few suggestions: - Filters, Free shipping bar in cart, Coupon code in cart, Checkout page edits, Shopify Hydrogen, built a simple shopify app, slider notice/announcement bar
      etc. and more like you used to do in the beginning of the channel:) Anyways, Keep up the good work :)

  • @lucasgomesc_
    @lucasgomesc_ Рік тому +4

    Can you please help us with 9.0.0 version?

  • @timuratavaliev2566
    @timuratavaliev2566 Рік тому

    Hi!
    Thank you, very much, this video is amazing and so helpful!

    • @CodingWithJan
      @CodingWithJan  11 місяців тому

      Awesome!! Glad the content was helpful. :-)

  • @danielhirvonen227
    @danielhirvonen227 Рік тому

    Thanks Jan for a very good beginner friendly video, which will help many Shopify users! Would you like to do a video of how to add these to the product card without the size radio buttons. Meaning that you would only need to add the variant options with color.
    And also make them hoverable to see the product variant image and also clickable to the variant url :)

  • @jujomoto
    @jujomoto Рік тому

    Excelent thanks

  • @BR1ZZO
    @BR1ZZO 9 місяців тому +3

    Is this for an older version of the themes? Cannot seem to find this line of code in the ride theme.

  • @GilYDKeval
    @GilYDKeval 8 місяців тому

    Hi Jan, thanks for the video. Is there a way to include the colour name when you hover of the swatches?

  • @LooksNicer
    @LooksNicer Рік тому +2

    it doesn't work with DAWN 10 the new upgrade, there is no file in the setting to upload the color files
    how would we do it in DAWN 10

  • @arsalarsi7858
    @arsalarsi7858 9 місяців тому

    great video but i have design custom section for home page to show product grid i want there color swatches when some one select any color image also change, Do you have any video for that?

  • @enwartahir
    @enwartahir 11 місяців тому

    Thats great

    • @CodingWithJan
      @CodingWithJan  11 місяців тому

      Awesome!! Glad the content was helpful. :-)

  • @lifefamilyjoy
    @lifefamilyjoy Рік тому

    Is there an easy way to save a set of variant options to put across similar products on Shopify? For instance: an apparel business that sells 50 different designs that are each listed as a separate product but each design has variants for size, color and style: tank, tee and sweatshirt. Instead of having to manually put in hundreds of prices for every single product, is that a fast way to pull in the same pricing for each style across all product listings? So all tanks are the same price, all tees are same price, etc.

  • @tonucristian7161
    @tonucristian7161 Рік тому

    Hi Jan, love your content. I managed to code the swatches on product page (there dawn 9.0), however I need to add the same swatches on collection pages, bellow the title for each product.
    Can you advise me on that?

  • @zeeshanmanzoor5280
    @zeeshanmanzoor5280 Рік тому +3

    Its too good,
    My question is how can i show the select color name as well,
    Color : Pink
    Thanks in advance

  • @arthurlalande
    @arthurlalande Рік тому

    Thank you that's great ! But I have a problem, now the variant cannot be clicked (I made sure i wrote the code correctly). I'm using the sense Theme

  • @DiceUnofficial
    @DiceUnofficial Рік тому +1

    Doesn't work can't find the "varient-radios" on any theme which is weird

  • @carolinalopera3401
    @carolinalopera3401 Рік тому

    Hi Jan! Is there any way you can help me with my theme? In the Demos of the Theme before buying it it shows that the color swatches option is possible, but after buying it i am not able to add the color swatches. Thank you!

  • @perfece
    @perfece Рік тому

    Just wanted to say it is a good video however, I have some points that are important take notice of, 1 the theme has been updated, 2 Sometimes I miss the reasoning behind some of the choices that would make it more clear

  • @waqarsheikh07
    @waqarsheikh07 Рік тому

    What if we can do it by HTML Color Names Supported by All Browsers. This way we don't need to put manual colors swatches images?

  • @VerifiedBark
    @VerifiedBark 8 місяців тому

    woooowooowoowo you are the best

  • @wasimsuperb
    @wasimsuperb Рік тому

    How to make collapsible of description and tabs below tha..

  • @hurized9868
    @hurized9868 7 місяців тому

    Hi, Question is, this is going to get aplied for all the products by doing this ? or just for the specific product that we are previewing? any advice helps guys, because im worried if i have to do the same for all products since i have a lot. Thanks in advance!

  • @Toshifer
    @Toshifer 9 місяців тому

    Can someone point me to the video on how, if you change picture, the varient pill also changes! Very nice video this one! I'll come back for this one later!

  • @Excapepath
    @Excapepath Рік тому

    I just updated to version 8 and this code was not the same for me, i could find this part of it

  • @dorothywelker3442
    @dorothywelker3442 Рік тому

    can you also make a tutorial how to add express checkout buttons to Dawn theme cart drawer? which dont disappear on cart refresh

    • @CodingWithJan
      @CodingWithJan  11 місяців тому

      Hi Dorothy,
      Thank you for the suggestion regarding the addition of express checkout buttons to the Dawn theme cart drawer.
      I'll be sure to forward this to Jan, and if it aligns with our content direction, we can definitely consider adding it to our list of video topics. Your input is important to us.
      Best,
      Joy (Team)

  • @adrianmentus2572
    @adrianmentus2572 11 місяців тому

    Great Video! Question is there a way to add the name of the color when you are in the hover state of the button?

    • @ibrahimkhalil8067
      @ibrahimkhalil8067 11 місяців тому

      yes, just hide the text with display: none; then while hover display it with display: block;

  • @cristobalibanez7301
    @cristobalibanez7301 Рік тому

    Great video. Unfortunately doesn´t work anymore with the 8.00 Dawn Version

    • @weatherbeeshouse1662
      @weatherbeeshouse1662 Рік тому +1

      the changes now need to be made in the product variant options not main product file

  • @christopherrimplington3643
    @christopherrimplington3643 Рік тому +1

    Any example of Shopify for selling digital services online?

  • @damienrogers4572
    @damienrogers4572 Рік тому

    Hi do you know if this works for impulse paid them. I have recently purchased for 350! And when i contacted them there no were to be seen... lol. As there theme comes with colour swatches already i'm trying to edit the colours on the swatches i have followed there instructions on there example page and it doesn't work......Does anyone know any videos or information on this 🙏🙏🙏

  • @Top1Scorer
    @Top1Scorer 7 місяців тому

    Can you do an update for Dawn Version 12?

  • @MrOlimatt
    @MrOlimatt Рік тому

    Hello, thank you for this great tutorial.
    I applied this step by step and the result was great, however I have one problem.
    The featured picture for the product doesn't disappear when I select a different color, how do I fix this?

    • @marshallsteve2
      @marshallsteve2 8 місяців тому

      You have to set a variant picture for each variant on the product page directly. This doesn't require any coding, it's just part of the Shopify admin panel functionality.

  • @Tobifelix
    @Tobifelix Рік тому +3

    There is no files option in shopify help plz

    • @TKZLGaming
      @TKZLGaming 3 місяці тому

      Its under content G

  • @hypermozgi
    @hypermozgi Рік тому

    seems to be not working in Dawn 8.0 there is no such code there:(

  • @breannasayre1053
    @breannasayre1053 3 місяці тому

    Hello, thank you the tutorial was very helpful and as a beginner I was able to make all the changes myself on my website.
    Can you also help to provide insight on how to have the color name show when you hover or click on the swatch?

    • @CodingWithJan
      @CodingWithJan  3 місяці тому

      This is called a "tooltip".
      The easiest implementation would be using the "title" attribute on an html element
      stackoverflow.com/questions/7503183/what-is-the-easiest-way-to-create-an-html-mouseover-tool-tip

  • @user-ts6hm7gi4m
    @user-ts6hm7gi4m Рік тому +2

    This is a great tutorial! One question - some colors come in to Shopify as two words creating a filename of, for example: Heather%20Orange.png. File uploads don't honor the same name and convert % character to underscore, and can't be renamed. Any thoughts on approach for color names with two words?

    • @user-ts6hm7gi4m
      @user-ts6hm7gi4m Рік тому +4

      Solved. For others, remove the spaces from the Color name: {{ value | remove:" " | append: '.png' | file_url}}

    • @michaelmillikin7582
      @michaelmillikin7582 Рік тому

      @@user-ts6hm7gi4m thank you

    • @JeremyRodriguez2308
      @JeremyRodriguez2308 Місяць тому

      @@user-ts6hm7gi4m love u bro

  • @waynefilkins8394
    @waynefilkins8394 Рік тому

    This is pretty cool, but I kind of don't like out all the circles have an outline even when not selected. Any way to get rid of that?

  • @fardinqureshi1687
    @fardinqureshi1687 Рік тому

    Please make a video on how to disable 'auto select 1st variant' on product page with multiple variants on Dawn theme

    • @CodingWithJan
      @CodingWithJan  Рік тому

      You mean that we don't autoselect the first one?

    • @fardinqureshi1687
      @fardinqureshi1687 Рік тому

      @@CodingWithJan yes there should be a drop down menu for all variants just like empire theme

  • @erin6122
    @erin6122 2 місяці тому

    Anyway to do this with the spotlight theme?

    • @erin6122
      @erin6122 2 місяці тому

      She did a very nice job was super easy to follow!

  • @user-no3rn1tq2n
    @user-no3rn1tq2n 5 місяців тому

    I want to add Royal Blue as a variant option but when I upload the file name always comes like Royal_Blue. How can I fix it?

  • @user-ig1tp4zu9w
    @user-ig1tp4zu9w 11 місяців тому

    hello! Now there is no option files in the settings to upload the colors we made in canva! how can we solve this problem? thank you

    • @CodingWithJan
      @CodingWithJan  11 місяців тому

      Hello Ela,
      The Files section, previously found in the settings, has now been relocated. You can access it by clicking on the Content tab, located on the left-hand side of the Shopify Admin.
      Hope this is helpful.
      Best,
      Joy (Team)

    • @John-qw7qs
      @John-qw7qs 10 місяців тому +1

      @@markob17 Hey, not sure if you still need help but the code for the newer version of the Dawn theme is located in "product-variant-options.liquid" at around line 62

  • @Excapepath
    @Excapepath Рік тому

    Does this have to be done for every product separately?

    • @waynefilkins8394
      @waynefilkins8394 Рік тому

      I doubt it. Should be automatic but you'll have to do all your colors for all products and name all the files right

  • @zupto
    @zupto Рік тому

    Does it still work?

  • @user-no3rn1tq2n
    @user-no3rn1tq2n 5 місяців тому

    I want to add variant name like Royal Blue. But when I TRY to upload this name image file on shopify it's coming like Royal_Blue. So I can I fix that?🤔

    • @breannasayre1053
      @breannasayre1053 3 місяці тому +1

      Hello I added this to the value portion and it worked for me. {{ value | replace:"_", " "}}. And here is where I applied it.
      {{ value | replace:"_", " "}}

  • @user-ot4lv6nt6f
    @user-ot4lv6nt6f 6 місяців тому

    Any chance you've ever experienced only SOME of the color backgrounds showing and some not showing? What could be causing this?

    • @CodingWithJan
      @CodingWithJan  6 місяців тому

      Things I'd check first are
      1) file names (only letters to be safe)
      2) file formats (all the same ideally)

  • @barak499
    @barak499 Рік тому

    It helps!
    but unfortunately, it is complex and difficult...

  • @user-fu1tr6kd6b
    @user-fu1tr6kd6b Рік тому

    Is there a way to make private pages?

    • @CodingWithJan
      @CodingWithJan  11 місяців тому +1

      Hi BSR,
      Yes, in Shopify, you can create private or password-protected pages in a couple of ways: Creating a custom private page using liquid or using apps.
      If you require further assistance, we're here to help, or we can find someone who can.
      Can you send us a message via our website? (link in the description)
      Best,
      Joy (Team)

  • @user-cq2ew8wt4z
    @user-cq2ew8wt4z 5 місяців тому

    why code site is not working

  • @user-zr5bo3el4s
    @user-zr5bo3el4s 8 місяців тому

    Vivek bhaiya se shikho tab btaao

  • @BestAmazonProducts2025
    @BestAmazonProducts2025 Рік тому

    out dated

  • @surgicalcapscom
    @surgicalcapscom Рік тому +1

    A+. We would be interested in some insights with the SHOPIFY CONTACT US PAGE - as we are starting to get a lot of spam. Any development insights to slow down , stop spam to the Shopify Contact Us page?

    • @tapank415
      @tapank415 Рік тому

      a captcha may help in that

    • @surgicalcapscom
      @surgicalcapscom Рік тому +1

      @@tapank415 thanks we have captcha thru Shopify automatically on the page

    • @CodingWithJan
      @CodingWithJan  Рік тому +1

      Thanks so much for the great feedback! :-)
      And we can definitley cover that topic also!