Jump to content

How to code inventory on variants

Recommended Posts

Site URL: https://fish-cylinder-cxw3.squarespace.com/

Hi all. I'm working on a store with limited items. 30 available per product, with 4 variants, all at different prices. (I was hoping they would all be priced the same to then just do it with a form to pop up and choose.)

The problem being: There are to be 30 in stock and that 30 is to be made up of whatever variants are picked at the time. So it won't be that there will be stock of 10 one style, 12 another, 8 another, 10 another. 

I know this isn't possible with ss settings. Any idea how to do this with code or a add on?

Link to comment
On 3/2/2021 at 5:45 AM, LALA said:

Site URL: https://fish-cylinder-cxw3.squarespace.com/

Hi all. I'm working on a store with limited items. 30 available per product, with 4 variants, all at different prices. (I was hoping they would all be priced the same to then just do it with a form to pop up and choose.)

The problem being: There are to be 30 in stock and that 30 is to be made up of whatever variants are picked at the time. So it won't be that there will be stock of 10 one style, 12 another, 8 another, 10 another. 

I know this isn't possible with ss settings. Any idea how to do this with code or a add on?

I think we need to tackle Inventory API in this case, to update the variant stock whenever an order is made

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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