Jump to content

Move "Additional Info" on Product Page to above product price?

Recommended Posts

Hi guys,

 I am running a "star review" style code block in the "Additional Info" area of my store products. I'm running the script below, and it only seems to insert the "Additional Info" code block above my product title, no matter what tag I give. The code I am using currently is as follows:

<script>
  $(document).ready(function() { 
        $('.ProductItem-additional .code-block').insertAfter('.ProductItem-details-title');
    });
</script>

As mentioned, it only seems to be able to move my "Additional Info" to above the product title, and nowhere else. I want to try and have it above my product price/below the product title, as shown in the script. I'm running the Brine template.

What am I doing wrong here?

Link to comment
  • Replies 1
  • Views 703
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.