Looking for snippet - matrix product with one style
We have some matrix objects that have only a single style. They were created as matrices in the event that other sizes were added in the future.
For whatever reason, the boilerplate theme does not display the information for the single variant, it just has an add to cart link.
I just need something that follows this logic -
If this is a matrix product with one variant, echo the variant title.