Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
VPal

Accordion for product excerpt

Question

Posted (edited)

Site URL: https://vinopalma.com/

Hi!

I have been trying to figure out how to get an accordion menu attached to the product excerpt of our product page.

I have followed the thread here: https://forum.squarespace.com/topic/158758-accordion-dropdown-in-product-excerpt/ and here 

The accordion created in the additional info code is fine to create, the issue is getting it to show in the correct place under the description.

Any help greatly appreciated!

Edited by VPal

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Hi there 

which template are you using? the code below should work for a template in the brine family.

have you written the script as below  or have you used an id ref instead of .sqs-block-markdown?

var myBlock = $(".sqs-block-markdown").detach();

myBlock.appendTo(".ProductItem-details-excerpt");

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...