X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Change currency symbol position when using product price modifier option (https://forum.x-cart.com/showthread.php?t=25094)

HumanNature 09-20-2006 04:22 AM

Change currency symbol position when using product price modifier option
 
1 Attachment(s)
Dear All,

I have edited currency.tpl to show prices this way -> 300─ instead of ─300

Everything in the whole cart is working fine but when I use product price modifier, the price in the full view of the item is still showing like ─300.

I▓ve been trying to find which template do I have to edit to change this but I don▓t find it.

Can you help me?

Thanks!

dragos 10-30-2006 10:03 AM

Re: Change currency symbol position when using product price modifier option
 
If you still have this problem here it is how i solved it:
in File: /modules/Product_Options/func.js
change from
Code:

/* Update price */
    if (document.getElementById('product_price'))
        document.getElementById('product_price').innerHTML=currency_symbol+price_format(price);

to
Code:

/* Update price */
    if (document.getElementById('product_price'))
        document.getElementById('product_price').innerHTML = price_format(price)+currency_symbol;


mixail 12-10-2006 03:39 AM

Re: Change currency symbol position when using product price modifier option
 
Thank You for the sollution :)

Just in X-cart 4.0.19 is in ..skin1\modules\Product_Options\check_options.tpl

BR


All times are GMT -8. The time now is 02:01 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.