When to use variants and when to avoid them - AFS@Store - Technical Notes

AFS@Store - Tips

Product
AFS@Store
AFS@Store Version
5.7
Category
Technical Notes

Some product models do have several SKUs. There are some advices to export that data in the most effective way:

  • Avoid them if there are more than 10 variants. Indeed, they impact negatively upon time to export your data feed, and time to index it. An optimization in that case is to put all variants identifiers at product level and just one global is_available node.
  • Use them if there is no more than two axis of variation,e.g., two attributes like size, color, or material. Only put there axis needed for data you need as a facet.
  • Use them if their thumbnail is not the same and you always want to dynamically select the best to show in search results which means that color is amongst the variant attributes.
Note: Price and availability at variant level may not be useful. You can set it at product level which, in most cases, is sufficient.