Variable products get color swatches and size buttons instead of the dropdowns of WooCommerce – on the product page, in the quick view and on the product cards.
Select options
This product has multiple variants. The options may be chosen on the product page
How it is made: the attribute Color of the type “Color” (Products › Attributes) with a color for each term, and “Swatches on product cards” in Theme Builder › Settings › Variation Swatches.
Example 02
On the product page
Sizes that are sold out in the chosen color are crossed out, the price and the stock follow the choice.