Support high-variant products

Themes have historically used the Liquid API to load all of a product's variants when rendering a product. However, with the introduction of increased variant limits, this approach is no longer performant. The performance impact can be even more significant for combined listing products, since they can far exceed the increased product variant limit. You must therefore make several changes in order to support these features.

In this guide, you'll learn how to update your theme to support products with a high number of variants. You can also refer to Dawn's main product section for an example implementation.

The key changes that must be made are in how the theme renders option values and loads option value availability.