Jump to content

Setting Item Price Based on API and Formula

Recommended Posts

  • 2 weeks later...
On 12/22/2021 at 12:34 AM, learningnewthings said:

I want to sell precious metals but to do so, I need the price of my product to constantly be changing. 

I want to integrate code that will source the spot price of metal from an API and do some calculations to derive the final price of the product.

If possible, the price should update once every 5 minutes.

Please let me know how I can do this

You may need to get squarespace API key with write permission for editting the product info, then a server to perform api call for fetching new price and update the product accordingly

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, Keyword Highlighter
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
15 minutes ago, lalit said:

hi
Our client wants to make a website, where data refresh every 15 minutes. That data comes from an XML file. 

Does Squraspace Sites can do these. 

Samples sites
https://www.sportsmanfinder.com/

bulkcheapammo.com

ammosek.com


www.healthcaredeliveries.com

You can use javascript to fetch content of the xml dynamically

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, Keyword Highlighter
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.