Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Last active August 3, 2021 08:43
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachharkey/f08d0982207609323f60bc010b29012d to your computer and use it in GitHub Desktop.
Save zachharkey/f08d0982207609323f60bc010b29012d to your computer and use it in GitHub Desktop.
Squarespace: This is a hack to hide the "Quantity" input field in product blocks on a per page basis. Paste this into a code block somewhere above the product block. Set code block to "HTML" and uncheck "Display Source".
<style>
/* Hide quantity fields on this page only */
.product-block .product-quantity-input { display: none; }
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment