VariantMatrix

Type
Class
Namespace
craft\commerce\helpers
Inherits
craft\commerce\helpers\VariantMatrix
Since
2.0

Class VariantMatrix

View source (opens new window)

# Public Methods

Method Description
getVariantMatrixHtml() Returns the HTML for a given product’s variant matrix.

# getVariantMatrixHtml()

Returns the HTML for a given product’s variant matrix.

View source (opens new window)

Arguments

Returns

string (opens new window) – The variant matrix HTML

Throws