![]() |
How to change the position of alternative currency symbol
How to change the position of alternative currency symbol? ( i need the symbol after the price, like - 100$m not $100)
Thanks in advance! |
Re: How to change the position of alternative currency symbol
Try editing /skin1/customer/main/alter_currency_value.tpl
I would start with this code: Code:
<span style="WHITE-SPACE: nowrap">{/if}{$config.General.alter_currency_symbol} {math equation="altercurrencyvalue*rate" altercurrencyvalue=$alter_currency_value rate=$config.General.alter_currency_rate format="%.2f" assign=alter_price}{$alter_price|formatprice}{if $plain_text_message eq ""}</span> Upon quick examination, would you make it look like this? Code:
<span style="WHITE-SPACE: nowrap">{/if}{math equation="altercurrencyvalue*rate" altercurrencyvalue=$alter_currency_value rate=$config.General.alter_currency_rate format="%.2f" assign=alter_price}{$alter_price|formatprice}{$config.General.alter_currency_symbol} {if $plain_text_message eq ""}</span> Does this work? (basically taking the {$config.General.alter_currency_symbol} and moving it to after the formatted price) -- ? I don't use alt curr symbol, so I'm just thinking out loud. Let me know if this works for you. Jeremy |
Re: How to change the position of alternative currency symbol
Ok, this works. Thank you.
Is it possible to change the places of primary currency and alternative currency? Paypall allow me to pay only in euro, but here in Bulgaria the official currency is BGN. |
Re: How to change the position of alternative currency symbol
Look in product.tpl and other templates where the price is displayed... you will see where it gets and formats the price (from other templates)... you should be able to manipulate what is displayed by messing with these templates. Make sure you have backups before you do anything.
|
Re: How to change the position of alternative currency symbol
Ok, now i change the position - first is alternative currency, secind is primary currency( so people can see the price in euro if decide ti pay through pay pal)
but now look strange if is filled market price Market price: euro Our price: Bulgariana leva ,( Euro) how to convert market price to be shown in alternative currency? |
Re: How to change the position of alternative currency symbol
Quote:
I want to implement this too but I don╢t know in which templates I must make the changes? could you help me? Thank you in advance. Diana X-Cart version 4.0.19 |
Re: How to change the position of alternative currency symbol
Quote:
Ah... that's why you must learn how to use webmaster mode. Otherwise, you won't get too far. |
All times are GMT -8. The time now is 11:55 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.