Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to code inventory on variants


LALA

Question

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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular 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

1 answer to this question

Recommended Posts

  • 0
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 BaNgan from 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, 360 Degree Photo block, Seperator Block (SVG Shape divider for sections)
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 post

Create an account or sign in to comment

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


×
×
  • Create New...