Support product variants

Products can be broken up into a maximum of three options, and a single combination of those options is a variant. For example, if a t-shirt comes in sizes S, M, and L, and colours Black, White, and Red, then S/Black would be a variant of that product.

In this tutorial, you'll learn how to support product variants in your theme.