Closed mattias78 closed 1 year ago
Under the Variants and Pricing section in the docs there is a typo..
{% set defaultVariant = product.getDefaultVariant() %} {{ variant.price|currency }}
throws a twig error (as variant isn't a defined variable)
shouldn't it be :
{{ defaultVariant.price|currency }}
Description
Under the Variants and Pricing section in the docs there is a typo..
throws a twig error (as variant isn't a defined variable)
shouldn't it be :
{{ defaultVariant.price|currency }}