Jump to content

my accordion into the product description on page

Recommended Posts

  • Replies 2
  • Views 156
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

11 hours ago, Cyperpunk-girl-333 said:

hi I'm trying to figure out why the above code wont move my accordion into the product description on page 

https://enchantanddelight.com.au/shop-enchant-and-delight/p/purple-fluorite-specimen?rq=Purple Fluorite Cluster


I would like the price to sit above the buy now button

Which code are you using to moving it up to product description?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!


Link to comment
(function(){ var accordion = document.querySelector('.ProductItem-additional .accordion-block');
  var cartButton = document.querySelector('.sqs-add-to-cart-button-wrapper');
  if(accordion && cartButton) {
    // Remove accordion from current position.
    // Add accordion before the cart button.


I'd like the price to sit below the accordion and above above the buy now button? Is this possible with more code? Also the Accordion disappears in mobile view? How do i set it up so it behaves the same way on desktop as it does on mobile?

Edited by Cyperpunk-girl-333
Link to comment

Create an account or sign in to comment

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

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.