Jump to content

my accordion into the product description on page

Recommended Posts

  • Replies 2
  • 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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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.