News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Change thousands products currency at once, according to specified exchange rate

Started by AzMandius, December 22, 2015, 10:44:23 AM

Previous topic - Next topic

AzMandius

Hello,
I currently have thousands of products in euro. I use only one currency in my shop.
I am about to move my shop to a different country where USD are only used. I would like to switch shop from euro to USD completely, no multi-curency selection on front-end. Creating a US dollars currency in virtuemart is not hard, but going through each product manually and changing product currency from euro to USD, considering that i have thousands of items, is insane.
My question is: is there a plugin or SQL command that would allow me to change currency for all products at once from euro to USD according to a specified exchange rate?
Thanks a lot and holiday greetings everyone.
AzBlog.me | Mentally healthy content & lnks.

jenkinhill

On the Shop/Vendor tab change the shop currency to USD. The existing cost prices in the BE will show the price in Euro, but is converted into USD for other BE prices and display n USD on the front end.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

but your product price will need to change as well or are u keeping a 1:1 €->$ price ?

then just in the xxxx_virtuemart_product_prices .. backup first

UPDATE `xxxx_virtuemart_product_prices` SET `product_currency`= 144
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

The product prices are automatically converted to the USD prices according to the exchange rates - which may change daily. I have used this for a client store where he buys almost all products in Euros, but retails only in GBP. He just has to enter the Eu cost price when entering products and VM does the conversions. Or for products bought in GBP he sets the cost currency for that product to GBP.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

AzMandius

Quote from: GJC Web Design on December 22, 2015, 11:09:24 AM
but your product price will need to change as well or are u keeping a 1:1 €->$ price ?
No, unfortunately is not 1:1, so i guess I'll experiment with jenkinhill's suggestion.
Thank you guys :) I'll get back as soon as I'll complete the change.
AzBlog.me | Mentally healthy content & lnks.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AzMandius

Thanks a lot everyone, jenkinhill your advice worked perfectly.
Regards.
AzBlog.me | Mentally healthy content & lnks.