Made Description into Collapsible Row but Name is empty

New Member
5 0 0

Okay so I cant use metafileds for my description because of different reasons, so I used this Code to make a collapsible row out of my description:


 {%- when 'description' -%}
  {%- if product.description != blank -%}
    <div class="product__accordion accordion quick-add-hidden" {{ block.shopify_attributes }}>
      <details id="Details-{{ }}-{{ }}">
            <div class="summary__title">
               {% render 'icon-accordion', icon: block.settings.icon %}
               <h2 class="h4 accordion__title">
                  {{ block.settings.heading | default: }}
            {% render 'icon-caret' %}
         <div class="accordion__content rte" id="ProductAccordion-{{ }}-{{ }}">
            {{ product.description }}
{%- endif -%}


That worked fine, but there is no heading for the collapsible row.
I want to rename the collapsible row "description" but I dont know how to do that.

It looks like this:
Screenshot 2023-09-20 141415.jpg


Can somebody help me out with this?

Kind regards

Replies 0 (0)