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

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

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

  • @amine-ammari
    @amine-ammari  2 месяца назад

    ⚠ I've updated this video for free theme versions above 15! ⚠
    ruclips.net/video/HXN0TPtLXWA/видео.html

  • @calistetikmusic
    @calistetikmusic 7 месяцев назад +7

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

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

    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

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

    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.

  • @vickyhoule6797
    @vickyhoule6797 6 месяцев назад

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

  • @momocotton3049
    @momocotton3049 11 месяцев назад +2

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

    • @amine-ammari
      @amine-ammari  11 месяцев назад

      I'm glad you liked it!

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

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

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

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

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

  • @k40L1n
    @k40L1n Год назад

    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  Год назад

      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 Год назад

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

    • @k40L1n
      @k40L1n Год назад

      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  Год назад

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

  • @tomahawkstu
    @tomahawkstu 9 месяцев назад

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

      Thanks for your kind words!

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

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

  • @Sadierosedesigns
    @Sadierosedesigns 6 месяцев назад +2

    Thank you for the 15.0 update…it worked!

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

      I'm glad this was helpful for you 😄

  • @gg-product-page-gallery
    @gg-product-page-gallery 2 месяца назад +3

    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.

  • @rukisnow
    @rukisnow 8 месяцев назад

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

  • @dkdanyplays
    @dkdanyplays 7 месяцев назад

    By far the easiest method out there, great job!

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

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

  • @Crazycat.artist
    @Crazycat.artist 6 месяцев назад

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

  • @AndreiNicoara-u1b
    @AndreiNicoara-u1b Год назад +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  Год назад

      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.

  • @agiOverlord
    @agiOverlord 9 месяцев назад

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

    • @amine-ammari
      @amine-ammari  9 месяцев назад

      Thank you for the positive feedback!

  • @sainthenri_agency
    @sainthenri_agency 6 месяцев назад

    Amazing, this solved my problem for the past week!

  • @blackxyz6894
    @blackxyz6894 10 месяцев назад

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

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

    Works like magic, thanks a lot!!

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

      Yes thanks for pointing that out

    • @atte7809
      @atte7809 6 месяцев назад

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

    • @amine-ammari
      @amine-ammari  6 месяцев назад

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

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

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

  • @Raahha-b8x
    @Raahha-b8x 5 месяцев назад

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

      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

  • @user-plenara
    @user-plenara 8 месяцев назад

    It actually still works, well done ;)

  • @scm534
    @scm534 4 месяца назад +1

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

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

      same here

    • @amine-ammari
      @amine-ammari  4 месяца назад +1

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

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

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

    • @barsk76
      @barsk76 6 месяцев назад

      @@amine-ammari Thank you 🤙🤙

  • @Manaal-l7h
    @Manaal-l7h 4 месяца назад

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

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

  • @user-zd3cf8fm4w
    @user-zd3cf8fm4w 11 месяцев назад

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

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

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

    • @Ladyangelgrll
      @Ladyangelgrll 11 месяцев назад

      @@amine-ammari how do we group items?

    • @Ladyangelgrll
      @Ladyangelgrll 11 месяцев назад

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

    • @amine-ammari
      @amine-ammari  11 месяцев назад

      @@Ladyangelgrll Yes

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

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

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

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

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

  • @RonTheGod
    @RonTheGod 8 месяцев назад

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

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

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

    • @RonTheGod
      @RonTheGod 8 месяцев назад

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

  • @IK-rj7yp
    @IK-rj7yp Год назад

    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  Год назад

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

  • @HarshhhGada
    @HarshhhGada 8 месяцев назад

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

      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/

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

    Thnx it worked !! You are the best

  • @poppinin
    @poppinin 9 месяцев назад

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

    • @amine-ammari
      @amine-ammari  9 месяцев назад

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

  • @adrianjara7181
    @adrianjara7181 9 месяцев назад

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

    • @amine-ammari
      @amine-ammari  9 месяцев назад

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

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

    3:18 can not find updatemedia

    • @amine-ammari
      @amine-ammari  Месяц назад

      Please use updated video
      ruclips.net/video/HXN0TPtLXWA/видео.html

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

    I updated my theme to Dawn 15.2 and it doesn't work anymore :\

    • @amine-ammari
      @amine-ammari  3 месяца назад +2

      Instructions have changed, I will soon make an update to the video

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

      @@amine-ammari You are the best, brother!

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

      @@amine-ammari Waiting for the updated one! thanks

    • @amine-ammari
      @amine-ammari  2 месяца назад +1

      I have made and updated video:
      ruclips.net/video/HXN0TPtLXWA/видео.html

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

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

      Yes Intructions have changed please check the code

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

    hello when i type updatemedia nothing comes up

    • @amine-ammari
      @amine-ammari  3 месяца назад

      Yes I will make an update soon

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

      @ thank you, I use dawn 15.2.0

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

      @@amine-ammari you know , I watched other videos even using my version of dawn and still when I type “updatemedia” there’s nothing to be found

    • @amine-ammari
      @amine-ammari  2 месяца назад

      ⚠ Updated Video:
      ruclips.net/video/HXN0TPtLXWA/видео.html

  • @VABianne_2023
    @VABianne_2023 7 месяцев назад

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

      Please check the cope snippet I added some instructions there

    • @VABianne_2023
      @VABianne_2023 7 месяцев назад

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

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

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

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

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

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

    mine isnt working when i start selecting different colors

    • @amine-ammari
      @amine-ammari  5 месяцев назад

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

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

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

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

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

      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.

  • @NB-wb5gu
    @NB-wb5gu 9 месяцев назад

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

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

  • @MMRecords-YT
    @MMRecords-YT 6 месяцев назад

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

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

  • @atte7809
    @atte7809 6 месяцев назад

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

      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

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

    Hero!! Thank you very much!

  • @CuriosityUnleashed410
    @CuriosityUnleashed410 Год назад

    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  Год назад +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 Год назад

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

    • @amine-ammari
      @amine-ammari  Год назад +1

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

  • @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:
      ruclips.net/video/HXN0TPtLXWA/видео.html

  • @MehdiBenali-z7b
    @MehdiBenali-z7b 10 месяцев назад

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

    • @amine-ammari
      @amine-ammari  10 месяцев назад +1

      Please update your theme to a recent version

    • @MehdiBenali-z7b
      @MehdiBenali-z7b 10 месяцев назад

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

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

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

    • @MehdiBenali-z7b
      @MehdiBenali-z7b 10 месяцев назад

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

  • @ScottLippert-m4y
    @ScottLippert-m4y 5 месяцев назад

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

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

  • @biggieg3881
    @biggieg3881 9 месяцев назад

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

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

  • @youngthug6408
    @youngthug6408 9 месяцев назад

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

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

    • @youngthug6408
      @youngthug6408 9 месяцев назад

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

    • @amine-ammari
      @amine-ammari  9 месяцев назад

      @@youngthug6408 Yes

    • @youngthug6408
      @youngthug6408 9 месяцев назад

      @@amine-ammari i am getting same result sir

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

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

      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

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

  • @puneetchoudhary5008
    @puneetchoudhary5008 11 месяцев назад

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

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

  • @puneetchoudhary5008
    @puneetchoudhary5008 11 месяцев назад

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

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

  • @kuzulis7760
    @kuzulis7760 7 месяцев назад

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

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

  • @VaidasGudaitis
    @VaidasGudaitis 7 месяцев назад

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

      No unfortunately the code is too different

    • @kushkatrodia7137
      @kushkatrodia7137 7 месяцев назад

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

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

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

      Make sure you followed the new steps for ver 15

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

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

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

  • @adilabaseer558
    @adilabaseer558 Год назад

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

    • @amine-ammari
      @amine-ammari  Год назад

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

    • @adilabaseer558
      @adilabaseer558 Год назад

      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  Год назад

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

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

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

      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

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

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

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

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

      @@amine-ammari which app?

    • @amine-ammari
      @amine-ammari  4 месяца назад

      @@muhammedkahraman881 Search for
      Swatch King: Variants Options

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

    Very helpful, however, in mobile view and thumbnail carousel on desktop view there are no arrows indicating carousel direction, but is displaying:
    Liquid error (snippets/product-media-gallery line 193) could not find asset snippets/icon-caret.liquid
    Liquid error (snippets/product-media-gallery line 207) could not find asset snippets/icon-caret.liquid
    Tried on various themes, showing same problem :(

    • @amine-ammari
      @amine-ammari  3 месяца назад

      I will make an update soon, stay tunned

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

      I had the same problem and I thought icon-caret-code was wrong, but it wasn't. 😅

    • @amine-ammari
      @amine-ammari  2 месяца назад

      ⚠ Updated Video:
      ruclips.net/video/HXN0TPtLXWA/видео.html

  • @Solpacific
    @Solpacific 8 месяцев назад

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

    • @amine-ammari
      @amine-ammari  8 месяцев назад +1

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

    • @Solpacific
      @Solpacific 8 месяцев назад

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

    • @amine-ammari
      @amine-ammari  8 месяцев назад

      @@Solpacific
      No only free themes

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

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

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

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

  • @deadlyfamous
    @deadlyfamous 10 месяцев назад

    Thank you so much! this was reallyu helpfull!

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

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

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

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

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

      I was able to solve it with some minor code changes

    • @amine-ammari
      @amine-ammari  4 месяца назад

      @@DeepaanshuJain Can you share the changes with us?

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

    Hello Amine, I did everything you said in this video but still all the colors are there and I am getting an error message in my snippet products.

    • @amine-ammari
      @amine-ammari  4 месяца назад

      Did you check the updated snippets

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

      @@amine-ammari i think no where can i check it

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

      Which updated snippets do you mean?

    • @amine-ammari
      @amine-ammari  4 месяца назад

      @@muhammedkahraman881 With the code I wrote something for theme version 15 and above for global js

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

      Yes i did, I see still the same product for every color and size

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

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

      yes but you will need to use an app

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

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

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

  • @captainrich7412
    @captainrich7412 7 месяцев назад

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

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

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

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

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

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

  • @hydrastudio.
    @hydrastudio. 8 месяцев назад

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

    • @amine-ammari
      @amine-ammari  8 месяцев назад

      No only on the free themes

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

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

    • @amine-ammari
      @amine-ammari  5 месяцев назад

      Yes but not with this code

  • @agiOverlord
    @agiOverlord 9 месяцев назад +1

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

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

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

      I can see the content, please try a different browser

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

  • @garychow7594
    @garychow7594 8 месяцев назад

    Do you have a tutorial for Craft 14?

  • @KindThreads
    @KindThreads 6 месяцев назад

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

      Thanks, but you will have to hire a dev unfortunately

  • @EmilyPresser
    @EmilyPresser 7 месяцев назад

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

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

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

    Is this for only one product store?

    • @amine-ammari
      @amine-ammari  Месяц назад

      No it can work with multiple products

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

    Thank you thank you thank you!!!!

  • @VABianne_2023
    @VABianne_2023 7 месяцев назад

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

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

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

      Yes it will work for size variants

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

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

    • @amine-ammari
      @amine-ammari  3 месяца назад +1

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

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

      @@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:
      ruclips.net/video/HXN0TPtLXWA/видео.html

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

      @ thank you!

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

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

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

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

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

      Check the code I made an update there

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

      @@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:
      ruclips.net/video/HXN0TPtLXWA/видео.html

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

    updatemedia option in not showing
    what should i do

    • @amine-ammari
      @amine-ammari  3 месяца назад

      Check the instructions I made an update

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

      @@amine-ammari I am trying to find handleupdateproductinfo on the Ride theme and cannot find it, what shall I do?

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

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

      Make sure you followed the updated instructions in the code snippets

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

      Following the same code as notion for dawn 15

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

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

    • @amine-ammari
      @amine-ammari  4 месяца назад

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

  • @EmilianoRamírez-z7v
    @EmilianoRamírez-z7v Год назад

    You are the best!

  • @bouchardstones5040
    @bouchardstones5040 6 месяцев назад

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

      This applies to all items at once

  • @myferrann
    @myferrann Год назад

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

    • @amine-ammari
      @amine-ammari  Год назад

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

    • @myferrann
      @myferrann Год назад

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

    • @amine-ammari
      @amine-ammari  Год назад

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

  • @Deer-sport
    @Deer-sport 4 месяца назад

    hi its not working on desktop

    • @amine-ammari
      @amine-ammari  4 месяца назад

      Make sure you are using a free theme

  • @chenlucas9516
    @chenlucas9516 7 месяцев назад

    Thank you so much, God bless u bro

    • @amine-ammari
      @amine-ammari  7 месяцев назад

      Thanks for watching Erlinda!
      Glad it was helpful

  • @shaanalam8827
    @shaanalam8827 Год назад

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

    • @amine-ammari
      @amine-ammari  Год назад

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

  • @sheikhmuhaiman3776
    @sheikhmuhaiman3776 11 месяцев назад

    Sir Thankyou so much..❤❤❤

  • @faysalzulfiqar
    @faysalzulfiqar Год назад +1

    Helpful🎉

    • @amine-ammari
      @amine-ammari  Год назад +1

      Glad to hear that 😄
      Thanks for your comment