Okay
  Public Ticket #1987046
Field sliders
Closed

Comments

  • Tomas Suverik started the conversation

    Hello we would like to ask you for help - We use two field sliders on the home page (fieldtabcateslider and cetegory slider), and we would like to limit the products shown in the slider to only those which have some combinations available (quantity of at least one combination/size is more than 0) 

    Now it shows also products that does not have any combination available (that are out of stock) that does not make sense, we want to change it.

    Can you help us with that?

  •   Tomas Suverik replied privately
  •  310
    Andrea replied

    Hi Tomas Suverik,

    We have successfully edited, you can check again.

    Best Regards,

    Andrea - FieldThemes Support Team

  • Tomas Suverik replied

    Hi, I see tahat some change has been made, but not what I meant. Now it only checks qualntity/availability of first combination (S size). Some of the products have some sizes available and they are not in the slider.

    You can see that in category "Dámské bundy" there are two available products, with multiple combinations, product "Zimní dámská bunda prošívaná s potiskem tmavě modrá" has S size available, therefore it is shown in the slider. Product "Prošívaná dámská bunda v prodloužené délce s kapucí šedá", although it has some combinations available, is not shown in the slider (I assume it is so because S size is not available).

    Our goal is for the slider to check if any of the combinations has at least one piece available, if not, hide it from the slider. Otherwise it can be shown.

    Thanks!

  •  310
    Andrea replied

    Hi Tomas Suverik,

    sorry you we don't Custom this function yet

    Best Regards,

    Andrea - FieldThemes Support Team

  • Tomas Suverik replied

    Hi I dont think this is a customization, I think this should be a basic function of the slider. The slider should only show products that has some sizes available, I think that is a basic request for a slider.

    Can you please look at it and try to add it at least in one of the sliders? I hope the customization may not need a lot of coding.

    Thanks!

  •  310
    Andrea replied

    Hi Tomas Suverik,

    sorry, we do not have this function.

    Best Regards,

    Andrea - FieldThemes Support Team

  • Tomas Suverik replied

    This is very unfortunate, this should be a basic function for fashion template. Everyone who sells fashion has sizes. I have looked into it and one line of code to your adjustment could have done it. CHanged 

     {if $product.attributes != null && $product.quantity >0}  

    to  

    {if $product.attributes != null && $product.quantity_all_versions >0}  

    And it works now...

  •  310
    Andrea replied

    Hi Tomas Suverik,

    yes great
    Wish you a happy new day


    Best Regards,

    Andrea - FieldThemes Support Team