View Single Post
  #24  
Old 06-02-2012, 12:30 PM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default Re: Currency image instead of INR

@xtech - you have a custom work, for sure something happened with your DB or files.

1) Could you use Webmaster Mode and check what file is loaded for primary currency? Moving your mouse pointer in Debug window over template file names you will see a border surrounding your currency. Once you find the right file upload it here. I uploaded for you currency.tpl from original. Backup your file in [XC_Dir]/skin/common_files and replace with this one. Clear cache and reload your front-end.

2) Your currency symbol and format is stored inside the DB in [xcart_config] table: currency_symbol and currency_format fields. Check values for them. For example in my case currency_format = $x and currency_symbol = $.

3) Maybe you could have a problem with characters type like UTF-8? You are Indian, I am not sure it could be this, but who knows. Seeing your source code here is the type character you set:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Attached Files
File Type: tpl currency.tpl (643 Bytes, 63 views)
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote