• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.03.23, 19:02
  • Opened by: Alex
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24479 - AMP product

Under the buttons of social networks there are accordions, the 1st is responsible for the description and it is “default” open. How to make all accordions “default” closed?

Attachments:

55.jpg (151.9 KiB)
66.jpg (85.2 KiB)

Comments

Fred 08 Apr 2023, 11:39

Hi Alex.
Open this file

/themes/alysum/templates/mobile/catalog/product.tpl

find two lines:

<section {if $product.description} expanded{/if}>

and

<section {if !$product.description} expanded{/if}>

and replace both with

<section>
Alex 30 Apr 2023, 14:22

please tell me what to do to collapse the same accordion in the footer AMP ( list of links )

Alex 30 Apr 2023, 15:29

Thank you. We fixed it ourselves

Fred 03 May 2023, 21:44

Ok, great