News:

Looking for documentation? Take a look on our wiki

Main Menu

A question

Started by ainweb2009, April 11, 2010, 16:15:29 PM

Previous topic - Next topic

ainweb2009

Dear friends, i'm looking for all forums and not find a solution to this problem os comment, i'm doing a shop online with virtuemart 1.1.4 and joomla 1.5.15 and want articles appear these currencies, points and euros, the currency default is points and you want when selections euro will make the conversion. The formula serious: Price Euros = points*0.525
Nose where perform this adjustment in virtuemart, having that i can discuss.
A greeting.

richsung

In your case, I'd just create a new currency called Points, and allow the user to select to display product prices in either Euros or Points (use the VM module called "mod_virtuemart_currencies"). Then, since this exchange rate will be fixed, you could put a small change in class file convertECB.php to check if the conversion is being done to or from the points currency, and use your formula then.

--Rich