Hello, I created several collapsible rows because each one can not exceed 50kb and I have a lot of text because I have a lot of products and variants. To be sure each product has its own content, and not the same for all the products because each product is unique, I modified the code. Indeed, I wrote this in each collapsible-row (look below). But, even if a variant title isn’t written in the collapsible row, the collapsible row appears. It is empty, but it appears and I don’t want that because I have two collapsible rows that have the same name ‘Bienfaits de la pierre’ and I just want one. How can I do ? (There is no duplicate content in any of the collapsible rows and I think the code is good.). Here is a link to a picture of my problem https://docs.google.com/spreadsheets/d/1zGkTOY0wcV0W8rff9AriXYp1RNvfCq_Bz1lKLdNbhMM/edit?usp=sharing
Here is my code in the collapsible-row :
{% if product.title == ‘xxx’ %}
{% assign variant = product.selected_or_first_available_variant %}
{% if variant.title == ‘xxx’ %}
xxx
{% elsif variant.title == ‘xxx’ %}
xxx
{% elsif product.title == ‘xxx’ %}
{% assign variant = product.selected_or_first_available_variant %}
{% if variant.title == ‘xxx’ %}
{% elsif variant.title == ‘xxx’ %}
xxx
{% endif %}
{% endif %}