Last active
August 3, 2021 08:43
-
-
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".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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