WooCommerce Precious Metals WooCommerce Precious Metals

Need to sell precious metals and automatically adjust metal prices?

Need to price your products based on their content of gold, silver, platinum or palladium?

 

WooCommerce Precious Metals gets the job done fast and efficiently by automatically downloading the current precious metal spot prices and adjusting the retail prices of your metal products. This greatly reduces your store pricing management and helps to protect against underpricing or overpricing your products.

Watch the video demo:

 

The plugin works for gold prices, silver prices, platinum prices, and palladium prices, and can be used with any form of metal sales, including coins, bars, bullion, jewelery, plated items, and more.

Here’s how it works: You create products, set the markup amount for each product, and assign the product to specific metal-related categories. With that done, the plugin automatically sets your retail prices based on the markup amount you define.

For example, lets say you’re selling 1 ounce US Gold Eagles, and you want the price of each coin to be spot price plus $50. Simply set your markup amount to 50 and you’re done. Or maybe you want to mark up the price by 10%. No problem, just set your markup amount to 10% and you’re done.

WooCommerce Precious Metals is absolutely the most powerful and feature rich precious metals solution available for WooCommerce.

 

Powerful Features
  • Set the metal spot pricing update interval to any interval you prefer
  • Set your markup as a percentage of spot price or a flat amount to be added to the spot price
  • Optionally add a second markup if you need to
  • Set your metal weight in grams or a troy weight ( such ounces, pounds, or kilograms ), or as pennyweight
  • Optionally define the metal purity in a product to help calculate prices
  • Optionally set a minimum product price in case metal prices fall too low
  • Optionally close your store when the London markets are closed so that no purchases can be made
  • Optionally cancel unpaid orders after any number of minutes
  • Optionally set a checkout page timeout so that if the contents of the cart isn’t paid for in a certain amount of time then the cart expires
  • Supports simple products, variable products, and grouped products
  • Display current metal spot prices in grams or ounces anywhere on your site using simple shortcodes
  • Display your “buy” prices anywhere on your site using a shortcode. This is helpful if you buy precious metals.
  • Display current metal spot prices on your site in grams or ounces using the included widget
  • Offers quantity volume discounts and charge different prices depending on payment method with our Precious Metals Discounts and Payment Fees add-on.
Plus, if you use “Close Store” feature you can define a custom page that a shopper is redirected to when your store is closed. Likewise, if you use the “Checkout Timeout” feature, you can define a custom page that a shopper is redirected to when their cart expires.

This plugin supports multiple live metal price feed sources. Review the information below for details.

 

Live Spot Price Feed Support

When you use WooCommerce Precious Metals you can choose from four live metal spot price feed sources:

IgniteWoo provides a free feed for precious metal spot prices, updated several times a minute. This plugin has built-in support for the feed. The spot price data is obtained directly from a highly reputable metal data supplier located in the USA. The feed supports gold, silver, platinum, and palladium. When you use this plugin you gain unlimited access to the feed data at no additional cost as long as your product license key is valid.

IgniteWoo’s metal feed supports 169 currencies, including all currencies supported by WooCommerce, which as of WooCommerce v4.0 are AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTC, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GGP, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IMP, INR, IQD, IRR, IRT, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRO, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PRB, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW.

XMLCharts.com offers a paid metal spot price feed that is updated several times per minute. XMLCharts.com supports the following currencies AUD, BRL, CAD, CHF, CNY, EUR, GBP, INR, JPY, MXN, RUB, USD, and ZAR. For the paid feed you must provide your own paid XMLCharts XML feed URL.

Fastmarkets.com offers customizable paid feeds. When using this extension with Fastmarkets be sure to read our documentation about how to have Fastmarkets design your feed.

Gold-Feed.com offers a paid feed and claims to support “any currency.” You must provide your own Gold-feed.com XML feed URL.

We are not affiliated with XMLCharts.com, Fastmarkets.com, or Gold-feed.com in any way and we have no control over their metal prices or their currency support. We cannot vouch for claims made by them.

Do you want to use a different feed that we don’t support yet? Contact us and let us know which feed provider you want to use, it’s entirely possible that we could add it for you!

Note that this plugin does not support sale prices for products.

Compatibility: WooCommerce 4.0 and newer

Latest version: 3.2.3

 

 

WooCommerce Precious Metals - Main Settings

We keep all of our software up to date with the latest versions of WooCommerce and WordPress.

If you don't see any recent changes below it's because none have become necessary!


Version 3.2.3 - May 1, 2024

	Roll back the new transient added in v3.2.2, functionality to be recoded a different way in a future release

Version 3.2.2 - April 29, 2024

	Added new filter to allow 3rd party code to determine if a product's price update should be skipped.
	
	Set new transient queueing_update when calling queue_updates to avoid multiple processes trying to queue updates at the same time

Version 3.2.1 - December 15, 2023

	Check to make sure the function "woocommerce_store_api_register_update_callback" exists before calling it
	
Version 3.2 - November 30, 2023

	Added new setting "Cart and checkout price updates" to auto update cart and checkout price display after X minutes
	
	Declare compatibility with cart and checkout blocks

Version 3.1.1 - October 25, 2023

	Added silver metal purity of .935, by customer request
	
	Added new filters to allow adding custom purities to the product metal purity settings.
		ignitewoo_metals_gold_purities
		ignitewoo_metals_silver_purities
		ignitewoo_metals_platinum_purities
		ignitewoo_metals_palladium_purities

	Ensure price value and adjustment value are floats before performing math with them
	
	Replace array_unique function call with custom code that handles multi-dimensional arrays to suit our needs
	
Version 3.1 - June 30, 2023

	Declare WooCommerce HPOS compatibility
	
	WooCommerce 7.8 compatibility
	
	Added support for external products
	
	Fix the "cancel orders" setting to ensure it retrieves the GMT timestamp from the order for comparison to time

Version 3.0.21 - May 16, 2023

	New: Added the shortcode parameter of "auto_update" for the [ign_metal_price_ajax] shortcode, allow automatic spot price display updates via Ajax
	New: Added filter to allow 3rd party code to return spot prices when updating metal product prices
	New: Cause Ajax shortcode to display a price upon page load while it awaits the Ajax request to complete

Version 3.0.20 - March 23, 2023

	Added new hook for displaying additional information next to "Markup 1" field

Version 3.0.19 - March 9, 2023

	Added additional instance of the filter hook "ign_metal_price"
	
Version 3.0.18 - March 6, 2023

	Alter SQL query related to "Cancel unpaid orders" to only query for orders with a status of "Pending payment."
	
	Make the "Cancel unpaid orders" setting disable by default.
	
	Added new action hook "metal_spot_prices_updated"
	Added new action hook "ign_metal_spot_prices_data"
	Added new filter hook "ign_metal_product_cost"
	Added new filter hook "ign_metal_price"

Version 3.0.17 - November 19, 2022

	Round price change difference to 3 decimals places when calculating against those settings, avoids PHP math issue.

Version 3.0.16 - September 29, 2022

	Added new filters to adjust currency and spot prices

Version 3.0.15 - September 20, 2022

	Correct the price history value when storing the history for each metal type

Version 3.0.14 - August 21, 2022

	When cancelling unpaid orders do not process orders in the trash/bin.

Version 3.0.13 - August 10, 2022

	Store gold-feed.com prices in grams
	
Version 3.0.12 - August 9, 2022

	Additional EUR currency support for gold-feed.com

Version 3.0.11 - August 8, 2022

	Get markup2 amount from child_id of the variation when processing variable products
	
	Add EUR currency support for gold-feed.com

Version 3.0.10 - June 10, 2022

	When querying for metal product also check for posts with a status of "future"

Version 3.0.9 - March 3, 2022

	Ensure 21K purity for gold can be set in the product 
	
	Allow decimal in negative markup amounts for the "ign_metal_buy_price" and "ign_metal_price" shortcodes

Version 3.0.8 - February 16, 2022

	Fix admin message dismissal URL for "dismiss_metal_notice" 
	
	Ensure metal purity is passed into the add_markup function

Version 3.0.7 - January 26, 2022

	New feature: Setting to allow automatically refreshing a single product page [on the public frontend, in the browser window] when the price has changed
	
	Updated logging to show each product's new price when updating prices, and to create a log entry if a product is skipped due to a missing setting
	
	Check each product's metal weight type setting and use it unless it's empty in which case use the WC weight type
	
Version 3.0.6 - June 18, 2021

	Adjust math to not reduce spot price if a purity of .99999 is selected for a product's metal type
	
	Added code for sites that use WP Rocket cache plugin to flush the page cache for each product when the price changes

Version 3.0.5 - May 6, 2021

	Added 21K purity for gold as a product option

	New filter "ignitewoo_metals_skip_update_for_item" to determine whether to skip updating a given product
	
	New filter "ignitewoo_metals_widget_price" for the widget metals prices, helpful to integrate currency switchers
	
	New filter "ignitewoo_metals_shortcode_price" for the widget metals prices, helpful to integrate currency switchers
	
	New shortcode attribute "type" to define which price to show ["bid" or "ask"], but only functional when using IgniteWoo's metal feed

	New shortcode attribute "decimals" to use for shortcodes, used for rounding the prices. Default is 2.
	
	For the checkout timeout check the metal type in the product if product categories are not set for the product

	Added extra debug messaging output when logging is enabled and a connection error occurs when connecting to the metals API endpoint
	
	Filter product query result IDs through array_unique after the queries used to find products to update 
	
Version 3.0.4 - August 31, 2020

	Ensure metal purity saves when .986 is selected

Version 3.0.3 - August 6, 2020

	Moved the Ajax shortcode JS into its own file, "localized" the JS params

Version 3.0.2 - August 3, 2020

	Updated the Ajax shortcode to allow multiple instances for the same metal in the same page

Version 3.0.1 - July 1, 2020

	Updated the Ajax shortcode to work when multiple instances are in the same page
	
	Ensure Ajax shortcode request is processed for non-privileged users

Version 3.0 - June 3, 2020

	Added new shortcode to display metal spot prices via Ajax
	
	Added new background updater
	
	Added new setting to allow manually setting spot prices
	
	Corrected shortcode processing for negative markup percentages
	
	Ensure JS for getting metal price via shortcode is returned instead of being echoed
	
	License key must now be configured regardless of which feed is being used

Version 2.7.13 - May 29, 2020

	Added new shortcode to display buy prices

Version 2.7.12 - May 21, 2020

	Ensure product queries run when categories are not set in the main settings since metal type can be set in the product itself
	
	Added new setting, "do not update when markets are closed", true by default.

Version 2.7.11 - April 5, 2020

	Added new attribute to the shortcodes to allow setting the metal purity

Version 2.7.10 - March 31, 2020

	Added setting to allow adjust spot price to compensate for currency conversion

	Ensure metal categories are configured in the settings before running SQL queries

Version 2.7.9 - March 20, 2020

	Added hook to allow developers to add their own 3rd party metals feed. Contact IgniteWoo support to learn how to use the hook.

Version 2.7.8 - February 18, 2020

	Moved the progress tracking of the "last ID processed" to the end of the loop - e.g. after a product is completely updated

Version 2.7.7 - January 7, 2020

	Updated the CRON related code and the related "GET" parameter check

Version 2.7.6 - December 20, 2019

	Filter term ID array before querying
	
	Added new setting to allow running price updates via CRON

Version 2.7.5 - August 7, 2019

	Use WC product methods to set product prices so that 3rd party plugins can take action when a product is updated
	
	Added action hook to allow 3rd party developers to take action when a metal product price is updated. Hook name is "ignitewoo_metals_product_price_updated"

Version 2.7.4 - February 5, 2019

	Ensure metal price shortcodes support prices in kilograms
	
	Format number for metal price shortcodes using separators configured in WC
	
	Allow shorthand "oz" and "kg" for metal price shortcodes weight parameter

Version 2.7.3 - December 6, 2017

	Updated FastMarkets XML processing
	
	Allow configuring metal type via a product setting 
	
	Allow thresholds to determine when products are updated
	
	Updated sync'ing prices for variations of a variable product on WooCommerce 3.x
	
Version 2.7.2 - September 20, 2017

	Make metal names translable in the widget

Version 2.7.1 - July 8, 2017

	Adjusted rounding for FastMarkets feed

Version 2.7 - May 8, 2017

	Added support for metal feeds from FastMarkets.com. 

Version 2.6.28 - April 6, 2017

	WooCommerce 3.0 compatibility

Version 2.6.27 - March 28, 2017

	Updated feed URL checking

Version 2.6.26 - February 15, 2017

	Updated price formatting to ensure no thousands separator is used
	
	Tweak second markup field to ensure it only adds a flat amount once if the first markup is also a flat amount

Version 2.6.25 - February 5, 2017

	Added additional price markup 

Version 2.6.24 - January 2, 2017

	Adjusted non-US and non-EU currency formatting to omit currency type text [e.g. USD, EU, etc]

Version 2.6.23 - November 11, 2016

	Fixed a typo

Version 2.6.22 - November 10, 2016

	Updated category processing for products

Version 2.6.21 - September 6, 2016

	Updated variation purity setting

Version 2.6.20 - August 12, 2016

	Replace CURL and SimpleXML connections with the WP HTTP library to get the remote feeds

Version 2.6.19 - July 11, 2016

	Updated variable names for shortcode output

Version 2.6.18 - June 25, 2016

	Updated to support WooCommerce 2.6 settings infrastructure
	
	Updated shortcode to format numbers to 2 decimal places when the decimal number ends in zero

Version 2.6.17 - April 26, 2016

	Updated action and filter hooks for 3rd party plugins to use

Version 2.6.16 - March 14, 2016

	Add filters and actions to allow 3rd party plugins to add metal related fields to the product editor, and to intercept metal price calculations before the price is updated but after the calculation has been performed.
	
	Added setting to control whether spot prices displayed in the product edit screen are show in grams or troy ounces

Version 2.6.15 - March 2, 2016

	Adjusted currency testing to avoid displaying unnecessary messages in the admin area of WordPress

Version 2.6.14 - February 8, 2016

	Added new setting to optionally allow for a minimum product price for metal products.

Version 2.6.13 - January 20, 2016

	Ensure child categories are considered when querying for products to update

Version 2.6.12 - November 12, 2015

	Tweaked admin settings for metal purity settings
	
	Tweaked processing for retrieving metal purity settings when updating prices

Version 2.6.11 - November 12, 2015

	Corrected a typo in the new pennyweight calculation

Version 2.6.10 - November 11, 2015

	Surpress warning message when a product is not assigned to any categories
	
	Fixed function call in the new admin class file

Version 2.6.9 - November 10, 2015

	Added pennyweight setting as a metal weight selection

Version 2.6.8 - November 6, 2015

	Fixed function call in the new admin class file

Version 2.6.7 - November 4, 2015

	Added new widget to display spot metal prices
	
	Added metal purity setting for all metal types
	
	Added silent progress tracking for sites with very large numbers of metal products
	
	Moved admin-related code out of core plugin file

Version 2.6.6 - September 16, 2015

	Adjusted SQL queries to use far less memory when updating all products
	
	Adjusted category processing to run faster 
	
	Added code to address updating one single product to improve performance in the admin area
	
	Added check to enforce the update interval to be 30 seconds or greater

Version 2.6.5 - September 2, 2015

	Updated metal weight checking for individual products when updating prices

Version 2.6.4 - June 22, 2015

	Changed hooked priority
	
Version 2.6.3 - May 27, 2015

	Tweaked settings to avoid having metal category choices reset

Version 2.6.2 - May 17, 2015

	Backward compat for PHP 5.4 and older

Version 2.6 - May 13, 2015

	Added support for a metal feed from IgniteWoo
	
	Adjusted price calculations

Version 2.5.7 - May 12, 2015

	Updated shortcodes to support grams and ounces

Version 2.5.6 - April 23, 2015

	Replace missing function

Version 2.5.5 - April 14, 2015

	Prevent automatic order cancellation when working in the admin area
	
	Ignore orders in the trash when cancelling order

Version 2.5.4 - April 8, 2015

	Updated new weight setting detection code
	
Version 2.5.3 - March 25, 2015

	Fixed bug in expiration of orders

Version 2.5.1 - March 12, 2015

	Minor tweak to connectivity

Version 2.5 - September 18, 2014

	WooCommerce 2.2 compatibility

Version 2.4.7 - May 12, 2014

	Don't empty cart if there are no metal products in the cart

Version 2.4.6 - April 23, 2014

	Changed the algorithm for calculating prices

Version 2.4.5 - April 17, 2014

	Tweaked price processing
	
	Tweaked settings adjustments

Version 2.4.4 - April 14, 2014

	Updated to convert a troy ounce to grams

Version 2.4.3 - April 11, 2014

	Removed free feed URL for gold-feed.com. The company has decided that it no longer wants to offer free feed access

	Fixed calculation methods and variable references

Version 2.4.1 - April 1, 2014

	Fixed bug with gold-feed.com currency
	
	Fixed bug with new refactored code in relation to weight and price calcs

Version 2.4 - March 30, 2014

	Major update: 
	
	Refactored code and added support for variable products! NOTE: Variations must all contain the same metal type as the parent product or your prices will be way off.

	Reinstated free gold-feed.com URL mistakenly removed in the previous update
	
	Added missing language translation capabilities for some strings
	
	Add new shortcodes for metal price display
	
	Removed rounding of metal prices obtained from the feed. 
	
	Plugin now uses the default free feed URL for whichever provider you choose in the settings if you leave the URL field empty
	
Version 2.3.4 - March 25, 2014

	Mistakenly updated description and documentation to state that you must purchase a subscription if you use Gold-Feed.com -- this is not the case. Corrected in v2.4.x

Version 2.3.3 - February 27, 2014

	Disallow redirects if the settings haven't been set yet
	
	Added hidden section input for settings processing

Version 2.3.2 - February 27, 2014

	Updated hook firing order

Version 2.3.1 - February 12, 2014

	WooCommerce 2.1 compatibility
	
Version 2.3 - December 31, 2013

	Added support for Gold-Feed.com

Version 2.2.2 - September 10, 2013

	Updated timer and URL settings. You MUST use the live feed from XMLCharts and it must be in XML format

Version 2.2.1 - June 18, 2013

	- Adjust weight calculations to adhere to Troy ounce measurements
	
Version 2.2 - June 16, 2013

	- Adjusted category detection to be more broad
	
Version 2.1 - May 7, 2013

	- Initial public release

Version 2.0 - April 30, 2013

	- Major updates and new features added

Version 1.0 - April 2, 2013

	- Private development and use

Ask a Question:

 

From: 349.00 / year

Automatically adjust product prices based on the current spot price of of gold, silver, platinum or palladium.

All of our plugins come with great support via email and phone.

Subscription options

A subscription entitles you to 1 year of updates and support. Each individual web site requires a license key, so choose the right license for your needs.

Clear