How to change the price of all the products with a constant variable according the weight of the products in wordpress?
<p>I want to change the price of the products according to the weight with a variable amount. Such as silver, as the price changes on day to day basis so the price will be calculated with the amount I insert for 1gm silver.
For example, a product is of <strong>300gm</strong> and the price for <strong>1 gm</strong> silver is <strong>2000</strong> bucks then <strong>300*2000 = 600,000 bucks</strong>. The silver price will change daily and the price will be calculated according to that for all the products. 
Is there any plugin available for that or if it is possible with some code change I can do that. Help me out with this issue.
Thanks</p>