- A list of product attributes of all products in the comparison list.
You can manage product attributes on the Attributes tab of the Create/Edit Product page.
To output an attribute value by its name, you can use the following code:
<?= h($product->get_attribute($attribute)) ?>