Hi!
I’m trying to add a unique class to a product card based on tags. I’m 90% of the way there. I updated line 43 of card-product.liquid to have an “if” in the class, looking like this:
<div class="card-wrapper product-card-wrapper underline-links-hover {%- if card_product.tags contains 'non-interactive' -%} non-interactive{%- endif -%}">
My only hangup is that in the final outcome, the last two classes get stuck together like so:
class="card-wrapper product-card-wrapper **underline-links-hovernon-interactive**"
Any thoughts on how to fix this?