How to have the description always dropped down but keep other section normal

Topic summary

A user seeks to keep the product description section permanently expanded on their product pages while maintaining the default collapsible behavior for other sections (like shipping and returns).

Proposed Solution:

A community member provides code modifications for the product-info.liquid theme file:

  • Locate the {%- when 'collapsible_text' -%} section
  • Add conditional logic to check if the block title contains ‘Description’
  • Set {% assign open = true %} for description blocks specifically
  • This forces only the description accordion to remain open by default

Implementation:

The solution involves replacing existing code with a snippet that passes an open parameter to the accordion render function when the section is identified as the description. Screenshots are included showing the exact code placement and modifications needed.

The discussion appears to provide a working solution but lacks confirmation of successful implementation.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hi,

Sorry this may be a little confusing. The URL is - https://www.modactive.com/products/mda-core-bone-halter-set-halter-top-leggings

We want the description tab always down like attached but have the shipping and returns tab to stay the same. see attached of desired look when someone clicks a product.

Hi @Scarlettcorban3 please go to theme editor and open file product-info.liquid file
and find this line

{%- when ‘collapsible_text’ -%}
and replace the below four line

with this

{% if block.settings.title contains 'Description' %}
          {% assign open = true %}  
        {% endif %}
        {%- if block.settings.title != blank and block.settings.content != blank -%}
          {%- capture accordion_content -%}{{ block.settings.content }}
{%- endcapture -%}
          {%- render 'accordion', title: block.settings.title, content: accordion_content, class: 'product-info__accordion', block: block,open:open -%}
        {%- endif -%}