Jump to content

Sophik

Circle Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sophik's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. this is what i did to insert the SKU right below the price on a single product page (don't have this for category/list page)... hope it helps. <script> jQuery(document).ready(function() { jQuery("<div id='sku'></div>").insertAfter(".ProductItem-product-price" ); var pathname = window.location.pathname; jQuery.ajax({ url: pathname + "?format=json-pretty", dataType: "json", success: function (data) { sku = data.item.structuredContent.variants[0].sku; jQuery("#sku").html("<b>SKU:</b> " + sku); } }); }); </script>
×
×
  • 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.