Jump to content

Moving product variant to top of product page

Recommended Posts

  • 2 years later...
  • Replies 1
  • Views 975
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

To move Product Variant above Product Description, you can use this code to Website > Website Tools > Code Injection > Footer.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
   $('div.product-variants').insertBefore('div.ProductItem-details-excerpt-below-price');
});
</script>

image.thumb.png.d1b9f0b0ca4e4cb44a88c1b2320960fc.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.