Jump to content

Display remaining inventory count as a progress bar widget

Recommended Posts

I'd like to display a progress bar widget that on page load displays up to date inventory count as a meter.   I have a progress bar widget that contains a field I can update, but I'm not sure how to implement the functions to pull inventory counts.   The inventory API is there but I don't think that should go in the template for security reasons.   I'm guessing this has to be a server side function?  

Any help would be appreciated.

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Can you provide us with a link to the page on your site and a mockup of what you are trying to achieve?

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.