Shopify multiple Variant Images

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 296

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

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

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

    Very Rare to find video which is complete to the point and has no irrelavant talking. Thanks a lot .

  • @baranelmal2477
    @baranelmal2477 3 роки тому +13

    Hello, thanks for the great tutorial! However, I, as a complete beginner, am unable to apply those steps to new json version of files with Shopify 2.0.
    Could you help me with that?

    • @AznDomination69
      @AznDomination69 2 роки тому

      Hello there, would you happen to have figured out a way around this?

  • @chiranjivkant5880
    @chiranjivkant5880 3 роки тому

    Bro, this tutorial helped me out of a problem I was stuck with for the past week.. You are a life-saver. Love you for it, and love your work! Cheers.

  • @brendataylor9807
    @brendataylor9807 4 роки тому +3

    Wow! Thank you so much for this tutorial, it is exactly what I was looking for. The way that you explain each step is so helpful. You saved me hours of frustration of trying to figure this out on my own! Thanks a million!!

  • @mustang19ms
    @mustang19ms 4 роки тому +3

    Sir, your tutorial is awesome and you explain everything so well and smooth, you're underrated

  • @fromdanorth
    @fromdanorth 3 роки тому +1

    your instruction is very concise and informative. You explain the logic of the code in a way that I can understand even though I don't do any coding. Thanks for sharing!

  • @sarwanpal5622
    @sarwanpal5622 3 роки тому +1

    I have learned new thing in shopify to edit and create function in shopify

  • @jaichand7416
    @jaichand7416 4 роки тому

    Hi Jan, Your videos so helpful for us because no one want to share the knowledge like you. Your are great

  • @RedrumZT
    @RedrumZT 4 роки тому +6

    Just what I was looking for. Thank you

  • @franciscoespana2603
    @franciscoespana2603 4 роки тому +3

    You are seriously such an amazing teacher! thank you so much this was exactly what I was trying to figure out!

  • @fernandoescanhoela3629
    @fernandoescanhoela3629 4 роки тому +5

    Hey there, Jan! Hope you and your family are safe and well.
    Thank you so much for working on this channel and sharing so much valuable information for free! You should create a Shopify development course, I would definitely buy it!
    Regarding this implementation, I was wondering if there's another way to target the images other than the alt text. Since alt text is so important for accessibility and SEO, it'd be ideal to be able to give the images a meaningful alt text pertaining to each image as opposed to the same general string. Is there another way? Maybe targeting an ID or something like that? Thanks again, you're amazing!

  • @andrewjohnmaglalang3558
    @andrewjohnmaglalang3558 3 роки тому +2

    is there an updated version for this?

  • @bradleyherzlich2947
    @bradleyherzlich2947 4 роки тому +1

    Thank you so much! This was the most helpful. Any tips to replicate this effect when on mobile?

  • @epochmommy3637
    @epochmommy3637 4 роки тому

    Thanks so much for your tutorials Jan. I have been looking for product variation changes for such a long time. Thank you.

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Super welcome :-)
      Awesome you find that helpful

  • @ta_lineb1182
    @ta_lineb1182 4 роки тому +1

    Very dope!!!! You definitely saved my store with this video... Thanks a lot

  • @asharabarshad1759
    @asharabarshad1759 4 роки тому

    Thanks that was one of the best tutorials i got on youtube expect there is very limited content for shopify but that is fantastic.

  • @muhammadidreesshareef8840
    @muhammadidreesshareef8840 4 роки тому

    Kamal Bacha! Love your tutorial, Amazing teaching method. Thanks for providing such an amazing tutorial.

  • @roy.santosh
    @roy.santosh 4 роки тому +2

    Hello Jan! Hope all is well. Excellent content! Many thanks for sharing the video. By following the steps, I was able to implement it on Prestige theme (desktop version). However, on mobile version it doesn’t load the respective images upon clicking the color variants. The theme is utilising Flickity slider to display the product images (scrollable). Is there any way we can get this work on mobile device as well? I will look forward to your insights. Thank you!

    • @epochmommy3637
      @epochmommy3637 4 роки тому +2

      Hi Santosh, I have prestige theme as well..I tried implementing Jan's code but I was getting lost. Could you share the code and files you modified?

    • @tamastorok8826
      @tamastorok8826 3 роки тому

      Hello @Santosh would you please share how you implemented it on Prestige?

  • @ZISSULTDShopifyExperts
    @ZISSULTDShopifyExperts 4 роки тому

    gush! you're amazing! I subscribed to this channel and I love it so much! I just keep following every new thing! I started from the video about metafields and just fell in love! thank you jan!

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Wow, that's some fantastic feedback, thank you so much 😃
      Cheers to Shopify Experts :-)

    • @ZISSULTDShopifyExperts
      @ZISSULTDShopifyExperts 4 роки тому

      @@CodingWithJan jan can you please create a video about coding inside shopify email notifications? I'd love to add product suggestions to my "order confirmation" email sent by shopify notifications. as it's a high open rate I'd like to use it even better for cross-selling

  • @CodingWithJan
    @CodingWithJan  4 роки тому +14

    Quick side note on page speed/loading times:.
    Per default, all the thumbnails will load when someone visits the product page.
    In this tutorial, we only filter them by their visibility.
    If you have many different variants with lots of thumbnails you might consider to use an app instead.
    One that would only load requested thumbnails is called "Variant Image Penguin"
    apps.shopify.com/variantimagegrouper
    Hope you have a good day :-)

    • @berrytic101
      @berrytic101 4 роки тому

      hello, really appreciate the videos you make
      could you show as how to change the description of a product when changing varient please ( really need it since i'm selling skin care )

    • @umoi
      @umoi 4 роки тому

      which app?

    • @dominikvoigtlander9988
      @dominikvoigtlander9988 3 роки тому

      Thats a nice On-page optimazation hint! Will try that! I use a looot pictures

  • @hazemsaber4245
    @hazemsaber4245 4 роки тому

    You're amazing Jan, very useful tutorials in a simple way, greeting from Egypt.

  • @0315n
    @0315n 4 роки тому

    Thank you so much for this video. Can you please do a tutorial where (for example) cust can choose t-shirt, long sleeve, or hoodie - then choose color - then size? Thank you again!

  • @momocotton3049
    @momocotton3049 4 місяці тому

    Hi Jan, thanks for the video. Is it possible to have specific images shown up when selecting two variants colours i.e. our product can be composed of two colours?

  • @danielarangel8809
    @danielarangel8809 4 роки тому +2

    Hi Jan, Thank you for all your helpful and detailed videos. One question, you mentioned below that "if you have many different variants with lots of thumbnails you might consider using an app instead." I fall in that category, which app do you recommend that would work best ?
    Thank you!

  • @monfulee
    @monfulee 4 роки тому +2

    Hello, amazing tutoríal. However when switching to mobile view, the thumbnails disappear ! How to fix this? Some of them stay in the default variant however in the next ones they are not there...any solution?

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

    @Coding with Jan - Shopify Developer - great video explaining the logic in details. I am using a paid theme - can can't seem to find the _onSelectChange function; as they suggest we do not touch theme.js. Can you point how this can be done.

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

    Thanks for this. I would love this in a module however and the fact that the variant URL brings the images without JavaScript. So when you load the URL, it fires the images correctly embed in liquid rather than JavaScript for the first initial load as this can help SEO and update SEO URL and page titles.

  • @dominikvoigtlander9988
    @dominikvoigtlander9988 3 роки тому +4

    Hi Jan, thanks for that Video. Is it possible to hide all pictures of the variants and just show some titel pictures. After selecting the variant only this the color will show up. Thanks again und schöne Grüße aus Wiesbaden :)

    • @TABBA469
      @TABBA469 2 роки тому

      Do u know now?

  • @gustavoconti3431
    @gustavoconti3431 4 роки тому

    Amazing content and constant interaction with the viewers, such a great find. I needed a solution for most recent project and using the alts was all I should have came up with by myself but couldn't. Thanks, saved me a lot of research time, definitely going to search your videos for more useful guides. And I'll sure be back for any further ideas on how to work around shopify's limitations (such as the "1 image per variant" limit) to build features such as this one on shopify stores without having to use third party apps. I'll post a link to the store I'll implement this in once it's done, I'm working on a way to lazyload the hidden images so as not to take too large of a hit on performance. Ayways, thank you. Keep it up!

    • @CodingWithJan
      @CodingWithJan  4 роки тому +2

      Hi Gustavo, nice to meet you.
      Thank you for taking the time to write down your positive feedback :-)
      Looking forward to here from your project.

  • @dixitmarakana9595
    @dixitmarakana9595 4 роки тому

    thank you sir your codding method is best and easy to understand.....so helpful to me

  • @PokeObsession
    @PokeObsession 2 роки тому

    Just found your channel and I am hooked! Great video and great teacher!

  • @JustinHenricks
    @JustinHenricks 4 роки тому

    DUDE! You are amazing this was so helpful, best and easiest way to do this I have found. thanks!

  • @vichaofficial7491
    @vichaofficial7491 2 роки тому

    As a beginner to coding, I am having trouble understanding or following the steps with this guy. Been following the steps and nothing changes for me

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

    I am unable to find the code that he is copying and pasting to find. Can anyone help me with this?

  • @user-sw5xx1ey9e
    @user-sw5xx1ey9e 4 роки тому +1

    Hello, do you know if it’s possible to create a basic returns functionality within customer accounts, and other ways to make the customer account section more robust? Thanks!

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Hi there, in order to process customer returns you definitely need some sort of app.
      Order Processing is nothing that could be done on the front-end of your website alone.
      Here it really depends on how you want to process your returns. Some people have 3rd party fulfillment services that offer app integrations :-)

  • @Harpreet06
    @Harpreet06 4 роки тому +2

    Do you have a video on adding a Product Image Slider/Carousel? I'm using the supply theme and want to change to it. I used to use a Mobile Gallery app but it was from Beeketing and they got banned.

    • @canvasbykaya
      @canvasbykaya 4 роки тому

      did you figure it out?

    • @Harpreet06
      @Harpreet06 4 роки тому

      @@canvasbykaya Nope I'm afraid not. I had to use an app that costs $9.99 a month and while it works well, I don't think it should be something you have to pay for when beeketing did it for free.

  • @Wayf0R
    @Wayf0R 4 роки тому

    Hey Jan, you basically filtered the images by the alt-tag. Is it also possible (since alt tags are helpful for SEO) to give the partially the same name? Let's say that the alt tag is: "Nachhaltiges T-Shirt aus Baumwolle - red" and the other color options gets the tag: "Nachhaltiges T-Shirt aus Baumwolle - black" and then you filter it by Alt-tag contains "Red" or something similar?
    Thank you for your help!

  • @juliabrylina7036
    @juliabrylina7036 3 роки тому

    Thanks you Jan for the clear instructions and explanations. Everything works as it should!

  • @MelonCiroc
    @MelonCiroc 4 роки тому

    Wow this video helped me understand Liquid so much better, thank you!!

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

    I didn't found onchage function in story theme (paid theme)

  • @kids-story-world330
    @kids-story-world330 4 роки тому

    Hi @Coding with Jan - Shopify Developer
    Grate Work it's really helpful .!
    But one issue with mobile device can you please suggest to batter way for mobile device

  • @nagarajuraju4066
    @nagarajuraju4066 4 роки тому +1

    i am using prestige theme of shopify threre i am drop down for color selection and image groping is not happening, but my code is complete different , can you please suggest ?

  • @gophrettepower7936
    @gophrettepower7936 2 роки тому

    Great tutorial! Any idea to apply the same logic in the Parallax Theme?

  • @Sverinee
    @Sverinee 4 роки тому +2

    Hi! Thank you so much for all your videos. It's soo helpful. I'm wondering why Shopify doesn't integrate this feature which are a pure necessity when you sell variants products.
    Whatever.
    Keep making video tutorial, this is really amazing ! Cheers

  • @alexsoghomonian2437
    @alexsoghomonian2437 3 роки тому

    Hi Jan, How can we change the description of variants when selected. I've been trying various methods but I'm not succeeding. A video on this would help a lot. Thx!

  • @irisvirtualtech1356
    @irisvirtualtech1356 4 роки тому

    Thanks for this post Jan. If a product, such as a shirt, has two optional colors (e.g., sleeves & body) . How could you code this without assigning a variant for each possible combination. I'd like to have one variant with say two options (sleeves & body) and display the colors on the same image. When the product is sent to the cart, it would have sleeve & body colors as attributes--the same way that you specify attribute: size for a "red shirt" Another question: Can I have multiple photos triggered by user-selected options within the same variant. Thanks.

  • @VABianne_2023
    @VABianne_2023 5 місяців тому

    Hi Jan. It is possible to update this video for the V15? Thank you in advance

  • @benson475
    @benson475 3 роки тому

    Hi,
    Good advise!! the only issue I see here is, if you use the alt text for multiple variant images, what happens with the SEO alt text, which is crucial for Google? Do you have a solution for the SEO alt text?

  • @multiscrub6645
    @multiscrub6645 4 роки тому +4

    Hi Jan, I have an issue on mobile the thumbnails just disappear when clicked. Maybe the hidden images are still in the thumbnail slider? I added you on insta if you need my shop link thanks

    • @randy-russ
      @randy-russ 4 роки тому +3

      Also having this issue. It seems like slick slider Shopify uses still thinks the elements are there even though display is set to none.

    • @multiscrub6645
      @multiscrub6645 4 роки тому +2

      @@randy-russ Let me know if you manage to fix it. Haven't been able to contact Jan yet

    • @CodingWithJan
      @CodingWithJan  4 роки тому +2

      Hey Guys, finally got to test this myself.
      You were absolutely right and we might need a small adjustment here.
      Here is what worked on mobile for me. (You might consider to duplicate your themes first)
      I might also have some different variable name here so please don´t just copy and past but rather compare :-)
      let me know if that helps
      if( variant.featured_image != null) {
      $('[data-thumbnail-color]').hide();
      $('.slick-slider').slick('slickUnfilter');
      thumbnail_selector = '[data-thumbnail-color="'+variant.featured_media.alt+'"]';
      $(thumbnail_selector).show();
      $('.slick-slider').slick('slickFilter',thumbnail_selector);
      }
      else{
      $('.slick-slider').slick('slickUnfilter');
      $('[data-thumbnail-color]').show();
      }

    • @multiscrub6645
      @multiscrub6645 4 роки тому

      @@CodingWithJan This did work yes thanks! Do you know if it's possible to disable the slider on mobile and just use the same block of images that desktop shows?

    • @lakesiva8800
      @lakesiva8800 4 роки тому

      @@CodingWithJan This is awesome! However, I'm having a hard time implementing the adjustment because my theme uses Flickity instead of Slick slider :( Flickity can't Filter or unFilter. Any idea how I could get over this?

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

    How can I make group image for 2 variants speciafically flavor and size? Sample I have 3 flavor and 3 size. On the flavor I can group the image variant but for the size I can't group the variant base from the flavor. I trying to acquire to get change the variant image for the size base from the flavor. How can I do it?

  • @felixehold6979
    @felixehold6979 3 роки тому

    Hey, do you maybe know, how to show different band color variations for different watches on the product page? (Variation1: Watch; Variation2: Band Colour)
    I would be so grateful! 🌟

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

    Hello, thank you for the tutorial. I have a question: In our scenario, we need each variant to display a common initial image, followed by specific images highlighting the distinctive features of each variant.
    For instance, we sell a football goal that maintains a consistent appearance but comes with different hooks for the net. Ideally, each variant would showcase the football goal first, followed by detailed images of its unique features, such as the hooks.
    Do you have any insights on achieving this?
    Additionally, we're interested in integrating this setup with an ERP system that manages product and variant information.
    Do you know if this capability will be native in Shopify soon? It seems fundamental to have variant images and display only the selected variant's images.
    What are your thoughts on this?

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

      Hi Sven,
      initial thought: This is too big of a project for a UA-cam comment 😁
      I can definitely help you find a qualified developer though.
      If that sounds interesting, could you kindly fill out the following form so we can streamline this better internally:
      codingwithjan.com/developers
      Greetings

  • @jennifervdz85
    @jennifervdz85 3 роки тому

    Thank you! I was able to implement this in canopy theme with a little change on the code, you were very helpful

  • @freedomer2012
    @freedomer2012 2 роки тому

    Hi Jan! I did everything in your video but nothing change in the product page. My theme is Palo Alto, could any one help?

  • @maximilianbredow6374
    @maximilianbredow6374 3 роки тому +1

    Can you please redo this but with the new capabilities of Shopify 2.0 / Dawn? For example, images could now be variant metafields

    • @thefoamingbrain2469
      @thefoamingbrain2469 3 роки тому

      it's the same thing but instead of image by alt tag you would be doing it by metafields

  • @JustinHenricks
    @JustinHenricks 4 роки тому +1

    Hey, any chance you could help me to get this working on mobile as well? I see it does not work for mobile product pages. I am using the Brooklyn theme.

    • @bradleyherzlich2947
      @bradleyherzlich2947 4 роки тому

      Hey Justin! Did you ever find a solution for this on mobile?

  • @vishnushammyleela2500
    @vishnushammyleela2500 4 роки тому +2

    @Lets Build Shopify : Great Video. The only challenge is I am using Minimal theme. I think it would be great if you could make a similar video for the Minimal theme as well as Minimal and Debut are the two themes most of the newbies use.

    • @CodingWithJan
      @CodingWithJan  4 роки тому +1

      Vishnu, nice to meet you. Love that you are speaking of a challenge instead of a problem 😃
      I'll have a look on how different the implemention is and I'll give you an update :-)

    • @ajfera716
      @ajfera716 4 роки тому

      @@CodingWithJan Thank you! I too would like to understand how this code changes to work with the theme Minimal. I gave it a try but without success.

  • @hayadatube
    @hayadatube 3 роки тому

    Vielen Dank für dieses Tutorial... Habe wie im Video erwähnt festgestellt, das bei mir statt image media verwendet wird. Habe soweit alles umgesetzt, allerdings scheint inzwischen einiges in Debut-Liquid geändert worden zu sein, so dass das Ergebnis nicht funktioniert...
    Wäre toll, wenn hier ein Update kommt.. Vielen Dank im voraus...

  • @rojdatasdan3115
    @rojdatasdan3115 2 роки тому

    Hello! Can it be allowed to list variants as separate products in my store by writing code?

  • @qemania
    @qemania 4 роки тому +3

    in some cases some of the thumbnails you want to show for all colors, so if the alt was 'all' ... I show it anyway .. just add
    $(thumbnail_selector).show();
    $('[data-thumbnail-color="all"]').show();

    • @ardisepehri
      @ardisepehri 4 роки тому

      do you know how to do this without jQuery? I'm stuck as I don't know how to get the data into js. Thanks

    • @davidosullivan6496
      @davidosullivan6496 4 роки тому +1

      @@ardisepehri Try this. Edit theme.liquid, you need to add jQuery there, look for the first added script, that line will start with

  • @canvasbykaya
    @canvasbykaya 4 роки тому

    Do you know how to change the thumb nail images to arrows instead so that users can click through to see the images ? I can't seem to find a way to do it anywhere but your videos are really great, and have helped me so much with other work. Thank you :)

  • @vishalbhawsar4364
    @vishalbhawsar4364 2 роки тому

    Hello Jan
    In the empire theme, i am not able to find currentVariant, I have done every thing just wanted to land current variant

  • @ardisepehri
    @ardisepehri 4 роки тому

    Thank you for this tutorial it is working as it should. I also added the revised js codes from a comment you replied to. There is one problem though, when you select an image it goes to full screen instead of replacing the featured image to that one. Do you know how to fix that by any chance?

  • @plthatfunkymusic
    @plthatfunkymusic 2 роки тому

    Hi Jan - brilliant video, super clear, thank you. We are using gempages with the Debut theme. I've managed to hack "data-thumbnail-color" by messing directly with the gempages product template, but I'm not sure of the next step to filter out unwanted images as the code in theme.js is not being called. Any ideas where to add the filter thumbnails function when using gempages?

  • @sarwanpal5622
    @sarwanpal5622 3 роки тому

    I have followed this video and acheived the goal for desktop. but in mobile view this concept is not wokring fine for slick slider. can you please help on mobile view slick slider or how to run same desktop functionality on mobile view. please help!!
    Thanks

  • @Rudi420
    @Rudi420 2 роки тому

    Hello, cool video.
    Will this work for all my products, even if they all have other Variant names?

  • @evanj5264
    @evanj5264 4 роки тому

    Great in-depth tutorial! I am currently using the Venture theme and everything works as it should up to the point where you hard code this "var thumbnail_selector = '[data-thumbnail-color="combo"]';" But does not work when I put the var "selected_color" in place of the hard coded "combo". Any suggestions?

  • @janpohler4571
    @janpohler4571 4 роки тому +1

    Awesome video!
    Could you please show in a video how to add an image slider to the product page?
    Keep doing! You're the best!

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Hey Jan, thanks for your great feedback :-)
      Definitely, I could cover at some point in the near future.
      I already have a video on adding a slider to the homepage.
      Until then you could try to create a new product template and merge/blend all the code and the schema settings from that slideshow with your new product template and it should work in a similar way.

  • @georgefron7163
    @georgefron7163 3 роки тому

    Hello there. First of all, thanks, you are a lifesaver. I really enjoy your videos. I do have a question tho. How can I filter by the color category and not by alt text of the images? I need the alt-text for other things.

  • @jharrymafla
    @jharrymafla 4 роки тому

    One question, I want to upload multiple files to one product
    I mean the customer can upload multiple images I am added the come from you last video fir upload file and work perfect but online can upload one image even if and put the code many time to repeat still upload one file , Thank very much for your video are amazing

  • @omarb.4527
    @omarb.4527 4 роки тому

    I have a paid theme, and the code is different in JS than the one you have explained. I tried to implement the same logic and added filterthumbnail function in the same format used in my theme. But it did not work, the front end goes blank hehe. You have made a great job explaining though, the logic and the idea is super clear.

  • @elegantsimplicity5811
    @elegantsimplicity5811 2 роки тому

    Hi Jan, This is a great video. Is there a away to do that exact functionality without coding?

    • @CodingWithJan
      @CodingWithJan  2 роки тому

      Yes it's possible using a paid app like Color Swatch Pug
      apps.shopify.com/collection-swatch-pug
      Have an awesome day😀

  • @neh9865
    @neh9865 4 роки тому

    Hi Jan
    I have followed same steps in debut theme but i found issue when i completed color swatches video i have created the variants and assigned variant images, those images are showing in slider after that i have added same images in product featured images like in video it will show twices.And this functionality is not working.

  • @SuperYamYam100
    @SuperYamYam100 2 роки тому

    Hi Jan, great tutorial! Based on your Best Shopify Theme 2021 video we went with the Turbo Shopify Theme. Would creating a similar behavior be possible with this theme as well?

  • @ZenRetreatexclusive
    @ZenRetreatexclusive 4 роки тому

    Hey, in my Shopify store I have added more items to my existing collection but the photos do not appear on the site, please help me what should I do?

  • @valerykuznetsov9202
    @valerykuznetsov9202 4 роки тому

    Very good explanation, just what i needed!!! thank you very much

  • @ajfera716
    @ajfera716 4 роки тому

    Thanks so much for sharing your talent! I am so happy that I did get it to work with the Debut theme for the desktop screen. But on my mobile phone the variants are not displaying correctly. Is there also @media code that needs to be changed for the Debut theme? I heard you mention it for other themes. Or is there something in my code that I should check? Again thank you. Your videos are excellent.

    • @CodingWithJan
      @CodingWithJan  4 роки тому +1

      Hi Anne, nice to meet you :-)
      Really liked reading your awesome feedback.
      I remember that someone else had a similar issue on the mobile view.
      We made some small adjustments on the javaScript side. Here is what the code looked after. Just be sure to not copy & paste but rather compare the content because we might have used a different selector/variable name.
      Hope that already helps. :-)
      pastebin.com/4vujjfiw

    • @ajfera716
      @ajfera716 4 роки тому

      @@CodingWithJan Thank you a million times! It works beautifully. :-)

    • @dunny9812
      @dunny9812 4 роки тому

      @@CodingWithJan Hallo Jan, vielen Dank für den großartigen Code. Es hat mir sehr weitergeholfen. Ich nutze auch das Debut Theme und auf der Desktop View funktioniert dieser problemlos. Leider habe ich bei der mobilen Ansicht das Problem, dass wenn ich eine andere Variante auswähle die Bilder in der Slideshow in einem neuen Tab geöffnet werden und das Hauptbild sich nicht ändert. Ich habe die Zoom Funktion ausgeschaltet. Kannst du mir da bitte weiterhelfen? Liebe Grüße

  • @caudillo6232
    @caudillo6232 3 роки тому

    You mention early on in the video that we will have to change image for media in newer version of the coding program, would this also affect the function that we create later on? Would I have to change references to image to media as well? I am currently getting a reference error stating that "Cant find variable $"

  • @Prathamwadhwa-nx4jf
    @Prathamwadhwa-nx4jf Рік тому

    Debut theme is kind of outdated now. How can we do this same thing in dawn theme??

  • @Viral2144
    @Viral2144 3 роки тому

    Hi, Is it possible with the ready theme as well?? Because I am using the Ella theme and it has slick slider implemented for both the navigation as well as for the images..
    Also, I have tried to reinitiate the slick slider again but it didnt work .. Any suggestions ??

  • @josuehuamanrojas5512
    @josuehuamanrojas5512 4 роки тому +1

    Thanks!! I'm beginner and it works pretty well :D But I have some issue with thumbnails slider when product displays on mobile, the carousel is crazy when switch colors :( could you help me?

    • @josuehuamanrojas5512
      @josuehuamanrojas5512 4 роки тому

      I already found your answer and now it works perfect!

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Hi Josue :-)
      Perfect, problems that solve themselves are the ones I like the most 😁
      Awesome you were able to research the solution

    • @leeweide3310
      @leeweide3310 3 роки тому

      @@josuehuamanrojas5512 How did u manage to resolve the mobile interface problem? I am facing a similar situation.

  • @madarifashions4729
    @madarifashions4729 3 роки тому

    hi do you know how I can get more than 100 variants per listing on shopify debut theme? please

  • @ericksonimanzi
    @ericksonimanzi 4 роки тому

    Hey, Hope you're a well,
    How does one get a product description beside a product image, there's no function in Shopify to do this.
    Help Please

  • @severusyt-v7v
    @severusyt-v7v 10 місяців тому

    Hi I‘m currently integrating this to my Dawn Theme. Can you help me and let me know where to find the slate.Variants in the global.js. Everything works fine except for the part of the page initialization, there still all product images are shown.

  • @fromdanorth
    @fromdanorth 3 роки тому

    Thanks to your video I was able to figure this out! I just have one small issue, on some product pages (not all) when I switch to certain colors the thumbnails become disorganized (1 in the first row, 2 in the second row) instead of remaining neatly in the first row together. Any ideas why this might be?
    thanks for your great instruction! keep it up

    • @CodingWithJan
      @CodingWithJan  2 роки тому

      Hey,
      The issue may be caused by the layout classes, a simple fix would be to reduce their width with class:
      .my-colors-watch{
      width:50px
      }
      You will have to give this class name to the radio labels.
      I hope this helps :-)

  • @jcanfox
    @jcanfox 4 роки тому

    Can you please tell me where the data is supposed to be inputed in the supply theme. I tried to follow your steps, but I cannot find the onSelectchange in the theme.js. Thanks again

  • @AbelsColdSweat
    @AbelsColdSweat 4 роки тому

    Just found your channel, let the learning begin!!! Thanks man!

    • @CodingWithJan
      @CodingWithJan  4 роки тому

      Awesome, that's the vibe we need 😃 🚀

  • @hudibloch5920
    @hudibloch5920 4 роки тому

    can this be done for size and color?

  • @gwilly692003
    @gwilly692003 4 роки тому

    Hi Jan, love your videos.
    is there a way to change the size displayed in the cart of say a canvas size when you click on one of the image Thumbnails so the customer doesn't order the wrong size because when you press on one of the thumbnails the size doesn't change? If i change the size the image will change but i want it the other way round if you know what i mean. Many thanks Gareth Using Debut theme.

  • @flamingostyle5553
    @flamingostyle5553 4 роки тому

    Thanks for the useful video.
    I've a question, I'm using Brooklyn theme and tried this function. The functionalities worked as expected on the Desktop version, but it's not working at all on the Mobile version, so could you please solve that for us?
    Thanks in advance and wish you the best ❤

    • @leeweide3310
      @leeweide3310 3 роки тому

      Hey! Did you manage to get a response for this? I am also facing trouble getting it to work correctly for me. Please let me know how you managed to do so.

  • @empanel2396
    @empanel2396 4 роки тому

    I love your channel and applied some of your stuff, but now I have on my product page too much scrolling ... I want the products and the different model of that product not to make the page long... don't want to pay for apps.. do you have anu solution.

  • @meetamin7064
    @meetamin7064 3 роки тому

    Hey mate need help seems like my input selection buttons are not linked, I can pull the info in the console but the images aren't changing and its a custom PALO ALTO theme which was created by someone and I'm trying to figure everything out. any help would be really appreciated @Coding with Jan - Shopify Developer

  • @DanielGonzalez-gf3ou
    @DanielGonzalez-gf3ou 4 роки тому

    is there anyway to prevent the scroll feature from showing a different color so they can only switch by clicking on the swatch??

  • @understatementunderwear7028
    @understatementunderwear7028 3 роки тому

    This is super helpful, Just one question. If I would want to link the filtering function to a text or a button rather then the variants, would that be possible too? For example filter on model X and see all model images of that model?

    • @CodingWithJan
      @CodingWithJan  3 роки тому

      This is a bit more complicated, would be better to ask a developer.

  • @amitj5451
    @amitj5451 2 роки тому

    HI, Jan hope you are well I am part of this channel for 1.5 years your channel helps me a lot in understanding Shopify.
    My question is: What if we don't want to show colour JPG images that you uploaded in assets instead of that if we want to show the first variant image for each colour how to achieve that?
    For Example instead of red colour JPG, the first red T-shirt images come up and same with the rest of the colours variants how can we do that, please guide us

    • @CodingWithJan
      @CodingWithJan  2 роки тому +1

      Hey Amit,
      Thank you so much for your fidelity 🙌
      You can do it by using the product.featured_image liquid object instead of the color swatches.
      shopify.dev/api/liquid/objects/product#product-featured_image
      Hope this helps! :-)

  • @idr1s-h3u
    @idr1s-h3u 2 роки тому

    Thank you so much for this amazing video! I managed to implement the filter in Dawn theme with pure JavaScript but I couldn't make it work when the page loads like you did in 12:38 can you please give me a hint

    • @CodingWithJan
      @CodingWithJan  2 роки тому

      Hey,
      You will have to look for a function that gets call when the page loads, or you can just put the code for the filter at the end of Global.js
      I hope this helps 😄

  • @ascaroncrypto5227
    @ascaroncrypto5227 2 роки тому

    hi Yan, how can same be achived with a slider slides?

  • @nickvanmeter7367
    @nickvanmeter7367 3 роки тому

    Can this tutorial vary depending on what theme is being used? I am working to follow along but I can't seem to find the liquid files that are being altered in this tutorial. Or if you hve freelance developers that have some availability, I'd love to chat.

  • @SuperBata4
    @SuperBata4 3 роки тому

    Hi Jan, When I try this code, my thumbnails disappear and when I change selected color, the main image does not change. Do you know a quick fix for this? Am I forgetting something? Thanks.