Description within a accordion in the theme dawn

Stokio
New Member
9 0 0

How to make accordions that are already positions include the product description in one of them?

Example:

Screenshot_20231001-072724_Chrome.jpg

Reply 1 (1)

Artzen_tech
Shopify Partner
528 105 104

Hello @Stokio 
Its Artzen Technologies! We will be happy to help you today.

As you mentioned that you have the accordion already designed and you want to add the description in it. So you simply have to add a single line {{ product.description }} in one of the accordion paragraph div.
I have also attached the example code of how to add the description to one of the accordion.

 

<div class="dt-sc-accordion-btn">
   <h5 class="">Description</h5>
</div>            
 <div class="dt-sc-accordion-content open" style="height: 0px;">
   <div class="dt-sc-accordion-content-inner">
      <p>{{ product.description }}</p>             
   </div>
</div>

 



Let me know if need further assistance
Regards,
Artzen Technologies

If helpful, please Like and Accept this Solution to help others
Artzen Technologies | A Shopify Development Agency
WhatsApp - 9877983930

Book FREE CONSULTATION who want to migrate to Shopify or want to start an eCommerce business with Shopify