Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Removing Decimals from Prices

    I'd like to remove the decimals from the price (all items in my stores are priced at whole dollars). Any ideas on how to modify it? - Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Removing Decimals from Prices

    If you set the Currency decimal to 0 ...

    But ... shipping will also change and I am not sure off hand the effect of rounding etc. when things are not addressed for this 100% ...

    You may need to adjust your shipping modules ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Removing Decimals from Prices

    Due to shipping and discounts etc. is there any reason not to show the prices as $XX.00?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Oct 2005
    Location
    Swansea, MA
    Posts
    30
    Plugin Contributions
    0

    Default Re: Removing Decimals from Prices

    I actually prefer no decimals too .............. I guess its just a preference.

    To me, its just a cleaner look. I will have to see what it does to my shipping though. LOL.
    My goal? To be Totally Zenned!

  5. #5
    Join Date
    Sep 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Removing Decimals from Prices

    hi all.
    Maybe is a stupid question. Sorry, but how can I change Currency decimal to 0. Where is this option? I the Admin Panel? Where?
    Thanks

  6. #6
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Removing Decimals from Prices

    Does anyone know if it's possible to remove the decimals from the price, but only if they are zero?

    For example...

    £29.95 would display as £29.95
    £29.00 would display as £29

  7. #7

    Default Re: Removing Decimals from Prices

    Quote Originally Posted by Alex Clarke View Post
    Does anyone know if it's possible to remove the decimals from the price, but only if they are zero?

    For example...

    £29.95 would display as £29.95
    £29.00 would display as £29
    Sorry for bumping such an old thread but I would also like to remove the unnecessary .00 from prices (specifically for shipping prices in my case but wouldn't mind this being applied to all prices in my store).

    I would assume some sort of if else element needs to be added to a currency related file but I don't know where to start with this one.

    Help would be great, thanks.

  8. #8
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Removing Decimals from Prices

    Did anybody ever figure out how to do this? I'd like to remove the decimals when the change is .00 as well.

 

 

Similar Threads

  1. Removing decimals charges the change?
    By swamyg1 in forum Basic Configuration
    Replies: 13
    Last Post: 16 Oct 2012, 05:05 PM
  2. low prices and decimals
    By procella in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 12 Aug 2009, 07:41 PM
  3. Prices, decimals, rounding and checkout
    By ErikAllan in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 Apr 2009, 04:47 PM
  4. Removing Prices from Sidebar
    By bailiegirl in forum General Questions
    Replies: 7
    Last Post: 30 Jan 2009, 07:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR