[Skip to main content](#vessel-content)

#   Base $ price on gold/silver price?

##

- **[jen168](/forum/user/8020-jen168 "View jen168's Profile")**
- [![jen168's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8020-jen168 "View jen168's Profile") Topic Author
- [ Offline](/forum/user/8020-jen168)

Less More

- Posts: 55
- Thank you received: 0
-
-

13 years 7 months ago [\#94840](#94840) by [jen168](/forum/user/8020-jen168 "View jen168's Profile")  *[Base $ price on gold/silver price?](/forum/2-general-talk-about-hikashop/79365-base-price-on-gold-silver-price#94840 "Hi, I presume that this functionality will require development, but maybe you can give me some advice in any case. I need to create prices in USD based on prices in XAU or XAG: eg, for a Silver...")* was created by *[jen168](/forum/user/8020-jen168 "View jen168's Profile")*

Hi, I presume that this functionality will require development, but maybe you can give me some advice in any case. I need to create prices in USD based on prices in XAU or XAG: eg, for a Silver American Eagle Coin, price is the silver spot price plus $5. What would be the simplest way to achieve this? Thanks ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzY1LWJhc2UtcHJpY2Utb24tZ29sZC1zaWx2ZXItcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 7 months ago [\#95069](#95069) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Base $ price on gold/silver price?](/forum/2-general-talk-about-hikashop/79365-base-price-on-gold-silver-price#95069 "Hi, I presume that this functionality will require development, but maybe you can give me some advice in any case. I need to create prices in USD based on prices in XAU or XAG: eg, for a Silver...")*

Hi,

You can create a new currency XAU or XAG via the menu System-&gt;Currencies and then enter the prices of your products in XAU or XAG.
Then, make sure that the USD currency is the "main currency" of the configuration of HikaShop and the system will convert the prices in XAU/XAG into USD and display the USD prices on the frontend. To do the conversion, it will require that you enter the rate of XAU/XAG when you edit then via the menu System-&gt;Currencies. So you simply need to update the rate there when it changes. Then, you can potentially build a script to update that rate value automatically based on the XAU/XAG rates on the markets. In that case you can look at how we coded the currency auto update plugin.

The following user(s) said Thank You: [jen168](/forum/user/8020-jen168 "View jen168's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzY1LWJhc2UtcHJpY2Utb24tZ29sZC1zaWx2ZXItcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jen168](/forum/user/8020-jen168 "View jen168's Profile")**
- [![jen168's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8020-jen168 "View jen168's Profile") Topic Author
- [ Offline](/forum/user/8020-jen168)

Less More

- Posts: 55
- Thank you received: 0
-
-

13 years 5 months ago [\#108257](#108257) by [jen168](/forum/user/8020-jen168 "View jen168's Profile")  Replied by *[jen168](/forum/user/8020-jen168 "View jen168's Profile")* on topic *[Base $ price on gold/silver price?](/forum/2-general-talk-about-hikashop/79365-base-price-on-gold-silver-price#108257 "Hi, I presume that this functionality will require development, but maybe you can give me some advice in any case. I need to create prices in USD based on prices in XAU or XAG: eg, for a Silver...")*

Hi,

Thanks for that, had to put it to one side for a while but getting round to working on that now. Just one thing... Can you please tell me where to find the auto update currency plugin? I can't find it anywhere in the plugins directory... Thanks ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzY1LWJhc2UtcHJpY2Utb24tZ29sZC1zaWx2ZXItcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 5 months ago [\#108259](#108259) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Base $ price on gold/silver price?](/forum/2-general-talk-about-hikashop/79365-base-price-on-gold-silver-price#108259 "Hi, I presume that this functionality will require development, but maybe you can give me some advice in any case. I need to create prices in USD based on prices in XAU or XAG: eg, for a Silver...")*

It's in the folder plugins/hikashop/rates on your website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc5MzY1LWJhc2UtcHJpY2Utb24tZ29sZC1zaWx2ZXItcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
