
Live Gold Price Plugin, Woocommerce integration
- or -
Post a project like this- Posted:
- Proposals: 10
- Remote
- #1743678
- Awarded






Description
Num. of web pages/modules: 1
Description of every page/module: Plugin needed for dynamic pricing of Woocommerce products. API with live spot price updates is available, with calls being successfully made in a Wordpress plugin.
Description of requirements/features: The plugin needs to have textboxes on each products Wordpress page(backend) to add a percent markup, a flat markup, or both.
The plugin will read the live spot price via an api (provided and active on the site, returning data effectively), add the markups described above, and update the price of the product in the Wordpress database on every page load(product pages, and cart)
Extra notes:
Tom C.
100% (1)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-

Hi Tom. Which API is this? Different ways of doing this. Constantly altering the Woocommerce product price possibly not the best method. Dynamically modify a dummy product price in the cart during checkout process basd on api the better way. depends on how often they change prices. Gold / silver etc is pretty much every couple of minutes afaik. Happy to quote, just need a bit of info...
Tom C.10 Oct 2017I'm not opposed to using a dynamic dummy product in the cart, but we need to display the price dynamically on each product page, using the spot price + either a flat markup or % markup. I'm not sure how that's possible if the only dynamic pricing is within the cart.
Stephen B.10 Oct 2017Probably more sensible to use the api via cron to set an 'active' price for the product - i'm assuming that product numbers will actually be small and based on a fixed price of gold at a time point. That would be set as a db transient variable. Pretty easy to modify cart prices in Woocommerce session data. Bit of coding & hooks. Certainly a bit more viable than constantly hacking the WP tables. The api work can then be separated from Woocommerce. Product pages can be based on the active price.
