Support » Fixing WordPress » Live Gold Price Updating

  • Hey All! I’m new and in need of some help..

    My boss wants me to help create a website where people can purchase gold coins, easy right?
    However… the price of gold fluctuates and so will the price of these coins.

    Is there a way to do that? A plugin maybe?

    I do know you can have a live feed of gold pricing on your page which is something I am familiar with.

    It’s just wrapping my head around how to have these prices automatically update with an algorithm seems impossible for me!

    I tried asking WordPresses generic help chat but their answer was pretty vague if it can be done.

    Any and all help is appreciated!
    -Alexia

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sounds like you were on WordPress.com when you were talking to the live chat. This is WordPress.org the only real difference between them and us is that we are volunteer based where they are providing support to any customers of theirs who are having server issues. Unfortunately, this means many of us are not going to reply to questions such as this one.

    What I will say about your questions that yes you need a plugin but with the specifications you’ve provided it is hard to correctly guide you to the right plugin and there is also a good chance you will need a custom plugin.

    Moderator bcworkz

    (@bcworkz)

    If you cannot find a good plugin and assuming you would know what to do to calculate a price from a static price per weight value, then the only question is how do you get the current price from a constantly fluctuating price per weight value? Answer: You need a reliable price resource that provides an API that your code can query to get the current price. Your code parses the response to extract the price per weight value from which you calculate the price as usual. Try:
    https://www.google.com/search?q=gold+price+api

    The specifics of how to use the selected API is unique to each API, so identifying the one you want to use is the first step.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Live Gold Price Updating’ is closed to new replies.