VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: d0ublezer0 on November 06, 2014, 08:42:36 AM

Title: How to set another currency for a specific product?
Post by: d0ublezer0 on November 06, 2014, 08:42:36 AM
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:
(http://f6.s.qip.ru/LHJwjtXY.png)
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:
(http://f5.s.qip.ru/LHJwjtXZ.png)

It is possible?


VM 2.6.12
Title: Re: How to set another currency for a specific product?
Post by: Milbo on November 12, 2014, 14:27:36 PM
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.