ZPT Metals

Description

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.

Features:
– Latest metals rate
– Shortcode to display latest/historical rates
– Rates in desired currency
– Cron job option ( Custom Settings )
– Support Woocommerce
– WC Product auto pricing for desired metal

Supported metals:
– Gold
– Silver
– Platinum
– Palladium
– Rhodium
– Ruthenium
– Copper
– Aluminum
– Nickel
– Zinc
– Tin
– Cobalt
– Iridium
– Lead
– 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
– Uranium
– STEEL-SC
– STEEL-RE
– STEEL-HR
– BRONZE
– MG
– OSMIUM
– RHENIUM
– INDIUM
– MO
– TUNGSTEN

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:

type
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”]

date-format
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”]

base
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=”2″]

price-round
Its optional to display desired digits after decimal. Possible value can be any of integer.
Example: [zpt-metals price-round=”2″]

date
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

Screenshots

  • Setup Metals plugin settings
  • Shortcode usage in editor
  • Shortcode resultant
  • Choose product to edit for auto pricing
  • Select auto pricing product data tab
  • Enable product auto pricing

Installation

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.

FAQ

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. Untill next run, plugin will serve saved rates from database to visitors.

Reviews

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.

Changelog

1.0

  • Initial release

1.1.0

  • Added new metals (17)
  • Added new attribute (carat) only for GOLD
  • Fixed bugs

1.2.0

  • Added Woocommerce support
  • Added Products auto pricing in product data tabs for woocommerce
  • Added Cron job option
  • Fixed bugs

1.2.1

  • Added new metals (10) support from metals api.