Multiple Variant Images - Display Only The Selected Variant Images On The Free Shopify Themes

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 338

  • @amine-ammari
    @amine-ammari  2 місяці тому

    ⚠ I've updated this video for free theme versions above 15! ⚠
    ua-cam.com/video/HXN0TPtLXWA/v-deo.html

  • @calistetikmusic
    @calistetikmusic 7 місяців тому +6

    After tons of videos 15mins+ of headache this worked! Thank you!!!

  • @momocotton3049
    @momocotton3049 10 місяців тому +2

    Very needed and straight forward explanation, worked perfectly. Thanks :)

    • @amine-ammari
      @amine-ammari  10 місяців тому

      I'm glad you liked it!

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

      @@amine-ammari Hi Amani, we are still on Dawn v.11 and just noticed that the feature is not working for some languages i.e. namely spanish and English, it does however work on the Portuguese and German store. Any idea why this might be?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      @@momocotton3049 you need to adjust the settings, I show how to do that in the video

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

      @@amine-ammari The issue was with the translation app ;) But thanks for the quick reply

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

    It worked perfectly for me!! Dawn 15. Thank you sooo much for your time and this amazing video. I am so grateful!

  • @gg-product-page-gallery
    @gg-product-page-gallery 2 місяці тому +2

    For anyone struggling with this - we made an app that we keep up to date with all the theme updates (including the premium ones)

    • @amine-ammari
      @amine-ammari  2 місяці тому +1

      Hey it's a nice app you've got there.

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

    Thank you sir, this worked on dawn 15 update, I saw so many videos but all videos were uploaded one year ago. but you have wrote in Code snippets for version 15, finally I can work perfectly, thank you very much

  • @Sadierosedesigns
    @Sadierosedesigns 6 місяців тому +2

    Thank you for the 15.0 update…it worked!

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

    That's dope. I'm currently working on a store redesign based on Dawn theme and this is exactly what I wanted to use for the selected variant images.

    • @amine-ammari
      @amine-ammari  11 місяців тому

      That's great! Let me know the features you want me to make a video on!
      Would love to see the store once it's ready!
      You can email me the link if you don't mind

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

      @@amine-ammari Hey yeah, in sha Allah I will, was wondering how to reach out to you?

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

      Btw, I found a bug in the code. I think, by default the very first image of the product i.e featured image, it always shows up.

    • @amine-ammari
      @amine-ammari  11 місяців тому

      @@k40L1n
      Yes You just need to change the order of the values to make sure everything looks good

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

    Brilliant! I have been trying to get something like this to work for days with many methods and youtube vids. This one is by far the best and easiest approach, thank you

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Thanks for your kind words!

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

      @@amine-ammari Hey, still loving you videos, very helpful. I just came back to this one wondering if you could help with something. I have this setup working as intended. Only thing is if I change colour but the currently selected size is out of stock, the images won't change (until you select a size that is available) - Is there any way to force the images to still change? Or perhaps have it auto-select the next size that is available or something?

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

    thank you soooooooo much for this video!!! I have been trying to figure this out for hours with no help from shopify support. You made it so easy to follow and the coding ready. I appreciate you so much.

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

    By far the easiest method out there, great job!

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

    Awesome fix. It worked perfectly fine. You solution is simple and effective. Thank you so much

  • @Shopavbeauty
    @Shopavbeauty 10 місяців тому

    Thank youuuuu so much 100000000x lol ! It worked so easily! Don't stop posting videos ever !!

    • @Shopavbeauty
      @Shopavbeauty 10 місяців тому

      You're the besttt !!!

    • @amine-ammari
      @amine-ammari  9 місяців тому

      I'm glad this was helpful for you 😄

  • @Crazycat.artist
    @Crazycat.artist 5 місяців тому

    thank you so much, I've followed many tutorials but just yours worked for me!

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

    Well done, bro. This is like a premuim shopify app feature. 👍 I just implemented the code and it works beautifully.

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

    You are absolutely the best! And this is the best way to solve this problem!

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Thank you for the positive feedback!

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

    Amazing, this solved my problem for the past week!

  • @AndreiNicoara-u1b
    @AndreiNicoara-u1b 11 місяців тому +1

    It works great on Dawn 12, but can you make it work on Dawn 13, and include color swatches as well as show variants as separate products on collection pages?

    • @amine-ammari
      @amine-ammari  11 місяців тому

      This tutorial still works on Dawn 13
      Same for variants as separate products
      Although the color swatches won't work on Dawn 13 because it will soon support color swatches natively

    • @sarah-peacock
      @sarah-peacock 10 місяців тому

      This is a great approach!
      It’s not working for my Dawn 13 and only works on some products for my Taste 13. Looking forward to the update, I’ll troubleshoot some until then.
      Details:
      All products use the default product template. Some have additional variant like Size. But it doesn’t work on all of the products with a single variant option.

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

    I love you! I was struggling so much with it :( Thank you Sir!

  • @user-plenara
    @user-plenara 7 місяців тому

    It actually still works, well done ;)

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

    it was easy and well-explained. Thanks for the video!!

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

    This is so awesome, thank you so much!

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

    Works like magic, thanks a lot!!

  • @barsk76
    @barsk76 5 місяців тому +1

    Hi and thank you for the tutorial. Can you make a tutorial for this implementation to the Dawn 15 please. ?

    • @amine-ammari
      @amine-ammari  5 місяців тому +1

      Please check the code there are instructions for Dawn 15 in there

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

      @@amine-ammari Thank you 🤙🤙

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

    Thnx it worked !! You are the best

  • @MMRecords-YT
    @MMRecords-YT 5 місяців тому

    I cannot find updatemedia within Global.js (3:13). Do you know something has changed? Can anybody help me out please?

    • @amine-ammari
      @amine-ammari  5 місяців тому

      Yes please check the instructions I updated them for recent dawn versions

  • @KartavyJoshi-c2k
    @KartavyJoshi-c2k 5 місяців тому +1

    @Amine AmmariThe change in the product-media-gallary file is affecting the featured product section when we add the section in the home page it shows all the images regarding the product which should not be like this

    • @amine-ammari
      @amine-ammari  5 місяців тому

      Yes thanks for pointing that out

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

      @@amine-ammari can you make a version that fixes this?

    • @amine-ammari
      @amine-ammari  5 місяців тому

      @@atte7809 not anytime soon, I recommend hiring a developer

  • @IK-rj7yp
    @IK-rj7yp 11 місяців тому

    Excellent Modification. I tested on Dawn 12.0. Works beautifully. Thank you.I tested on thumbnail carousal also. Works great. I was wondering if you could make a video on how to display the thumbnail carousal on the left side of the main image rather than under the main image which is default feature in Dawn theme. Thanks again. Keep up the good work.

    • @amine-ammari
      @amine-ammari  11 місяців тому

      Thanks for the feedback
      I will keep your video suggestion in mind

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

    Hi Amine. I just updated to Trade V15. If you can advise the steps on how to do achieve media grouping on this version, that would be greatly appreciated.

    • @amine-ammari
      @amine-ammari  6 місяців тому

      Please check the cope snippet I added some instructions there

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

      @@amine-ammari OMG Amine. You are a life saver. Thank you soooooooooooo much 😍😍😍😍😍😍😍😍

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

    Thank you so much! this was reallyu helpfull!

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

    Thank you sooooo much. A life saver. God bless 🙏🏼🙏🏼

  • @mariaayub7506
    @mariaayub7506 15 днів тому

    3:18 can not find updatemedia

    • @amine-ammari
      @amine-ammari  15 днів тому

      Please use updated video
      ua-cam.com/video/HXN0TPtLXWA/v-deo.html

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

    Hero!! Thank you very much!

  • @EmilianoRamírez-z7v
    @EmilianoRamírez-z7v 11 місяців тому

    You are the best!

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

    You're amazing sir! Do you know how to link product color swatches to new product page?

    • @amine-ammari
      @amine-ammari  7 місяців тому +1

      I don't have the code it, but thanks for the suggestion!

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

      Thank you for this tutorial! By the way is this applicable in Palo Alto Theme?

    • @amine-ammari
      @amine-ammari  7 місяців тому

      @@Solpacific
      No only free themes

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

    I have followed the exact staps but it still does not work. The only thing that happens is that the front image changes when I select a different colour but the other pictures are not going away. Also, in the duplicated version I checked the other product, and all the pictures where gone… I would appreciate some help!👊🙌

    • @amine-ammari
      @amine-ammari  4 місяці тому

      Please make sure you are using a free theme
      And if you have version above 15 make sure to check the updated instructions

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

    Thank you this works great for the default product template. I have other product templates that I would like this to work on. Is there a way for this code to work on other product templates and note just the default product?

    • @amine-ammari
      @amine-ammari  6 місяців тому +1

      Yes you just need to enable the setting on the other template just like you did for the default

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

    hi thank you very much for your video but for me it doesn't quite work. when I select a variant, it only shows me the first image. maybe because I put alternative text on each image to find myself?
    if you have an idea, better
    thanks again. sorry for the translation I am French speaking

    • @amine-ammari
      @amine-ammari  7 місяців тому

      Hi,
      please make sure the images are in the right order, and that you installed the code properly
      I think you missed the step of the global JS file

  • @agiOverlord
    @agiOverlord 8 місяців тому +1

    Working on Dawn 11, you are the legend!!!

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

    Hi, it worked perfectly. But is it possible to hide the thumbnail image in the Produkt page? Because it has a diferent Layout and design as the variant pictures

    • @amine-ammari
      @amine-ammari  6 місяців тому

      Yes you can hide them by changing the layout
      You can pick a stacked layout for images

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

    There's no updateMedia in my global.js... why? anybody has the same issue?

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

      same here

    • @amine-ammari
      @amine-ammari  3 місяці тому +1

      Hi
      please check the updated instructions that are in the code snippet

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

    Hi followed instructions for phone case use works ok with switching variant's but still shows rest of model. I would choose the 1st one on the variant list that would show all prober images, choose another it will show the proper image the main image but the images from the beginning for the list does not change only the first image of selected variant changes pls help using Dawn 13.0.01

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Hi,
      Please Install another theme and go through the installation process again and make sure your product images are setup properly

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

    Hi, I am working on a shopify store with the sense theme. I have implemented all the steps, works fine, but once I chose another color, the buttons do not respond. Please help

    • @amine-ammari
      @amine-ammari  7 місяців тому

      Hi, please make sure you installed the code properly and that your images are ordered correctly
      If you need to hire a developer you can reach out here
      amineammari.com/contact/

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

    Hi, could you please help? I sell a necklace that customer could choose Red box and Silver necklace, or Pink and Necklace Color Silver, how do I do this so it shows different pictures for different options?

    • @amine-ammari
      @amine-ammari  11 місяців тому +1

      You should use an app that can group the images for you, this tutorial doesn't work with combined options, only groups images using one option

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

      Thank you for your reply, any App suggestion please?😊

    • @amine-ammari
      @amine-ammari  11 місяців тому +1

      @@CuriosityUnleashed410
      apps.shopify.com/variant-image-wizard

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

    Its not working on my Dawn 14. When I select Enable Media Grouping the photo og my product disappears!

    • @amine-ammari
      @amine-ammari  8 місяців тому

      I just tried it today on Dawn14
      Please install a new theme version and go through the installation proces again

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

    What if you have a varying number of images per variant. As in; some colors have 1 image while others have 7. I can't seem to get the images to line up correctly. Am I doing something incorrectly or is this an issue? Thanks

    • @amine-ammari
      @amine-ammari  6 місяців тому

      This wil work even if each color has different number of images

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

    Do you expect to support Dawn 15 any time soon?

    • @amine-ammari
      @amine-ammari  6 місяців тому +1

      Not anytime soon
      But you can reach out if you are willing to hire a dev to help you with that

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

    I have products that have images with different sizes and colors. Are you able to do this for multiple variant options? In this video, it only works for one: color. I need size AND color.

    • @amine-ammari
      @amine-ammari  7 місяців тому

      No only one option at a time for this solution
      I recommend using an app instead if you need multiple
      apps.shopify.com/variant-swatch-king

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

      @@amine-ammari Will try it out. Thanks.

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

      @@amine-ammari ​ Found an app for it. It's called "Variant Image Wizard + Swatch"

  • @sheikhmuhaiman3776
    @sheikhmuhaiman3776 10 місяців тому

    Sir Thankyou so much..❤❤❤

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

    hey, i just implemented the code and it works almost perfectly. But one issue i have is that when i click on the first color selection no other images show up, but when i click on the other colors, the picture associated with the first color shows up along side the other colors. Any ideas on how to fix this issue?

    • @amine-ammari
      @amine-ammari  7 місяців тому

      please make sure you installed the code properly

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

    This method works but after applying it my features product section's product images get messy, can you make an updated version where the new code doesnt interfere with the "featured product" section?

    • @amine-ammari
      @amine-ammari  5 місяців тому

      If I make an update I will keep that in mind, but I can't make an update at the moment you will have to hire a dev

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

    Got this to work on Dawn 14, exactly what we needed. Much appreciated.
    However, since Dawn 15.0.0 was just released, can this be tailored to work in v15?

    • @amine-ammari
      @amine-ammari  6 місяців тому

      No unfortunately the code is too different

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

      @@amine-ammari Could you make a video on how to do it for Dawn v15 please?

  • @Furfriends-w7c
    @Furfriends-w7c 4 місяці тому

    Hi tried with updated step i.e pasted the code on line 167 in product-info instead of global. But the other variant images do not get hidden. I tried the 2nd code which you have given on the link but that is also not hiding the other images. Please help

    • @amine-ammari
      @amine-ammari  4 місяці тому

      I suggest hiring a dev if you can't figure this out, it's difficult to help you without look at the code

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

    Hi, the product images disappear when I select the variant and I have to refresh the page to make it appear and when it does appear it is only one image. I changed the product-info.js file and followed all the steps multiple times but still doesn't work properly. What should I do?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      If you followed all the steps and it still doesn't work I recommend getting in touch with a dev, it's difficult to tell you what to do you without looking at the code

  • @Manaal-l7h
    @Manaal-l7h 3 місяці тому

    its not working properly, the pictures are not being adjusted and the code is being shown on the preview page as well

    • @amine-ammari
      @amine-ammari  3 місяці тому

      Did you follow the updated instructions in the code snippets (global.js)

  • @NB-wb5gu
    @NB-wb5gu 8 місяців тому

    Thanks!! I want to display a secondary image while people hover on the collection page, now it does not show the correct 2nd variant photo. Can you explain how I can do that? Thanks for the amazing value!!

    • @amine-ammari
      @amine-ammari  8 місяців тому +1

      The code that you installed doesn't change the collection page
      I think it must be my other tutorial "show variants as separate products", I did fix the problem by updating the code snippet that you install
      Please install the code snippets again

    • @NB-wb5gu
      @NB-wb5gu 8 місяців тому

      @@amine-ammari Thanks! I indeed followed both of your videos, I updated all the snippets but it is still showing the second media file from the product I created and not 2nd color variant photo. Thanks again for the effort

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

    Has anyone noticed if this degrades the ability for the drawer to open on the theme and when the add to cart button is clicked regardless of the cart setup it will send the user to the checkout page?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      This has nothing to do with the cart, make sure the cart is set to drawer in the theme settings

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

      If that is happening, it's most likely due to a JS error that's happening. Check the Console tab in your Browser developer tools.

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

    Do you have a tutorial for Craft 14?

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

    Hello Brother, everything worked except that i need to refresh the page in order for the color to change. Please advise. (Am using Dawn theme)

    • @amine-ammari
      @amine-ammari  4 місяці тому

      You probably missed the javascript part, please make sure you followed the updated steps

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

    Hi Amine, thank you for this tutorial. Does it work also for paid theme ??

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

    Hi, thanks for that but will it work for size variants? like can it sort the products & their images ACC to size selected?

    • @amine-ammari
      @amine-ammari  4 місяці тому +1

      Yes it will work for size variants

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

    Thank you so much, God bless u bro

    • @amine-ammari
      @amine-ammari  6 місяців тому

      Thanks for watching Erlinda!
      Glad it was helpful

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

    Works great on desktop, but seems to not load the images on mobile. Any way to fix this? I am working with Dawn v15.0.2

    • @amine-ammari
      @amine-ammari  4 місяці тому

      make sure to follow updated steps for version 15
      If it is still not working I recommend hiring a dev or using an app

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

    Instead of creating a new page template for the products you don't want to have a grouping feature, is it possible to use a true or false product metafield?

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Yes, it's possible but template pages are the best way in my opinion.
      You will need to a dev to create this feature

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

    Hi Amine, the link you provided has no content. I see only a blank white page and no code. Could you help me?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      I can see the content, please try a different browser

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

    @amine-Ammari what are the steps to do this for the newest version of ride 15.2?

    • @amine-ammari
      @amine-ammari  2 місяці тому +1

      The updated steps are with the code, I will soon make an update

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

      @@amine-ammari I looked at the steps but could not find handleproductupdateInfo when i tried searching it

    • @amine-ammari
      @amine-ammari  2 місяці тому +1

      I have made and updated video:
      ua-cam.com/video/HXN0TPtLXWA/v-deo.html

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

      @ thank you!

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

    Hii, it's works well but it shows the original product media images size even if i select media sizes to fill . Please fix this

    • @amine-ammari
      @amine-ammari  3 місяці тому

      Make sure you are using a free theme and that you followed the updated steps for recent themes

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

      @@amine-ammari i did but the size of media fits original, i want it fill

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

    So I tried the updated code with dawn v15. It works on desktop, but it's gonna cause bug on the phone. I'm glad I saved a copy...;

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

      THIS IS THE BUG. YOU'LL SEE BELOW ERROR ON SMALL SCREEN
      Liquid error (snippets/product-media-gallery line 193): Could not find asset snippets/icon-caret.liquid
      1
      /
      of
      2
      Liquid error (snippets/product-media-gallery line 207): Could not find asset snippets/icon-caret.liquid

    • @amine-ammari
      @amine-ammari  3 місяці тому

      Ok thanks for reporting that

    • @AbelA.García
      @AbelA.García 3 місяці тому

      So, I'm not an expert in coding; in fact, I don’t know how to code at all. But after reading a lot and going back and forth with ChatGPT, I found that there might be an issue with the line {% render 'icon-caret' %} in product-media-gallery.liquid . I replaced it with .
      This change got rid of the ugly error text, and now I have functional thumbnails on both mobile and desktop. The only issue is that if you select 'hide thumbnails' or 'two columns' for mobile, it will display a bugged view with the error code. However, as long as I have the thumbnail option set to 'Show thumbnails,' it works like a charm.
      I wouldn’t call what I did a fix, but it’s definitely a good workaround. You can give it a try.
      The {% render 'icon-caret' %} lines to be replaced are 242 and 369. Although there are only two lines with this logic, you can just click once somewhere in your Product-media-gallery.liquid and press CTRL+F to find the line to be replaced, and replace it.
      I hope this works for you! I spent hours, and two days trying to figure this out. If I had known code, it would have probably taken me just a few minutes. But hey, at least I made it work, haha!
      PS: I'm using Spotlight version 15.1.0
      UPDATE: Many other sections of the website are now messed up. The featured sections aren’t working properly, and the site overall is becoming very buggy. It seems this has nothing to do with the changes I made, since someone else in the comments is reporting the same issue. So, even if this workaround fixes your issue, you may still need to find a way to resolve other upcoming problems.
      Bottom line, I think these changes are worthless if you end up sacrificing your site's functionality just to have extra images displayed in your product section.
      Farewell

  • @puneetchoudhary5008
    @puneetchoudhary5008 10 місяців тому

    man it was really helpful but i got one problem that you need to refresh the page after selecting the varient to see the images of that varient. Can you help with that?

    • @amine-ammari
      @amine-ammari  10 місяців тому

      You need to copy paste the global.js snippet as well

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

    can't find updatemedia in global.js in dawn 15.1

    • @amine-ammari
      @amine-ammari  4 місяці тому

      Yes Intructions have changed please check the code

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

    Thank you so much for tutorial. Very helpful.
    It worked perfectly at the moment when I applied it to theme.
    But now only first loaded variant appears well. First loaded variant shows only pictures of that variant (color)
    When I click other variants, it shows only pictures from that variant but it shows also one picture (first one) from first loaded variant. Very strange behaviour.
    Can you help?

    • @amine-ammari
      @amine-ammari  9 місяців тому

      Please go through the product setup again and install the code snippets again
      Maybe you skipped a step in the process

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

      @@amine-ammari Thank you for very quick answer. I applied code changes on Dawn ver. 12 and now everything works just fine. Thanks again!

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

    awseome video , next can you make a video how we can make a cutomizable mega menu

    • @amine-ammari
      @amine-ammari  11 місяців тому

      Thanks for the suggestion!
      I will keep the menu in mind

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

    hello i love the vidéo , it's possible to vidéo on bullet point on product page ?

    • @amine-ammari
      @amine-ammari  11 місяців тому

      Thanks for the video suggestion
      You can add bullet points in the description of the product

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

      I mean above the product image not in the description @@amine-ammari

    • @amine-ammari
      @amine-ammari  11 місяців тому

      ​@@myferrann
      If you mean add videos with product image then yes

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

    Hi please help! How can i add images for each size for my product?
    My product are suitcases so i want to add for each size and color different image

    • @amine-ammari
      @amine-ammari  3 місяці тому +1

      You will need to use an app for that if you want to support multiple variant options

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

      @@amine-ammari which app?

    • @amine-ammari
      @amine-ammari  3 місяці тому

      @@muhammedkahraman881 Search for
      Swatch King: Variants Options

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

    but the gallery view on mobile screen gets disturbed it shows snippet code error

    • @amine-ammari
      @amine-ammari  3 місяці тому

      I apologize for the issue, make sure you are using a free theme.
      I will update this video in the future

    • @amine-ammari
      @amine-ammari  2 місяці тому

      I have made and updated video:
      ua-cam.com/video/HXN0TPtLXWA/v-deo.html

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

    Hi Amine, Is it possible to have specific images shown up when selecting two variants colors i.e. our product can be composed of two colours?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      yes but you will need to use an app

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

      @@amine-ammari Is there any app that you can recommend?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      @@momocotton3049 No not really sorry, try some combined listing apps or maybe ask the support maybe they can recommend something

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

    sir i followed every step but i am getting wrong color Variant Image when i select

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Please make sure the order of the images is correct and that you added the code properly

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

    Helpful🎉

    • @amine-ammari
      @amine-ammari  11 місяців тому +1

      Glad to hear that 😄
      Thanks for your comment

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

    Sir everytime we make changes should we duplicate the theme? And can we delete the old one so the website speed wont decreases

    • @amine-ammari
      @amine-ammari  2 місяці тому

      Draft themes don't affect the website speed
      You can keep them there isn't any issue with that

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

    Hi, the sense theme is also updated from 14 to 15, please share the steps for the same.
    Edit: I had referred to the code snippets and I have made every changes according to the steps. It is not working. Please help.

    • @amine-ammari
      @amine-ammari  4 місяці тому

      Make sure you followed the new steps for ver 15

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

      @@amine-ammari yess, i have followed all the steps

    • @amine-ammari
      @amine-ammari  4 місяці тому

      @@HarshhhGada Then you should get in touch with a dev to help you

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

    Error saving sections/main-product.liquid
    Unable to update the file
    Invalid JSON in tag 'schema'
    What should i do?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      You probably made a mistake while pasting the json code, on top left of the file you can restore the initial version of the file

  • @ScottLippert-m4y
    @ScottLippert-m4y 4 місяці тому

    The new instructions for the dawn 15 and above are not very clear

    • @amine-ammari
      @amine-ammari  4 місяці тому

      I apologize for that, I recommend hiring a dev
      to help you

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

    Hey, can i choose only the selected variant for different variants like frame, fabric, finishes combination selected all at once.

    • @amine-ammari
      @amine-ammari  11 місяців тому

      Only one option at a time you can't have combinations

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

      U mean with this code we can't. But we can code it right? If so can u pls help me with that.

    • @amine-ammari
      @amine-ammari  11 місяців тому

      @@adilabaseer558
      Yes it's possible with code you will need to hire a developer to do that

  • @puneetchoudhary5008
    @puneetchoudhary5008 10 місяців тому

    man it was really helpful but i got one problem that you need to refresh the page after selecting the varient to see the images of that varient. Can you help with that?
    MAN I NEED YOUR ATTENTION IN THIS ONE..

    • @amine-ammari
      @amine-ammari  10 місяців тому

      You need to copy paste the global.js snippet as well

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

    Hey bro, do I need to do each item individually, or can I do the coding for all the items ? Thanks

    • @amine-ammari
      @amine-ammari  5 місяців тому

      This applies to all items at once

  • @user-zd3cf8fm4w
    @user-zd3cf8fm4w 10 місяців тому

    There are different numbers of images in each image tab and they are all mixed up. How can I solve this situation? This happens even though I list all the pictures in media as you do.

    • @amine-ammari
      @amine-ammari  10 місяців тому

      Please make sure of the following:
      You grouped the images that have the same color.
      The first image of each group is assigned to a variant.
      The order of the group matches the order of the color values.

    • @user-zd3cf8fm4w
      @user-zd3cf8fm4w 10 місяців тому

      I did my friend but they all mixed :/ can I send your mail photo or something to show the situation?@@amine-ammari

    • @Ladyangelgrll
      @Ladyangelgrll 10 місяців тому

      @@amine-ammari how do we group items?

    • @Ladyangelgrll
      @Ladyangelgrll 10 місяців тому

      @@amine-ammarito group does it mean we just put them in right order?

    • @amine-ammari
      @amine-ammari  10 місяців тому

      @@Ladyangelgrll Yes

  • @MehdiBenali-z7b
    @MehdiBenali-z7b 9 місяців тому

    hello, I am using sense theme but I don't have product-media-gallery. How can you help me please ?

    • @amine-ammari
      @amine-ammari  9 місяців тому +1

      Please update your theme to a recent version

    • @MehdiBenali-z7b
      @MehdiBenali-z7b 9 місяців тому

      I updatet it and I found it now, but when I click on an other variant the variant images don't show. I did all the steps correctly

    • @MehdiBenali-z7b
      @MehdiBenali-z7b 9 місяців тому

      When I updatet my theme, I lost all my customization, I copied the old code and paste it on the new one, but it changed nothing. how can I do?

    • @amine-ammari
      @amine-ammari  9 місяців тому

      @@MehdiBenali-z7b
      I tested the code on Dawn 13 it's working properly
      Maybe you missed at step

    • @MehdiBenali-z7b
      @MehdiBenali-z7b 9 місяців тому

      @@amine-ammari No I didn't mis any step

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

    Great Video! It almost worked perfect, the only issue is that when I click on the image and it shows a larger image of them, it goes back to showing all the photos, can you help with this?

    • @amine-ammari
      @amine-ammari  5 місяців тому

      Thanks, but you will have to hire a dev unfortunately

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

    love you bro

    • @amine-ammari
      @amine-ammari  9 місяців тому +1

      Love you too bro

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

      😉😉😉😉@@amine-ammari

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

    there is a possibility that I can use a same image in different colors?

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

    mine isnt working when i start selecting different colors

    • @amine-ammari
      @amine-ammari  4 місяці тому

      Maybe you are using a v15 theme, you will need to check the new installation instructions

  • @MRJJEWELLERS-B2B
    @MRJJEWELLERS-B2B 8 місяців тому

    Hi @amine-ammari,
    Have been trying the same for crave theme(free ) it is not working out.

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Hi,
      Please go through the installation process again
      Maybe you missed a step in the installation

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

    Hi, I followed all the steps, but confusing on updating handleUpdateProductInfo first step I pasted the code in line 167, below "The result will be like below" that there is another code where should I paste that?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      No the result is just how the code will look like after you paste the first one

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

      @@amine-ammari
      All steps I followed perfectly, it's works fine in version 14, But In version 15.1.0 , there is error displayed in product page like liquid error(snippets/products media- gallery line 368) could not find assest snippets caret- liquid) in mobile view only this error displays on product page, Is there any fix for this? In desktop it works fine for version 15.1.0

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

      @@aniketullal06 - same error I am getting...did you got a resolution ?

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

      I was able to solve it with some minor code changes

    • @amine-ammari
      @amine-ammari  3 місяці тому

      @@DeepaanshuJain Can you share the changes with us?

  • @Raahha-b8x
    @Raahha-b8x 4 місяці тому

    Hi I followed all the steps but not able to see the media grouping in the product information how can i resolve this

    • @amine-ammari
      @amine-ammari  4 місяці тому

      Make sure you are using a free theme and not a premium one, you can also go through the installation process again

    • @Raahha-b8x
      @Raahha-b8x 4 місяці тому

      @@amine-ammari thank you very much...your videos are very easy to follow and understand...it worked but when i click on the variant it doesnt auto refresh on its own..after clicking i have to refresh the website and then changes the variant..any suggestions on this ?

    • @amine-ammari
      @amine-ammari  4 місяці тому

      @@Raahha-b8x It's javascript issue, please take a look at the instructions again

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

      ​@@amine-ammarithank you let me give it a retry

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

    Thank you!

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

    Make a video on how to have more than 100 variants

    • @amine-ammari
      @amine-ammari  8 місяців тому +1

      Thanks for the suggestion
      Shopify will soon enable 2000 variants per product, but we don't know when exactly.

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

    when i click hide other variants media after selecting a variant it "s not showing variant but when uncheck it it works is there any fix for this sir

    • @amine-ammari
      @amine-ammari  8 місяців тому

      Please go through the installation process again on a new theme and try again

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

      @@amine-ammari you mean new copy of dawn sir

    • @amine-ammari
      @amine-ammari  8 місяців тому

      @@youngthug6408 Yes

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

      @@amine-ammari i am getting same result sir

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

    Thanqsm for awesome video!! It worked. There is only one issue that I want to show media images in product images but there is showing variant images in place of product image and in thumbnail crousel too variant images are showing!!!any solutions??? Plz reply

    • @amine-ammari
      @amine-ammari  3 місяці тому

      Make sure you followed the updated instructions in the code snippets

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

      Following the same code as notion for dawn 15

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

      Just want to show media images in thumbnails and product image by default if i am not selecting any variant

    • @amine-ammari
      @amine-ammari  3 місяці тому

      @@priyabhardwaj7799 Ahh I understand, you will need aditional code edits for that

  • @ManishKumar-d3h8u
    @ManishKumar-d3h8u 2 місяці тому

    Hey, I was trying to use your code, I'm using the origin theme but no "updateMedia" in global.js, any idea where to paste the code?

    • @amine-ammari
      @amine-ammari  2 місяці тому

      Check the code I made an update there

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

      @@amine-ammari But I still do not know where to put the code, any suggestions?

    • @amine-ammari
      @amine-ammari  2 місяці тому

      I have made and updated video:
      ua-cam.com/video/HXN0TPtLXWA/v-deo.html

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

    Thank you thank you thank you!!!!