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)
-   -   Currency image instead of INR (https://forum.x-cart.com/showthread.php?t=63005)

xtech 03-19-2012 12:57 AM

Currency image instead of INR
 
Hi,
I have a x cart pro based store in 4.4.2.I have INR in primary currency and USD as secondary currency.I want to show currency image in every price field.How to give currency image in Every price fields?

Kindly help me...

Thanks to all.

totaltec 03-19-2012 05:04 AM

Re: Currency image instead of INR
 
xtech,
looks like I found your thread. Can you point us to a page where you want to display the currency symbol and it is not currently displaying? Give us all the info you possibly can.

xtech 03-20-2012 02:40 AM

Re: Currency image instead of INR
 
Hi Mike,

I have a site http://buywink.com/st/home.php (Not live).Here My primary currency is INR and secondary currency is USD.

I want to display (For ex-Our price: INR495.00) Instead of INR I want to show indian currency image in each price field either in invoice or in market price or in our price options.

That is I want to show indian currency image in place of INR.

How to achieve that?

I want your help.

totaltec 03-20-2012 07:07 AM

Re: Currency image instead of INR
 
xtech, I may be overlooking something obvious, I tried to visit your page to see how the currency is currently displayed, and I could not see it anywhere. The menus appear to be unfinished or broken.

I assume you may already know about Settings > General Settings > General Parameters (third section on General Settings page) Primary currency symbol

What do you have set there?

xtech 03-21-2012 02:32 AM

Re: Currency image instead of INR
 
Hi Mike,
I have attached a screen shot and I want to show currency in Our price,market price and all price field.http://www.health-shoppe.com/FINAL/raw.jpg

xtech 03-21-2012 04:06 AM

Re: Currency image instead of INR
 
Hi Mike,

Another problem in cart functionality.If I add minicart in header and add product to cart then though the product is added to cart but it is displaying cart is empty you can test it in my site.But after page refresh the different color of the bag is coming and cart is empty is removed.

I have attached a screenshot to see the exact problem-

http://www.health-shoppe.com//FINAL/Cart-1.jpg

http://www.health-shoppe.com//FINAL/Cart-2.jpg

What is the issue? Kindly help me...

cflsystems 03-21-2012 08:54 AM

Re: Currency image instead of INR
 
XC uses ajax to update minicart. When you moved it to header you probably broke the minicart css style classes originaly used which will result in ajax not being able to update minicart. You should keep the minicart structure intacked with its original styles

cherie 03-21-2012 02:16 PM

Re: Currency image instead of INR
 
Have you tried using "& #8377;" (no spaces) for the currency symbol?

₹.02

xtech 05-24-2012 11:11 PM

Re: Currency image instead of INR
 
Quote:

Originally Posted by cherie
Have you tried using "& #8377;" (no spaces) for the currency symbol?

₹.02


Where to add?

ADDISON 05-25-2012 12:00 AM

Re: Currency image instead of INR
 
totaltec already told you how to solve this issue. you should read the manual about primary and alternative currency to understand how to set the symbols and where. cherie offered you the symbol, just use it.

"I assume you may already know about Settings > General Settings > General Parameters (third section on General Settings page) Primary currency symbol

What do you have set there?"

Quote:

Originally Posted by xtech
Where to add?


ADDISON 05-25-2012 12:05 AM

Re: Currency image instead of INR
 
about mini-cart module. you made changes in your template. Just giving you one, when I push Add Cart button nothing happening. But the script adds the product to cart. Original behavior with that animated gif, message Added over the button you should leave it as it was. Assume you are a customer push the button and no pop-up window, no message. You also changed the mini cart template to show information about products inside when not collapsed. As an advice all changes I make inside the script I write them in a file, with date and comments I did in file for easy finding. If something is going wrong I know how to undo the changes. Working with out of box shopping carts you must have a discipline in changes and knowing everything any moment.

totaltec (mike white) has a great video tutorial about changing templates. follow his advice not altering common_files. personally I created one without using anything from common_files, just made a clone of the whole directory and used it separately. mike explains this in his tutorial. in this way you will protect the original files, when a problem appears you will know where to search

xtech 05-25-2012 12:13 AM

Re: Currency image instead of INR
 
Quote:

Originally Posted by am2003
totaltec already told you how to solve this issue. you should read the manual about primary and alternative currency to understand how to set the symbols and where. cherie offered you the symbol, just use it.

"I assume you may already know about Settings > General Settings > General Parameters (third section on General Settings page) Primary currency symbol

What do you have set there?"


Hi am2003,

I have set Primary currency symbol INR

Thanks.

xtech 05-25-2012 01:12 AM

Re: Currency image instead of INR
 
HI am2003,
I cannot get any image after adding "& #8377;" as suggested by cherie.How to get indian currency symbol in price?

ADDISON 05-25-2012 01:35 AM

Re: Currency image instead of INR
 
you can edit directly inside the template using that symbol or using your own image (html tag <img />.

Quote:

Originally Posted by xtech
HI am2003,
I cannot get any image after adding "& #8377;" as suggested by cherie.How to get indian currency symbol in price?


xtech 05-25-2012 01:39 AM

Re: Currency image instead of INR
 
Hi am 2003,
In which tpl file and where for Artistictune business theme in 4.4.2 pro?

ADDISON 05-25-2012 02:58 AM

Re: Currency image instead of INR
 
Use [Webmaster Mode] to find the right template file. This tool should become your best friend working with XC.

Normally the files should be located in skin/common_files.

cherie 05-25-2012 07:49 AM

Re: Currency image instead of INR
 
When I put the code in the Primary Currency Symbol box in General Settings (without spaces) it works fine.

buywink 05-28-2012 12:42 AM

Re: Currency image instead of INR
 
Hi Cherie,

After adding this code it displays this-

http://buywink.com/screenshots.jpg

cherie 05-28-2012 08:35 AM

Re: Currency image instead of INR
 
It displays fine on a Mac. Looks like you'll need to change the font to one that supports those unicode characters on Windows, such as Arial Unicode MS:

http://en.wikipedia.org/wiki/Unicode_and_HTML#Web_browser_support

buywink 05-29-2012 02:39 AM

Re: Currency image instead of INR
 
Hi,
I do not understand please clarify.If I want to see in windows with Mozila firefox in browser.What exactly to add in currency settings?

Thanks.

totaltec 05-29-2012 05:29 AM

Re: Currency image instead of INR
 
I believe that Cherie is suggesting that you change the font.
Code:

table.product-properties .product-price-value {
color:
#B51A00;
font-weight: bold;
font-size: 12px;
font-family: verdana;
white-space: nowrap;
}

Try a different font like Arial.

buywink 05-31-2012 11:09 PM

Re: Currency image instead of INR
 
Hi,
Mike no luck....

xtech 06-02-2012 09:41 AM

Re: Currency image instead of INR
 
Quote:

Originally Posted by totaltec
I believe that Cherie is suggesting that you change the font.
Code:

table.product-properties .product-price-value {
color:
#B51A00;
font-weight: bold;
font-size: 12px;
font-family: verdana;
white-space: nowrap;
}

Try a different font like Arial.


Hi Mike,
Cannot get any Indian Currency Symbol.How to get?Thanks..

ADDISON 06-02-2012 12:30 PM

Re: Currency image instead of INR
 
1 Attachment(s)
@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" />


All times are GMT -8. The time now is 12:21 PM.

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