Jump to content

jlines

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by jlines

  1. Thanks for your help, Paul. I'm open to any solution that will allow me to show the available quantity remaining while at the same time limiting the customer to 1. The "Quantity Remaining" not displaying when" Quantity for Services" is turned off dynamic is making this tough. Is there a script similar to what's shown in my intial post that will prevent users from updating the quantity in their cart? On the store page itself, after clicking the "Add to Cart" button a message triggers saying "Added." The only issue there is after a couple of seconds, "Added" disappears then goes back to "Add to Cart". Is there a script that can keep the button status as "Added" I think those 2 scripts would solve the problem. is there a script that will just
  2. Hello, What options exist for styling product collection pages (store pages) beyond the standard card layouts? Is there a way to make a simple list? What options are there for services that don't require a fancy image? Are there any options for small images and mainly focused on the title? Is there plugins or extensions that provide more options?
  3. Hello, I run a hockey camp where I have a series of clinics, and each clinic can have up to 20 players. I would like to set up a store that shows each clinic and the number of spots available as shown on this page: https://www.lvlup-hockey.com/hockey-clinics-buffalo The issue with this is I only want each customer to only be able to sign up for the clinic once (quantity of 1 per customer) As of now, I have my products set up as a service. The easy option would be to disable "Quantity for Services" in Settings/Selling/Checkout; however, when you do that, you cannot display the remaining quantity as enabled in selling/selling tools/product status/limited quantity. To display the quantity, I cannot disable quantity per service. I was able to inject this code which prevents users from increasing quantity on the product page, but I need to prevent users from clicking the "add to cart" button multiple times or increasing the quantity in the cart. <script> document.addEventListener('DOMContentLoaded', () => { var qty = document.querySelector('input[type="number"]'); qty.setAttribute('max', '1'); }); </script> Any help would be greatly appreciated.
×
×
  • 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.