Jump to content

dcc2021

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by dcc2021

  1. On 8/30/2020 at 10:14 PM, Alan-Squareflair said:

    Yes, you can do this using jQuery. 

    Add this to your PAGE HEADER CODE INJECTION— in the settings on your main product page.

    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
    <script>
      window.Squarespace.onInitialize(Y, function(){  
      $('section.ProductItem-additional').appendTo('.ProductItem-details-share');
    });
    </script>

     

    http://share.sqr.fr/SopdM2x+/Screen+Shot+2020-08-30+at+10.12.16+PM.png 

    Notes:
    1. this assumes you're not running jQuery on the site; if you are, you can just use the second script.

    2. The template I'm using is MOJAVE in the Brine Family (7.0), although this should work for most 7.0 templates. 

    3. You have to make sure that SOCIAL SHARING is turned on in the Design Styling area— as that's the container I'm using to hold the additional content. It's a little hacky, but it was the easiest way to make it happen.

    http://share.sqr.fr/7CAmcyI+/Screen+Shot+2020-08-31+at+9.55.42+AM.png

     

    THIS WORKED FOR ME! Any idea why an "Add to Cart Button" would be hidden when the "Addition Info" is located under the details? It is invisible until a hover over and then it appears per usual.

    Please see here https://www.bloomingrocks.com/shop-unique-planters/planters-br2100085

    THANKS!

     

     

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