Jump to content

Move Reviews Section under thumbnails on Product Page

Recommended Posts

Hi,

I am trying to move the Reviews Section underneath the thumbnails in the right hand column.  The following code works as long as I don't use the product additional info.  If I use additional info it is put under the thumbnails and before the reviews.

  <script>
  if (window.matchMedia("(min-width: 640px)").matches) {
 
    window.Squarespace.onInitialize(Y, function(){  
    $('section.ProductItem-additional').appendTo('.ProductItem-gallery-thumbnails');
   });

   window.Squarespace.onInitialize(Y, function(){  
  $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional');
  });
  }
  </script>

I have tried the following:

<script>
  if (window.matchMedia("(min-width: 640px)").matches) {
 
    window.Squarespace.onInitialize(Y, function(){  
    $('section.reviewsSection').appendTo('.ProductItem-gallery-thumbnails');
  });

    window.Squarespace.onInitialize(Y, function(){  
    $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional');
    });
  }
  </script>

This appears to work for a second but then just puts the reviews section at the bottom of the page again.

I cannot figure this out.  Can anyone help please?

https://www.rebelrebel.co.uk/order-online/crazy-in-love

pw: 1mageproblem

Link to comment
  • Replies 5
  • Views 379
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

2 hours ago, Nikitaly said:

Hi,

I am trying to move the Reviews Section underneath the thumbnails in the right hand column.  The following code works as long as I don't use the product additional info.  If I use additional info it is put under the thumbnails and before the reviews.

  <script>
  if (window.matchMedia("(min-width: 640px)").matches) {
 
    window.Squarespace.onInitialize(Y, function(){  
    $('section.ProductItem-additional').appendTo('.ProductItem-gallery-thumbnails');
   });

   window.Squarespace.onInitialize(Y, function(){  
  $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional');
  });
  }
  </script>

I have tried the following:

<script>
  if (window.matchMedia("(min-width: 640px)").matches) {
 
    window.Squarespace.onInitialize(Y, function(){  
    $('section.reviewsSection').appendTo('.ProductItem-gallery-thumbnails');
  });

    window.Squarespace.onInitialize(Y, function(){  
    $('section.sqs-add-to-cart-button-wrapper').appendTo('.ProductItem-additional');
    });
  }
  </script>

This appears to work for a second but then just puts the reviews section at the bottom of the page again.

I cannot figure this out.  Can anyone help please?

https://www.rebelrebel.co.uk/order-online/crazy-in-love

pw: 1mageproblem

It looks fine on my end

 

image.thumb.png.8498cd4deb62e6b9b6ca7e86a38d5c1b.pngHave you figured it out?

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

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.