Show Variants As Separate Products On The Shopify Collection Page

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

КОМЕНТАРІ • 283

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

    29/09/24 Edit: This feature now works with color filters

  • @maximilianbubitsch1352
    @maximilianbubitsch1352 10 місяців тому +3

    Thank you to share your good work for free!! Great job!

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

    Brilliant, exactly what I was looking for. Thanks.

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

    i was searching for this tutorial for a long time thank you .

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

    Really appreciate your work, man! Thanks a lot ❤

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

    amazing! saved me $60 a year on plugins

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

    Very simple and assertive way
    I just have 1 query
    If I want 2 Variation ie, Color and Size, how can that be done ?

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

      You will need to hire a dev, this code is only for one option at a time

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

    This is a fantastic video! Could you please explain how to display both the COLOR and SIZE variations as well as separate listings at same time? Thank you!

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

      Not with this code, you will need to hire a developer for that

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

      @@amine-ammari That was expected! :) Anyway, thank you so much even for this one option. It changed my website tremendously, as I have a lot of colors. Can’t hire anybody for now. I have to keep the budget tight when the business is launching to increase my chances of success. So I’ll keep to the Pareto Strategy: 20% effort for 80% efficiency. Thanks again!

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

    Thank you sirr! this worked really well and i am using the Ride theme 13.0.1
    Thank you!!

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

    Thank you very much ! 🤩
    Amazing video

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

    Genius! straight to the point, thank you!!

  • @jeroenschuur8881
    @jeroenschuur8881 6 місяців тому +1

    Works great, thanks! Is it also possible to use multiple variants? Like color and size?

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

      Yes it's possible but you need to write more code

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

    Thanks! Really helpful!

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

    Thank you for saving my day!!

  • @marvelerm.r.m9132
    @marvelerm.r.m9132 10 місяців тому

    Love this!

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

      Glad it was useful for you 😄

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

    Your AMAZING Thank You 🙏🙏🙏... It's been driving me Nuts 🤬🤯 in the past 24hours 😬... So helpful

  • @Omar-ju7il
    @Omar-ju7il 11 місяців тому

    exactly what i needed. Thanks man.

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

    Thank you very much for sharing this, very usefull. Is there any way to display the variants in a featured collection?

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

      Yes but you will need to write code or hire a dev for it

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

    So helpful! Thank you so much!

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

    You are the best brother !!! Thanks !!

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

    Thank you so much! Can we have multiple images (front/side/back) per each variant?

    • @amine-ammari
      @amine-ammari  Рік тому +1

      Glad it was helpful 😄
      Yes, it's possible, but it's going to require some custom coding.

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

      I have the same problem, can you help me so I can choose multiple images in the variants section?

  • @Vision09
    @Vision09 28 днів тому

    Hey! Great video; it worked, but I have one problem. I have two photos per product, and it's showing a black photo for a white product t-shirt in the extra photo.

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

      This code doesn't fully support the hover feature unfortunately

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

    Hi. Thank you for this video. The suggested changes seem to not work for Spotlight theme. Please recommend on a solution

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

      I would recommend hiring a dev or using an app

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

    This is awesome!!! - would this work for SPOTLIGHT theme as well?

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

    It perfectly worked, however, if I'm adding another language to my online shop, the products don't show up as color variants separately. Is there any solution to adjust the code option to the selected language? Thanks in advance!

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

      This code doesn't support multilingual stores
      You will need to hire a dev to add that feature or use an app

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

    Thank you, it worked well.
    But now I have all colors of an article in a row in the collection list.
    Is it possible to totally mix the sorting of these colors/articles so that they are randomly sorted and preferably no two colors/variants next to each other?

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

      No, not with this method
      You will need to create each one as a separate product

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

    Thank you so much!! Is there a way to also have the variant color selector appear on the collection page?

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

      Yes it's possible but you will need extra code for that.
      Instead you can use the add to cart button on the collection page, there is a choose option button that appears

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

    Great tutorial. After splitting the variants into different displayed products, is there a way of only adding one variant to the collection page instead of all the variants? E.g. I want to separate jewellery product variants by colour i.e. silver and gold and then add the separated variants to separate collection pages.

    • @amine-ammari
      @amine-ammari  Рік тому

      Yes it's possible I think the best way to do that is through custom code that shows only specific variants.
      Another way could be through using the collection filters, maybe the link changes when you filter by gold color, then you can add that link to the navigation menu, but I can't give you more information about it I never tried it on the Free themes.
      But you have a clue for your research :-)

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

      @@amine-ammariI have tried the link method but that link expires after a while. Do you know by any chance where I edit the code that you gave to be able to do that?

    • @amine-ammari
      @amine-ammari  Рік тому

      Unless you know how to code telling you where isn't really helpful, you can start in the files that we edit in the tutorial
      If this feature is really important I highly encourage you to hire a developer

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

      Ok, thanks for your help

  • @divyansh_2505
    @divyansh_2505 18 годин тому

    Brother, I followed your steps and the work was done. But the thing is that the team wants me to go to the previous version for some testing stuff, and I didn't backup the code that was there by default.
    Can you provide the default code which will make me go to the original state i.e. the variants being shown as a single product.
    Would be a great help!!

    • @amine-ammari
      @amine-ammari  17 годин тому

      You can restore a file to its original version on the top left under its title
      or you can download a new version of the same theme and get the file from there but this may require a dev's help I suggest you hire one, I don't have the original code

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

    Hello and thanks for the video, unfortunately I don't have an image for each variant, is it somehow possible to edit the main-collection-product-grid code so that the main image is displayed?

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

      Yes you can do that but you will need to hire a developer to do it

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

    Super helpful! We followed the steps and were able to create separate products, but on the button that typically says "choose options," it says the following:
    Choose options Liquid error (snippets/card-variant line 205): Could not find asset snippets/loading-spinner.liquid

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

      Can you please install the snippet again on a new theme and try again

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

    It worked for me collection page but when I want to display collection on my main page it still shows only one product. Do you know the solution?

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

      This tutorial is only for the collection page , I don't have the code for the homepage

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

    This is great! Thank you

  • @Vision09
    @Vision09 26 днів тому

    Hey! “Hey! The variant products aren’t displaying on the homepage, but if I access them through the menu, they show up. I’ve linked the ‘All Products’ collection to the homepage, but it’s not displaying there, even though it appears when accessed through the menu.”

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

      This only works on the collection page

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

    Thank you so much. This works great for the variants that match "Color" exactly. However, any products that have different variant titles or no variants are no longer showing up in their collections. Do you know why this is?

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

      It's probably not caused by the code changes, please make sure the products are active products and that they are in stock

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

    Awesome videos. So east to follow and working right out of the box. I just subscribed since I hope you're uploading more videos like this!!!!! Would you be able to add a video on how to add an upsell option to the product page. I'd like to offer another item at reduced costs with a checkbox on the product page and if selected, add main product and upsell item at reduced costs to the cart.

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

      Thanks for the feedback and for the suggestion Nico.
      I made a short on how to add an upsell to the product page, but not with a checkbox

    • @nicowendler9077
      @nicowendler9077 10 місяців тому +1

      @@amine-ammari Thanks, I'll check it out

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

    Thanks Amine. Great job and very well explained.
    Question please: After the change my category page changed from full width page to narrow width. Any idea why? Thanks a lot!

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

      Thanks Jesus for the feedback on the video
      To be honest I don't know why it's happening, maybe try to change it again

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

    Awesome! Will this work on Focal Theme?

  • @ShoaibKhan-ot9st
    @ShoaibKhan-ot9st 4 місяці тому

    Hello There,
    Thanks for the tutorial
    If i have 6 colors and i want to add just 2 colors as separate products, What change i have to make in the code?

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

      You'll need to hire a developer to implement this logic

  • @JonesPerformanceMarketingGroup

    Hey mate, awesome tutorial.
    How can I display variants for multiple products, if the products have different types of variant options (flavour, colour) ?
    For example, I used this tutorial to display Flavour variants for one product, but now I want to do the same thing for my other products that have colour variants, not flavours?

    • @amine-ammari
      @amine-ammari  Рік тому

      Hi,
      Glad it was useful!
      Unfortunately, this will require custom coding if you want to duplicate different variant options on the same collection page.

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

      ok thanks. Are you available for hire for custom coding?
      Also another question; how can I get my variants to show in other collections? Not just in the all products collection?@@amine-ammari

    • @amine-ammari
      @amine-ammari  Рік тому

      Yes I'm available
      You can reach out to me on the contact form on my website
      amineammari.com/contact/
      The variants should normally be visible on the other collections as long as the collections are using the same template page.

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

    Thank you!!!!! Is there a way to show them separately when adding it to the home page "featured collection"? Right now its still showing the one product.

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

      Yes there is a way but I don't have the instructions for it

    • @fiorellaestigarribia6327
      @fiorellaestigarribia6327 14 днів тому

      @@amine-ammari I would love a video about that too

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

    you saved my life

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

    Help! There's no card-product on the main collection grid :(

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

      {%- liquid
      assign option_chosen = "Color"
      assign option_index = ''
      for option in product.options
      if option_chosen == option
      assign option_index = forloop.index0
      break
      endif
      endfor
      -%}
      {%- if option_index == '' -%}
      {% render 'card-product',
      card_product: product,
      media_aspect_ratio: section.settings.image_ratio,
      image_shape: section.settings.image_shape,
      show_secondary_image: section.settings.show_secondary_image,
      show_vendor: section.settings.show_vendor,
      show_rating: section.settings.show_rating,
      lazy_load: lazy_load,
      show_quick_add: section.settings.enable_quick_add,
      section_id: section.id
      %}
      {%- else -%}
      {% assign displayed_values = "" %}
      {% for variant in product.variants %}
      {%- liquid
      assign variant_option = variant.options[option_index]
      assign valueIsDisplayed = false
      for value in displayed_values
      if value == variant_option
      assign valueIsDisplayed = true
      break
      endif
      endfor
      -%}
      {% unless valueIsDisplayed %}
      {%- assign variant_option_arr = variant_option | append: ';' | split: ';' -%}
      {% assign displayed_values = displayed_values | concat: variant_option_arr %}
      {% assign image_url = variant.featured_image | img_url: 'medium' %}
      {% render 'card-variant',
      card_variant: variant,
      card_product: product,
      variant_option: variant_option,
      media_aspect_ratio: section.settings.image_ratio,
      image_shape: section.settings.image_shape,
      show_secondary_image: section.settings.show_secondary_image,
      show_vendor: section.settings.show_vendor,
      show_rating: section.settings.show_rating,
      lazy_load: lazy_load,
      show_quick_add: section.settings.enable_quick_add,
      section_id: section.id
      %}
      {% endunless %}
      {% endfor %}
      {%- endif -%}

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

      Please make sure yo uare using a Free theme like Dawn

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

    Hi, Thanks very much I have added your code and it has worked, however the variants are showing out of stock, it seems to be as there is no stock available in size small, is there a workaround so the stock is reported across all sizes

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

      Yes you will need to remove the out of stock code from the card-variant.liquid
      You will need to hire a dev if you can't code

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

    For those who were getting this error: Liquid error (snippets/card-variant line 246): product form must be given a product
    There was a bug when you activated the Quick Add button feature.
    I updated the code snippet, you need to re-install the code snippets again (it's better to start from an unedited theme), and that should solve the issue.

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

      Hi there, thanks for the tutorial! I just tried the latest code, however the Quick Add button is not working. The button is there, but it won't add to cart after I clicked it.
      Also, I am getting this error: Liquid error (snippets/card-variant line 212): could not find asset snippets/loading-spinner.liquid.
      It will be great if you can let me know how to fix it. Thank you.

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

      ​@@shanshanzk Hi,
      Please download a completely UNEDITED/NEW version of a free theme then install the code snippets again.
      You still have code from the previous version of the code snippets on the theme that has the issue.

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

      @@amine-ammari Thanks for your prompt reply. I tried using a new free theme, and the problem is now fixed👍🏻
      But is there any way that the 'Quick Add Button' and directly add that specific variant to cart? Because now it still have that modal pop-up.

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

      @@shanshanzk
      I'm glad your issue is solved.
      To answer your question, no, that's not possible to add directly the variant with this code snippet.

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

    Hello! This worked perfectly but some colors that are "Sold Out" Does not seem to show the "Sold Out" badge on the collection page. How can I add that or make it opaque?
    *Using Dawn Theme

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

      Yes
      You will need to hire a dev to fix it

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

    This tutorial is a life saver... however, I dont have a main collection page.. my menu is a mega menu with 1 main header then products are seperated into categories which then shows the collection. How do I get this code to work with my setup?

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

      Just make sure that your collections use the same page template and it should work properly
      this can work on multiple collections at the same time

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

      @@amine-ammari Thanks for getting back to me. My collects all use the same template "Default Collection" and my item variation is named "Finish" so I have followed your tutorial but changed "Color" to "Finish" unfortunately this is not working for me, do I need to do anything differently?

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

      @@EmeraldFlooring
      Make sure the spelling is correct
      Capitalization included
      If you are open to pay a dev to help you
      You can reach out
      amineammari.com/contact/

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

    Thanks for the video. What if I want to showcase the variant colors on the home page?

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

      This code is only for the collection page, if you need it on the home page you will need to write additional code, you will need to hire a dev or use a premium app.

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

      @@amine-ammari it would be awesome to get this working on the home page, is it very difficult?

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

      ​@@CadencePrints
      If I update the video I will make sure to add this feature

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

    Is it also possible to upload all variants as products and then link them to each other? So then you can have product urls and images per color

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

      Yes it's possible you will need to write code for that or use a combined listing app

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

    Do you know if this would help with SEO? What I mean is Google indexing each variant and show it in search results. This is a big problem of how Google is indexing Shopify products with multiple variants: it will just index the main "parent" product and it ignores individual variants.

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

      If you want better SEO, you must create each color as a separate product in the admin panel.

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

    Hello, thanks for posting this! I'm getting "snippets/card-variant.liquid' does not exist" error on row 215 on main-collection-product-grid.liquid. What would you suggest?

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

      You must have made an error in naming the file
      card-variant.liquid
      Please make sure it has the correct name without misspelling

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

    It works fine. But how about filtering? Suppose if i select "white" color, only white variants shoud show.

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

      Unfortunately, it's not compatible with filtering.

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

    Bro thank you so much!!!!

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

    I'm getting this error "Liquid error (snippets/card-variant line 246): product form must be given a product" under each product in the catalog how should I fix it?

    • @amine-ammari
      @amine-ammari  Рік тому

      Hi Ivan,
      Please make sure you are using a free theme like Dawn and not a premium one.
      This solution only works with free themes.

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

      Hi,
      This issue is fixed now
      I updated the code snippet, you need to re-install it again

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

    Hi There i am looking to purchase the enterprise theme , it will work the same on that them? or there are other steps ? i also want to know if you have a tutorial for showing available sizes on hoover in collection Thank You

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

      Will this work in the enterprise theme?
      No, this tutorial only works for the Free themes.
      Unless the theme has that feature built-in, you must hire a dev or pay for an App.
      ---
      Concerning the hover thing, I don't have a tutorial for that, thanks for the suggestion.

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

    Does this coding change make changes to all the product pages in all the collections? Or do I have to do it for each product page? Thank you.

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

    this is helpful thank you

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

    What about multilingual sites. What should we write in the snipet instead of "color"

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

      My code snippet doesn't support multilingual sites unfortunately
      You will need more code edits

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

    Is there a way to add different name to each variant? Completely different name? Not “product”-“name(red, or something else). Just the name , because for each color i want to name the product differently

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

      Yes, it's possible but it will need some extra code edits.
      I recommend you work with a dev.

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

      if you cant help me, i wont work with a dev just for that, but anyways thanks a lot, i might try to figure it out myself..@@amine-ammari

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

    Thanks for the tutorial. I have a problem, it don't show the variants on the search page of my website. Can you help?

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

      I don't offer free individual support
      If you want to hire you can reach out here
      amineammari.com/contact/

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

    Help please! I want to select for which product I want to show Varients. Also if there is 5 varients of the a product and I want to show only 2 varients in collection page, then how to do this?

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

    Hey, this is a great solution, but it's not compatible with the new Shopify Search & Discovery App. When I use the "color' filter on the store front, all three variants of the same product show up because of the code. Is there a way to fix this?

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

      Yes I recommend hiring a developer for that, you can reach out to
      amineammari.com/contact/

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

    The actual Sale badge is not visible on the product after adding the code.

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

      Yes since you will need to adjust the code for it

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

    Hi! This was very helpful thank you. However, I am getting the error "Liquid error (snippets/card-variant line 246): product form must be given a product" under each product in the collection page and I am using the free theme "Refresh". Any idea how to fix this?

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

      Hi,
      Can you please make another duplicate of your theme and go through the tutorial again, maybe you pasted the code in the wrong files, the code snippets work on the Refresh theme.

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

      Hi,
      This issue is fixed now
      I updated the code snippet, you need to re-install it again

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

    Hey, I can't find the Main-collection-product-grid for some reason. I have tried to searched everywhere

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

      Hi,
      You are using an old version of your theme.
      Please update your theme to a recent version.

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

    I want to sync two different product's stock changes. If any of them change, the other one must change the same. How can I do it?

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

      I don't know maybe there is an app to do it

  • @syedhassanali5538
    @syedhassanali5538 День тому

    hey, will it work for Minimog Theme, or any other theme?

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

    Thanks for the Code. But I have a question about it. In my shop the hover option is activated. So if you hover over the product the second image is displayed of the product. The Problem is that every variant (color) has the same second image. For Example. I have a Hoodie with the Colors Black, White, Grey and Blue. By hovering over them the image shown is the same. It is another mockup of the Grey Hoodie, because its the second picture of the product. Is there any way to have the right (for the variant) picture displayed?
    Thanks!

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

      Yes it's possible but you need to write more code to make that work

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

      @@amine-ammari okay. Do you have a tutorial for this? I´m not that fit in programming in Liquid

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

      @@bastianmiehling1181
      No I don't, you will need to hire a dev

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

    Hey man great tutorial but i want the variant to show on even featured collection page or when you search it on store but it is appearing only on collection page
    Can you help me with that

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

      I don't have the code for that
      When I update the video I'll make sure to add this feature
      thanks

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

      @ 2:32 instead of searching for grid, search for "featured" and click "Featured-Collections.liquid" then do the same steps in the video.

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

    I am using minimog theme. And in it there was no card-product found. I tried editing even then. It was successful but there was a error showing below each product and the size of the product was fully zoomed

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

      This is only compatible with Free themes, it won't work on minimog

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

    muito obrigado te agradeço de coração do brasil♥

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

    Hey how can I add a select size option before adding shirt to the cart ????

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

      You will need to hire a developer to add that feature, I don't have the code for it

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

    Hello thanks for the tutorial. After applying this code in some product variants "show second image on hover" option doesn't work anymore. When hovering the cursor all the image does is zooming in a bit. How can this issue be fixed? Thank you for your answer.

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

      Hi,
      The previous version of the code snippets had this issue.
      I updated the code and this issue is no longer present, please go through the installation process again, and replace the old code with the new one
      It would be better if you could re-install the code on a new unedited theme so that you don't make a mistake while replacing the code.

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

      @@amine-ammari Hello Amine thank you, it works great! I can see the 2nd image for each variant. However I have a question for you. For a jewelry product I have a gold and a silver variant. Since I can have only one "2nd image" the silver variant shows the same 2nd image as the gold variant, for example the model wearing the gold jewelry. How can I assign separate 2nd images for both variants so that the silver product show the model wearing silver jewelry instead of gold on hover? Thank you for your help!

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

      @@lavendercloud09 The code doesn't have this feature unfortunately
      You will need to hire a dev or use an app for this.
      If I update the code I will keep this feature in mind

    • @James-tb7hv
      @James-tb7hv 8 місяців тому

      @@amine-ammari Hi Amine, thanks for the tutorial!!! Have you been able to resolve this issue?

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

      @@James-tb7hv
      Not yet James

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

    Can I do this for specific products only?

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

      Yes but you will need code edits

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

    Do you know have to merge 3 individual listings under one parent with variation? i tried exporting files and editing but not working. Your expert advice would be greatly appreciated.

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

      Here is a video that I found that may help you
      ua-cam.com/video/AIufjwcEBMM/v-deo.htmlfeature=shared

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

    Liquid syntax error (line 226): 'endif' is not a valid delimiter for for tags. use endfor how to fix???

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

      Please make sure you are using an up to date version of the free themes.

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

    Can we add different products as a variant of one another on the product page

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

      Yes but it will require custom code edits
      If you're looking to hire a dev, I'm available to help you with your project.

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

    Unfortunately, the filters (Search&Descovery) do not work correctly anymore, because they output products and not variants. Can you help me with that, thanks!

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

      This feature doesn't support the filter unfortunately you will need to write additional code to make it work with the filter

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

      Thx

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

    Now i can see the products but got an error message, that the loading-spinner missing from the snippets folder. This error meassge appears under the “Choose from the options” button. Can you help me?

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

      I updated the code to fix this error, please replace the old code snippets with the new ones
      Or install the new code snippets in a new theme

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

    Is it working broadcast theme ?

  • @canvasc-cv6cn
    @canvasc-cv6cn 2 місяці тому

    Great, I need it for hello theme, need help.

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

      I don't have the code for hello theme unfortunately, you will need to hire a dev or use an app

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

    Hello. Can I make differnet photos for collection based on website language.?

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

      Yes search for Shopify markets

  • @arshitaanchaliya1583
    @arshitaanchaliya1583 14 днів тому

    How to show size variants in collection page Below price in shopify?

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

      you will need to write additional code

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

    super helpful. can i ask why if i go on the website collection it doesn.t show me the variant, but if i entrer the collection page from other buttons it shows the variants?

    • @amine-ammari
      @amine-ammari  Рік тому

      Hi Filippo,
      Glad it was useful 😄
      Please make sure that both pages have the same address, it must be a different page

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

      @@amine-ammari if not how do i change it?

    • @amine-ammari
      @amine-ammari  Рік тому

      @@Businessbacked Change the address of the link in your theme customizer or in your navigation settings

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

      @@amine-ammari problem solved, thank you so much. Can’t wait for other videos like this!💪🏻
      Can i ask if it’s possible to have the video about how to change color of the product from the collection pages pr home page and not only from the product page please? Thanks a lot

    • @amine-ammari
      @amine-ammari  Рік тому +1

      It's in the pipeline thanks for the suggestion

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

    I have noticed that the product title now includes the color " - white" in my live store even though I did not type it into the title on the back end of the store in product title. Is this a result of the code and how can I remove the color being typed as part of the title? thanks!

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

      Yes it's part of the code
      search for the text below in the card-variant.liquid file,:
      {{ card_variant.product.title | escape }} - {{ variant_option }}
      and delete the - {{ variant_option }} there are 2 or 3 of them in the file

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

      thank you so much for the extra help!
      @@amine-ammari

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

    I am unable to view the photos when i preview but i can click on the item and see the photo. i tried an old them dawn and it work but my paid them kairo didn't work. Do you have any suggestions. Thank you

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

      This tutorial works only on the Free themes, please use a theme like Dawn to follow along.

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

    Will this work with MINIMOG theme?

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

    I have a product with 2 colours and 3 sizes, how do I get it to show every size and colour? When I choose color it only shows 2 products in 1 size and when I choose size it only shows 3 sizes in 1 color. I have a product with 2 colours and 3 sizes, how do I get it to show every size and colour?

    • @amine-ammari
      @amine-ammari  Рік тому +1

      Hi Ryan,
      You can either show each color or each variant but not both at the same time with this script.

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

    It worked but I have 3 collections and it split every single one of the collections. 'm looking for only 1 of the 3 to serperate

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

      You will need some code edits to build that

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

      @@amine-ammari do you have a recommended video for that?

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

      @@MishaZam300 No you'll need to hire a developer

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

    This works except the listing with "no variant" appears on the page as well. Anyone else experiencing this?

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

      You can simply remove the products with no variants from your collection page.

  • @WV-gt2bd
    @WV-gt2bd 6 місяців тому

    Did this and tried to enable add to cart button but it only has choose options, How can I have an add to cart button that adds strait to cart instead of choose options?

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

      If you have variants the choose option will always appear instead of add to cart
      You will need to write custom code to change that

    • @WV-gt2bd
      @WV-gt2bd 6 місяців тому

      @@amine-ammari I dont know how to write any code.. I just want the button to say add to cart and put the variant shown directly into the cart

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

    legend

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

    Ratings are not displayed anymore?

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

    can you teach me how to setup pixel twitter without app ?

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

      Hi,
      If a lot of people have this issue I will make a video on the topic
      Thanks for the suggestion

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

    Hi, do I need Shopify Premium for this to work?

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

      No you just a to use a free theme

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

    I followed your video and the variants did separate into separate products on the collection page, however, the other products that were in the same collection now have lost there images and it is just a colored square with the name of the product in the square.

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

      They lost their images because they didn't have a variant
      featured image, so please attach images to the variants in your product settings.

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

      thank you!@@amine-ammari

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

      That worked!!! Thank you for being so helpful!! I do have the option where you hover over the image and it shows a second image. So now when I have a sweater in white it changes to a different image of the white sweater when I hover. For the new variant image of the sweater in yellow, when I hover it shows the same second image in white as well. Is there any way to change the image when I hover for the yellow sweater to show a second yellow sweater image instead of the same white one?? Thanks!@@amine-ammari

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

      ​@@brookeinman8618
      Glad I could help.
      No there isn't a way with this code.
      You will need to hire a dev for it.
      If update the video I will make sure to add this feature.

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

      Ok, thank you so much for sharing this with everyone! It was extremely helpful! I appreciate you responding to help me trouble shoot. Thanks!!!
      @@amine-ammari

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

    can you make a video this for product page ?

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

      Thanks for the suggestion I will keep it in mind

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

    niiice one bro

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

    the code has an issue but also working.
    Here is the issue I met when i added this code and worked and I activated the second image when hovering over the item, it is giving an error, when i also activated the quick ad to cart button, here is the error message:Liquid error (snippets/card-variant line 246): product form must be given a product

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

      Hi,
      Thanks for your feedback. I wasn't aware of these issues.
      If I update the video I will try to solve them.

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

      This issue is fixed now ✅
      You need to re-install the code snippet again, I updated it
      Thank you so much for pointing out exactly why the code wasn't working 😄👍🏼

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

      @@amine-ammari You are welcome. I just need to replace the new code, but the last update shows september 28th, shouldn't it show yesterday? I might be wrong here, help me out. by the way, thank you for this video, it helped a lot. my website looks like has quadrupled the products now

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

      ​@@gameskills8006 28th September is not the last update it's the publish date.
      It doesn't show the edit date.

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

      @@amine-ammari Hey Amine, I know this is a drag but guess what? purpose of the code just stopped working. we are not back to not having the variants separate. it is okay though. I just wanted to let you know

  • @isaacsantos7143
    @isaacsantos7143 4 місяці тому +2

    you are God!!

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

      Amine, the variants does not appear in different language. You can help me?

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

      Solved.
      assign option_chosen_1 = "Color"
      assign option_chosen_2 = "Cor"
      assign option_index = ''
      for option in product.options
      if option_chosen_1 == option or option_chosen_2 == option
      assign option_index = forloop.index0
      break
      endif
      endfor