News:

Support the VirtueMart project and become a member

Main Menu

How to set another currency for a specific product?

Started by d0ublezer0, November 06, 2014, 08:42:36 AM

Previous topic - Next topic

d0ublezer0

I want for some products have another currency, instead of the base currency of my shop.
Base currency is RUR (Russian Rouble), I've setup preferred currency for some products as Euro:

But VM still converts it to RUR.
In Euro currency i've set convert rate as 1, so now rur=euro (as you see on screenshot), but store still displays RUR sign instead of Euro sign on this product.
I use these code for display price in default_showprices.php:
echo $this->currency->createPriceDiv ('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->product->prices);

This is store currency settings:


It is possible?


VM 2.6.12

Milbo

in the setting above you say to vm that the price is in euro.
All prices are first calculated to the currency of the shop and then to the selected currency. The value in the shop currency are used to calculate the payment currency.

I understand that you want to force your customers to pay this product in Euro. At the moment you can do it by different payments.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/