[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Converting currency, Irish to US
****** message to minivend-users from jojo@buchonline.net ******
On 16 Feb, Derek Vinke wrote:
> ****** message to minivend-users from Derek Vinke <derek@ciarrai.net> ******
>
> I'm relatively new to minivend, but I have been doing what I think is
> pretty good so far. But I cant figure out how to convert Irish punt to
> US dollar. I've looked at the archives but it doesnt quite make sense
> to me. Any help would be greatly appreciated.
>
> I have all my prices for jewelry in Irish punt but the rest of my goods
> are in US dollars. I need to convert to USD and then used for all the
> calculations involving prices.
>
> Also I was wondering if anyone had a way to automatically input currency
> rates daily, so that no one would have to input something manually every
> time the rates changed.
In your first page:
[set name="IRSIH_TO_USD" interpolate=1]1.2345[/set]
In any page with any price:
Fetch any mv tag with price like ([item-price], [item-dicsount],
[subtotal], etc.)
[set name="pricetousd" interpolate=1][item-price noformat=1][/set]
[currency][calc][scratch pricetousd]*[scratch IRISH_TO_USD][/calc][/currency]
Regards,
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list