News:

Looking for documentation? Take a look on our wiki

Main Menu

Price in two currencies

Started by Djirko, August 19, 2014, 16:54:36 PM

Previous topic - Next topic

Djirko

Hello,
EURO is coming to my country and for some period of time all shops will have to show prices in two currencies at the same time. I know that virtuemart has currency selector, but it doesnt meet the requirments and we need to show two prices at the same time for each product. I didnt find any extension or thread in this forum, which could help me solve this, so starting a new one. Maybe someone has a solution for this.

GJC Web Design

I guess your exchange rate will be relatively stable during the intro so just in your template over-rides multiply your current local currency prices by the rate and display..
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

Djirko

Quote from: GJC Web Design on August 19, 2014, 22:33:37 PM
I guess your exchange rate will be relatively stable during the intro so just in your template over-rides multiply your current local currency prices by the rate and display..
Yes, you are right, exchange rate will be stable during all this period. I understand how this can be achieved by modifing my template, but just theoretically. I lack some knowledge in programming, so maybe someone could help me with that. Basically i would need to modify few files where final price is displayed, right?
It would be like "finalprice" ("finalprice"/"fixed exchange rate"), right?

GJC Web Design

you just take the price you have  and multiply it by a factor that gives you the correct Euro price. Then echo it.

basic php
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