You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Hi
This may be simple but I just can find it at the moment in the management area. Hoping someone else has had the problem and knows the fix.
All of my proces are currently showing as whole numbers.
For example, if a product costs 10.25, it is showing as 10
How can I make the cents appear at the end?
Thanks
Glenn
Offline
nudge...
Anyone got any ideas?
Offline
The only things I have changed is the skin (I think)....
I have no idea what I could have changed to make all my decimals disappear. I have gone through everything again this morning and still can't figure it out.
Offline
Do you have a URL available where we can see the problem?
Offline
Hey Dave
Go to: http://www.erotica.ie/shop
Thanks
Glenn
Offline
After browsing around a bit all of the prices I see have a decimal point though all of the things I looked at had .00 (nothing with .25). If there is a specific item that should have something other than .00 please post a link directly to it.
Offline
Hi Dave
Thanks for getting back to me. You mention that everything you looked at had a decimal of .00 on it. I am not seeing anything like this. I don't see any decimals on it. I just see whole numbers.
If you go to this page: http://www.erotica.ie/shop/index.php?ap … ts-coupons
I have specifically priced everything for this exercise.
The 6 products
Kinky Sex Coupons - €7.15 (it currently shows as being €7)
Porn Star Coupons - €7.25 (it currently shows as being €7)
Hot Sex Coupons - €7.50 (it currently shows as being €7)
Sex secrets coupons - €7.65 (it currently shows as being €7)
Steamy Sex Coupons - €7.90 (it currently shows as being €7)
Naughty or Nice Coupons - €8.99 (it currently shows as being €8)
Offline
Hi
I have just looked at the page using a Seamonkey Browser and all the prices look ok with the .75, .25 etc
Mike Simpson
wwwdjshopper.net
Last edited by Litemaster (04-18-2007 05:57:06)
Offline
Don't know what browser you were using that wasn't showing them but they are fine in FireFox, IE and Opera here.
Offline
I am an idiot.....
I am so sorry. I feel really stupid now. When I looked at it in IE6 and IE7, they were not showing.
I kept refreshing all the pages in both browsers. IE6 and IE7 would not show decimals.
From the fact that you guys could see it OK, it made me think of a possible caching issue. I looked at it in Firefox (a real browser) and all of the decimals showed fine.
I have deleted all cache in both IE browsers on both machines and it now appears correctly.
It was just a caching issue. I hate IE.
Sorry for wasting your time guys. Mike and Dave - thanks for helping me on this and apologies for any time wasted. Going to sit in the bold corner now for being stupid.
Offline
Do yourself a favor. In IE go to Tools - Internet Options and click on the settings button under Temporary Internet Files. Select the radio button next to under . This is almost a for doing any type of development work when forced to used IE
Even better is to use FF for development work, get things the way you want them, then see how things look in IE.
Offline
Dave or anyone ![]()
This problem is actually still happening for me. I do think a lot of it is related to the caching of the pages but no matter how many time I am deleting my cache, when I go to "Printable Version: View a printable version of this order. (New Window)" on my order summary page, the actual invoice that I want to print out for the customer, still removes the decimal figures.
So - when I look into Mage My Orders and then click on: Summary / Invoice, I can see my order summary. Screenshot is of the top bit to simply show the totals and money.
Now for Step 2. When I am viewing the above Summary, I click on "Printable Version: View a printable version of this order" to see the invoice I want to print for the customer.
Screenshot is of the top bit again to show the totals and money. 
You will notice that all of the cents (decimals) have disappeared and the numbers have simply been rounded down. I am finding this very annoying because I am billing the customer 45.50 but the invoice they receive is only showing 45.
Is anyone else having a similar issue to this?
Is it simply a caching issue? It is happening for me in both Firefox and IE 7. And even when I clear all of my cache, I am still getting the above problem (in the screenshot) on all of my invoices.
Even if it is a cache issue, Nick (or anyone) do you know why this could be constantly happening? Is there a solution to stop it happening to me?
Thanks
Glenn
http://www.erotica.ie/shop
Offline
I am useing the US version and don't see any problems. I don't think that it is rounding off the amount but that they are not getting formated right. So here is the code in the US version that should be controling this it is in Home > Clickcart Front End > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes > Order Summary (Printable XHTML Invoice) and looks like:
$amount_array = array('amount' => $amount,
'entrycurr' => $currapp,
'returncurr' => $currshow,
'formatwsym' => 1);
$xtext = $this->xhtml_encode($text);
$amount = $this->include_namespace($app,'getprice',$amount_array);
$amount = $this->xhtml_encode($amount);see if yours looks like this.
John
Offline
Hey John
Yes - my code is the exact same and I am also using the US version
Glenn
http://www.erotica.ie/shop
Offline
I am not seeing this issue either. Are you using a stock copy of the printable invoice include? If not, copy it from the demo and paste it into your install to correct whatever issue you've introduced into the include by modifying it.
Offline
Hey Nick
Thanks for looking at this.
I have copied across the original includes from the demo copy (invoice header, footer and printable invoice) and it hasn't made a difference.
This has been going on since at least April (thats when I first noticed it). Its not just happening on the invoice. It is also on my site as you will see from some of my original posts on this thread. I did think it may be my cache from Daves advice but I keep deleting cache and I am still getting this.
I have no idea what the cause is now. Would you have a list of areas in the entire product code which relate to pricing and the appearance of the pricing?
If I got that I could at least work through it and compare it to the files in the demo version to see if I can uncover the problem.
Thanks
Glenn
Offline
Do a reinstall - and choose to overwrite all files with new copies when you get to the application portion of the install. You don't need to reinstall PEAR or the KHXC - just get new copies of the CCP files on your server. See if that corrects the problem. Your data and skin will remain untouched.
Offline
Just complete the re-install of the application and the problem is still there ![]()
Not quite sure what to do next......
fyi - when I did the re-install, it overwrote my includes and countries list and also my states/provinces which was a pain as I just had to go and re-do all that work. It also re-populated the dummy store products and categories which meant having to go and find and delete them from my site again.
Offline
GlennMUK wrote:
It also re-populated the dummy store products and categories which meant having to go and find and delete them from my site again.
The commands to delete the default store items may be found in the Wiki .
Offline
I just visited the site used in your signature and had no issues. I mad a Pending Order, chose to view it in Review Online Orders and viewed the printable invoice. It was fine. Is this only happening in the management interface?
Offline
I just ran a dummy pending order here too and when I look at it from a user point of view I am not seeing the (.00) decimals.
Generally when I look at my site as a customer - sometimes I see the full price with decimals and sometimes I don't.
Hopefully from my sites point of view it is just a local machine issue because anyone I have had tested it cannot repro it for me.
Could there be a problem because I do everything all on the one machine? dev work, order processing and browsing? Could it just be PC related?
Has anyone else experienced anything like this?
Offline
Hey Nick
I have tried it on a new machine. (Windows 2000, IE 6)
It all appeared to be completely fine UNTIL I logged into the Management interface on the this new machine.
I then went back to look at my site and it had stripped out the cents/decimals (.00).
So from this experiment, you won't be able to repro it unless you log into my management interface have a play around to look at an order and then go back to the main site.
I see you created an account on my site to create a pending order. Will I change your account to a admin user so you can enter the management tool for you to view this for yourself?
Offline
Make a new management interface account (superuser group) here:
Home > Kryptronic Hybrid X Core > User Accounts: Users, User Groups and Affiliate Payments > Manage User Groups
Delete all your cookies. Login to the new account, and delete you old management account. Does that fix the issue?
If I suspect that you have a currency symbol issue. Do you have currency conversions turned on and/or have you made any currency symbol changes?
Offline