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

Price Display Format

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-25-2016, 08:56 AM
 
ethospar ethospar is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 7
 

Default Price Display Format

Greetings, running XC 5.2.10, fresh install using the "Digital" template/skin. By default, price displayed for all products everyone displays such as "$1000.00USD"

I want to change this to look like "$1,000.00 USD"

I could even do without the comma on the 1000's if it's too complicated. Just a simple space between the cents and the "USD" would be awesome. I've searched the forums, scoured code, not able to find where this can be altered. One simple space is driving me crazy!

Thank you for your time and attention.
__________________
XC5 5.2.10
Modules: Custom Skin, Digital Template, Color Schemes, Theme Tweaker
Reply With Quote
  #2  
Old 01-27-2016, 05:02 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Price Display Format

Store Setup -> Localization -> Currency
admin.php?target=currency

Format selector. That should deal with your comma problem.

Check the Prefix and Suffix, not sure what you have set there.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 01-27-2016, 05:23 AM
 
ethospar ethospar is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 7
 

Default Re: Price Display Format

Lol... thanks so much Guru. Stupid simple... I totally missed that currency tab under localization. Thank you so much for the reply!!
__________________
XC5 5.2.10
Modules: Custom Skin, Digital Template, Color Schemes, Theme Tweaker
Reply With Quote
  #4  
Old 01-27-2016, 06:11 AM
 
ethospar ethospar is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 7
 

Default Re: Price Display Format

Worked, except for spacing before the "USD" suffix. I add a space and save, system removes the spacer when saving.
__________________
XC5 5.2.10
Modules: Custom Skin, Digital Template, Color Schemes, Theme Tweaker
Reply With Quote
  #5  
Old 01-27-2016, 07:14 AM
 
ethospar ethospar is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 7
 

Default Re: Price Display Format

Simply adding a "space" using the space bar won't work for this. The solution is to add a blank character to the suffix field.

Hold down ALT then type 0160 (Alt+0160) on the number keypad at the right side of your keyboard.

Entering this blank character will give you "$0.00" USD instead of "$0.00USD" and the system does not remove it like it does a space.
__________________
XC5 5.2.10
Modules: Custom Skin, Digital Template, Color Schemes, Theme Tweaker
Reply With Quote

The following user thanks ethospar for this useful post:
totaltec (01-27-2016)
  #6  
Old 01-27-2016, 08:04 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Price Display Format

Great, glads it helped, and glad you figured out the space character. That little gem seems well hidden and counter intuitive that it would be under the heading localization. Not that I can think of a better place to put it...
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 01-27-2016, 09:26 AM
 
ethospar ethospar is offline
 

Newbie
  
Join Date: Jan 2016
Posts: 7
 

Default Re: Price Display Format

If I were a developer, I would change "Payment Methods" to "Payment Settings" and put the "Currency" tab under that section. On the other hand urrency is tied to Units and Formats though so it could be worse placement =) Thanks again for you help and hopefully this will help others searching for answers.
__________________
XC5 5.2.10
Modules: Custom Skin, Digital Template, Color Schemes, Theme Tweaker
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 05:07 AM.

   

 
X-Cart forums © 2001-2020