VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: marcop0n on April 13, 2020, 19:08:58 PM

Title: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 13, 2020, 19:08:58 PM
Hello and thanks,
What I need easy (I think).

Basically I need 2 prices for one product, 1 price (ex. 100 euros) and 2 price (120 dollars).
But the problem is that when I put the prices it takes the conversion rate, how can I put like I want?

Thanks.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: pinochico on April 13, 2020, 19:45:06 PM
if it was simple you wouldn't write here on the forum and you would have done it a long time ago: D

And how and where do you want them displayed?
If I wanted to show me two prizes, I programmed using override in the template, but that's not the only option.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 13, 2020, 20:16:05 PM
Hi,
In my cart I have 2 ways to pay, paypal and stripe.
The default currency is euros.
-If the user click in paypal the price must show in euros.
-If the user click in stripe the price must show in dollar.

Those two things are ok, but the problem is when chose stripe, the price displayed is dollars but it display the dollars with the automatic conversion rate.
I want to put the price for dollar anywhere with no conversion rate and this price display when when the user chose stripe.

Make sense??

Thanks.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: jjk on April 13, 2020, 21:32:31 PM
Not exactly what you are asking for, but consider to override the automatic exchange rate being used by entering '1.20000' into the Exchange rate field of the United States Dollar currency settings. This way the exchange rate is fixed to 1 Euro = 1.2 dollars.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: pinochico on April 13, 2020, 22:56:11 PM
Two prices by the product and fixed exchange rate in curency setup - I think is  that the way,
but it's still not clear :)
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: GJC Web Design on April 13, 2020, 23:03:27 PM
http://forum.virtuemart.net/index.php?topic=137634.msg482049#msg482049

pricesbyCurrency=1

then you can set individual currency prices for each product
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 14, 2020, 09:34:03 AM
Hi,
Thanks for you replies,
I put pricesbyCurrency=1 in the config file, then saved the config in administrator, but what is the difference, after it what can I see or what can I do in the products or where??

Thanks.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: GJC Web Design on April 14, 2020, 10:36:59 AM
set price per currency
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 14, 2020, 11:17:49 AM
Hi, please check the images and you can see that it doesnt work like I want.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 14, 2020, 11:18:19 AM
Hi, please check the images and you can see that it doesnt work like I want. SECOND PART
 
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: pinochico on April 14, 2020, 11:39:21 AM
Cart is not original VirtueMart
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 14, 2020, 14:07:46 PM
What do you mean????
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: pinochico on April 14, 2020, 14:33:03 PM
Cart is One page checkout.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: GJC Web Design on April 14, 2020, 17:01:12 PM
It may well not work as you want .. I have never had anyone request a system like yours  .. but we use fixed currency pricing on many sites
It works when the site currency is changed --
for your requirement I guess some bespoke coding is required but as pinochico mentioned  .. u should at least try with all 3rd party stuff disabled first..  for testing
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: marcop0n on April 14, 2020, 18:55:57 PM
mmmm, can I know where can I cancel or remove the conversion rate? in what file? what I need to do?

Thanks.
Title: Re: How to set prices in two currencies without using conversion rate?
Post by: pinochico on April 14, 2020, 22:43:59 PM
http://forum.virtuemart.net/index.php?topic=137634.msg482049#msg482049