Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change currency symbol position when using product price modifier option

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-20-2006, 04:22 AM
  HumanNature's Avatar 
HumanNature HumanNature is offline
 

Member
  
Join Date: Aug 2006
Posts: 26
 

Default Change currency symbol position when using product price modifier option

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!
Attached Thumbnails
Click image for larger version

Name:	errorcurrency.JPG
Views:	165
Size:	15.2 KB
ID:	91  
__________________
X-Cart 4.1.5
PHP 4.3.9
Mysql 4.1
VPS CentOS 4.2
Mods: Too much...
* Moving to 4.1.8 and to a dedicated server *
Reply With Quote
  #2  
Old 10-30-2006, 10:03 AM
 
dragos dragos is offline
 

Advanced Member
  
Join Date: Aug 2006
Posts: 97
 

Default 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;
__________________
X-Cart 4.1
*NIX
Reply With Quote
  #3  
Old 12-10-2006, 03:39 AM
  mixail's Avatar 
mixail mixail is offline
 

Newbie
  
Join Date: Nov 2006
Posts: 4
 

Default 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
__________________
mixail
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020