A solution provided to display precious Metals(Gold, Silver, Platinum and 36+ metals) rates in the desired currencies (USD,GBP, CAD etc).
Plugin comes up with a comprehensive controls to display desired date metal rates as well as latest, with the help of short codes with custom WP Editor. Now it support woocommerce, user can enable auto pricing for products by connecting metal from the given metals dropdown.
– Latest metals rate
– Shortcode to display latest/historical rates
– Rates in desired currency
– Cron job option ( Custom Settings )
– Support Woo-commerce
– WC Product auto pricing for desired metal
– Iron Ore
– LBMA GOLD AM
– LBMA GOLD PM
– LBMA Platinum AM
– LBMA Platinum PM
– LBMA Palladium AM
– LBMA Palladium PM
– LME Aluminium
– LME Copper
– LME Zinc
– LME Nickel
– LME Lead
– LME Tin
Installing and using ZPT Metals Plugin
How to use ZPT Metals with WooCommerce
Short code details
Use shortcode [zpt-metals] to display metal rates on your wp website.
Following are the params that you can pass to display your desired shortcode output:
Its required to display which metal rates you want to display. Possible value can be any of; gold, silver, platinum, palladium, rhodium, ruthenium
Example: [zpt-metals type=”gold”]
Its optional to display desired date format. Possible value can be any of; Y-m-d, m-d-Y etc.
Example: [zpt-metals date-format=”Y-m-d”]
Its optional to display rates of metal in a specific currency. Possible value can be any of; USD, GBP etc.
Example: [zpt-metals price-round=”USD”]
Its optional to display desired digits after decimal. Possible value can be any of integer.
Example: [zpt-metals price-round=”2″]
Its optional to display rates for a specific date. Possible value can be a date(YYYY-MM-DD) format.
Example: [zpt-metals date=”2022-03-01″]
DISCLAIMER: This plugin is relying on a 3rd party(metals-api.com) as a service. You will need to get an API key from https://metals-api.com and use that key to get metals rate. This plugin is just an interface to fetch latest rates from metals-api.com on the behalf of your API key. Read privacy policies of metals-api
Upload the extracted plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the “Plugins” menu in WordPress and then enter your metals-api.com API key.
Is API required to run this plugin?
Yes. Metals API key is required to fetch latest metal rates.
Does Plugin handles API rate limits?
Yes. Plugin will request latest rates from API after above set minutes from its last run and then save rates into database. Until next run, plugin will serve saved rates from database to visitors.
There are no reviews for this plugin.
Contributors & Developers
“ZPT Metals” is open source software. The following people have contributed to this plugin.Contributors
Translate “ZPT Metals” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Initial release
- Added new metals (17)
- Added new attribute (carat) only for GOLD
- Fixed bugs
- Added Woocommerce support
- Added Products auto pricing in product data tabs for Woocommerce
- Added Cron job option
- Fixed bugs
- Added new metals (10) support from metals api.