This plugin enables you to sell gold products like jewelry based on the dynamic spot price from goldapi.io or manually enter and update the gold price for all products globally or per product.
The plugin adds :
- a new menu to your WordPress dashboard where you can add your API key, set a global gold price manually that matches your currency setting and update the price of gold for your products instantly
- single product page fields added to the General tab for simple products and variations where you can add the weight in grams, a optional markup percentage and extra fee
Here’s the screenshots showing the settings :
== Description ==
Dynamic Gold Price for WooCommerce Products allows you to automatically update product prices based on the current gold price. Perfect for jewelry stores and gold dealers, this plugin:
- Automatically updates product prices based on current gold prices
- Supports both simple and variable products
- Allows setting markup percentages at both product and category levels
- Updates prices daily or manually
- Uses the goldapi.io API for accurate gold prices
Configuration
= API Setup =
- Sign up for an API key at goldapi.io
- Go to Settings > Gold API Key in your WordPress admin
- Enter your API key and save
= Product Setup =
For individual products:
- Edit any WooCommerce product
- Enter the gold weight in grams
- Enter the markup percentage (optional if category markup is set). This can be set to 0.
- Enter a Fixed Extra fee ( optional ).
- Click Update Price Now or save changes and click the global update prices button
= Category Setup =
To set a default markup for all products in a category:
- Go to Products > Categories
- Create a new category or edit an existing one
- Enter the gold weight in grams
- Enter the markup percentage (optional if category markup is set). This can be set to 0.
- Enter a Fixed Extra fee ( optional ).
- Save changes and click the global update prices button
== Usage ==
The plugin works in the following way:
- Product prices are calculated using the formula:
Price = (Gold Price per Gram × Product Weight) × (1 + Markup Percentage)
+ Fixed Extra - Markup hierarchy:
- If a product has its own markup percentage set, that will be used
- If no product markup is set, the category markup will be used
- If neither is set, the product price won’t be updated
- Price updates:
- Automatic: Prices are updated daily
- Manual: Go to Gold API Key > Update Gold Prices to update prices immediately
Frequently Asked Questions
= How often are prices updated? =
Prices are automatically updated once per day. You can also manually update prices at any time through the admin interface.
= Can I set different markup percentages for different products? =
Yes! You can set markup percentages at both the product level and the category level. Product-specific markup takes precedence over category markup.
= Does this work with variable products? =
Yes, the plugin supports both simple and variable WooCommerce products.
= What if I don’t set a markup percentage? =
If no markup percentage is set (either at the product or category level), the product price won’t be automatically updated.
Usage
There’s 3 steps :
- Go to the Gold APi website, create an account and copy the api key from your dashboard.
- Paste the api key into the Gold API Key field and save
- On the single product edit screen, enter the weight and markup percentage, save changes.
The product price will update dynamically when you click the Update Gold Prices button.

Prices are dynamically updated on a daily basis by default.
Reviews
There are no reviews yet.