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

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 114

  • @CodingWithJan
    @CodingWithJan  2 หลายเดือนก่อน

    🌟Learn the JavaScript side of Shopify Development: codingwithjan.com/javascript?src=swatches-yt
    👨‍💻Find a reliable Developer for your project: www.codingwithjan.com/hire-a-developer

  • @vlgx00x
    @vlgx00x ปีที่แล้ว +16

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

    • @BlitzBeatyt
      @BlitzBeatyt 9 หลายเดือนก่อน

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

    • @lonaur
      @lonaur หลายเดือนก่อน

      @CodingWithJan should edit this somehow

  • @moatazsaber3369
    @moatazsaber3369 2 ปีที่แล้ว +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  2 ปีที่แล้ว

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

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

  • @aaronbowersock
    @aaronbowersock 5 หลายเดือนก่อน

    what an amazing tutorial. I only wanted to change my radio buttons to swatch circles. i didnt want the 10 or 20 other customizations for a product, and i didn't want to manuall add swatches to every product like most shopify apps were designed to do. I JUST wanted to have little circles. I have experience in HTML, some css and other stuff. This tutorial was fantastic and helped me do what I needed

  • @arshiasaleem5005
    @arshiasaleem5005 ปีที่แล้ว

    This tutorial made my day

  • @EstebanBustos
    @EstebanBustos ปีที่แล้ว +8

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

  • @chefgoyar_d
    @chefgoyar_d 2 ปีที่แล้ว +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!!

  • @adeisaac
    @adeisaac 2 ปีที่แล้ว

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

  • @liamgriffin6897
    @liamgriffin6897 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

  • @zeeshanmanzoor5280
    @zeeshanmanzoor5280 ปีที่แล้ว +5

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

  • @BR1ZZO
    @BR1ZZO ปีที่แล้ว +4

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

  • @arcticlionplayz
    @arcticlionplayz ปีที่แล้ว

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

  • @kimweincek9019
    @kimweincek9019 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

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

  • @silentsushix3
    @silentsushix3 2 ปีที่แล้ว

    Yeessss! Love thisss! Keep it up Jan!

  • @paulmaliakel8231
    @paulmaliakel8231 2 ปีที่แล้ว

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

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว +1

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

    • @paulmaliakel8231
      @paulmaliakel8231 2 ปีที่แล้ว

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

  • @mcneillshiner4718
    @mcneillshiner4718 ปีที่แล้ว

    Thanks, Josie--this was super helpful!

  • @blarhrissi
    @blarhrissi ปีที่แล้ว

    Very clear and well narrated video ! ❤ Thanks.

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

  • @manjunathbhandari108
    @manjunathbhandari108 ปีที่แล้ว

    Thank you Dude! For this wonderful tutorial

  • @ramontilman
    @ramontilman 2 ปีที่แล้ว

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

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว

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

  • @GilYDKeval
    @GilYDKeval ปีที่แล้ว

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

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

  • @timuratavaliev2566
    @timuratavaliev2566 ปีที่แล้ว

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

    • @CodingWithJan
      @CodingWithJan  ปีที่แล้ว

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

  • @arsalarsi7858
    @arsalarsi7858 ปีที่แล้ว

    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?

  • @TheMiig1513
    @TheMiig1513 ปีที่แล้ว +4

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

  • @ThatBoyCatch
    @ThatBoyCatch ปีที่แล้ว +2

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

  • @hirvodanne
    @hirvodanne 2 ปีที่แล้ว

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

  • @jaydog7024
    @jaydog7024 4 หลายเดือนก่อน

    How do you add the color variants to the product card in list views?

  • @rjobaanable
    @rjobaanable 4 หลายเดือนก่อน

    How can I use the images which are shown on the left within the color swatches? Only small, that way you can see it directly right

  • @farukweb
    @farukweb 6 หลายเดือนก่อน

    Nice tutorial for color swatch

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

  • @ChristineG-y5k
    @ChristineG-y5k ปีที่แล้ว +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?

    • @ChristineG-y5k
      @ChristineG-y5k ปีที่แล้ว +5

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

    • @michaelmillikin7582
      @michaelmillikin7582 ปีที่แล้ว

      @@ChristineG-y5k thank you

    • @JeremyRodriguez2308
      @JeremyRodriguez2308 7 หลายเดือนก่อน

      @@ChristineG-y5k love u bro

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

  • @jama7378
    @jama7378 12 วันที่ผ่านมา

    Hello, I want to build a shopify store from scratch and I have API's from my suppliers that I want to add. How does this tutorial differ? and would you have a tutorial for adding API's? Because I am so confused right now.

  • @christopherrimplington3643
    @christopherrimplington3643 2 ปีที่แล้ว +1

    Any example of Shopify for selling digital services online?

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

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

  • @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  ปีที่แล้ว

      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 ปีที่แล้ว

    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 ปีที่แล้ว

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

  • @Toshifer
    @Toshifer ปีที่แล้ว

    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!

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

  • @wasimsuperb
    @wasimsuperb ปีที่แล้ว

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

  • @breannasayre1053
    @breannasayre1053 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      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

  • @damienxrp
    @damienxrp ปีที่แล้ว

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

  • @hurized9868
    @hurized9868 ปีที่แล้ว

    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!

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

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

  • @Top1Scorer
    @Top1Scorer ปีที่แล้ว

    Can you do an update for Dawn Version 12?

  • @Tobifelix
    @Tobifelix ปีที่แล้ว +3

    There is no files option in shopify help plz

    • @TKZLGaming
      @TKZLGaming 9 หลายเดือนก่อน

      Its under content G

  • @fardinqureshi1687
    @fardinqureshi1687 2 ปีที่แล้ว

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

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว

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

    • @fardinqureshi1687
      @fardinqureshi1687 2 ปีที่แล้ว

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

  • @zuadulsuport
    @zuadulsuport 11 หลายเดือนก่อน

    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?

  • @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 ปีที่แล้ว

      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.

  • @Excapepath
    @Excapepath ปีที่แล้ว

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

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

  • @erin6122
    @erin6122 8 หลายเดือนก่อน

    Anyway to do this with the spotlight theme?

    • @erin6122
      @erin6122 8 หลายเดือนก่อน

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

  • @jujomoto
    @jujomoto 2 ปีที่แล้ว

    Excelent thanks

  • @hypermozgi
    @hypermozgi ปีที่แล้ว

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

  • @enwartahir
    @enwartahir ปีที่แล้ว

    Thats great

    • @CodingWithJan
      @CodingWithJan  ปีที่แล้ว

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

  • @zuadulsuport
    @zuadulsuport 11 หลายเดือนก่อน

    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 9 หลายเดือนก่อน +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:"_", " "}}

  • @ElaKAPAJ
    @ElaKAPAJ ปีที่แล้ว

    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  ปีที่แล้ว

      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 ปีที่แล้ว +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

  • @JerrodClaytor
    @JerrodClaytor ปีที่แล้ว

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

    • @CodingWithJan
      @CodingWithJan  ปีที่แล้ว

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

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

  • @numnumfun
    @numnumfun 4 หลายเดือนก่อน

    And to complete this you should have added how to display the name of the color (instead of adding another white ring). But anyhow, nice tutorial.

  • @faqiha6sigma
    @faqiha6sigma ปีที่แล้ว

    why code site is not working

  • @BSRLeatherCoLLC
    @BSRLeatherCoLLC ปีที่แล้ว

    Is there a way to make private pages?

    • @CodingWithJan
      @CodingWithJan  ปีที่แล้ว +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)

  • @VerifiedBark
    @VerifiedBark ปีที่แล้ว

    woooowooowoowo you are the best

  • @zupto
    @zupto ปีที่แล้ว

    Does it still work?

  • @barak499
    @barak499 ปีที่แล้ว

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

  • @VishalSain-y4q
    @VishalSain-y4q ปีที่แล้ว

    Vivek bhaiya se shikho tab btaao

  • @PetHeaven-fun
    @PetHeaven-fun ปีที่แล้ว

    out dated

  • @surgicalcapscom
    @surgicalcapscom 2 ปีที่แล้ว +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 2 ปีที่แล้ว

      a captcha may help in that

    • @surgicalcapscom
      @surgicalcapscom 2 ปีที่แล้ว +1

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

    • @CodingWithJan
      @CodingWithJan  2 ปีที่แล้ว +1

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