Kryptronic Software Support Forum

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.

#1 04-14-2007 12:47:03

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Price showing as whole number only (no cents '.75') on the end

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

 

#2 04-16-2007 16:44:36

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

nudge...

Anyone got any ideas?

Offline

 

#3 04-16-2007 17:01:01

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Price showing as whole number only (no cents '.75') on the end

Have you done any mods?

John

Offline

 

#4 04-17-2007 06:03:34

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#5 04-17-2007 06:21:46

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Price showing as whole number only (no cents '.75') on the end

Do you have a URL available where we can see the problem?

Offline

 

#6 04-17-2007 10:07:58

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

Hey Dave

Go to: http://www.erotica.ie/shop


Thanks
Glenn

Offline

 

#7 04-17-2007 17:47:08

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#8 04-18-2007 05:27:09

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#9 04-18-2007 05:49:04

Litemaster
Member
From: Plymouth, Devon, UK
Registered: 12-03-2005
Posts: 147
Website

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#10 04-18-2007 05:55:46

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Price showing as whole number only (no cents '.75') on the end

Don't know what browser you were using that wasn't showing them but they are fine in FireFox, IE and Opera here.

Offline

 

#11 04-18-2007 05:56:18

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#12 04-18-2007 06:36:53

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Price showing as whole number only (no cents '.75') on the end

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 smile  Even better is to use FF for development work, get things the way you want them, then see how things look in IE.

Offline

 

#13 06-15-2007 06:39:03

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

Dave or anyone smile

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.

http://www.erotica.ie/ordertotals.gif


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. 
http://www.erotica.ie/ordertotals-nocents.gif


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

 

#14 06-15-2007 10:47:05

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: Price showing as whole number only (no cents '.75') on the end

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:

Code:

          $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

 

#15 06-15-2007 14:07:42

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

Hey John

Yes - my code is the exact same and I am also using the US version



Glenn

http://www.erotica.ie/shop

Offline

 

#16 06-18-2007 08:35:22

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Price showing as whole number only (no cents '.75') on the end

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.


Nick Hendler

Offline

 

#17 06-18-2007 16:20:46

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#18 06-19-2007 14:18:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Price showing as whole number only (no cents '.75') on the end

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.


Nick Hendler

Offline

 

#19 06-20-2007 11:48:07

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

Just complete the re-install of the application and the problem is still there hmm

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

 

#20 06-20-2007 11:51:49

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#21 06-21-2007 09:21:08

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Price showing as whole number only (no cents '.75') on the end

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?


Nick Hendler

Offline

 

#22 06-21-2007 11:22:28

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#23 06-22-2007 10:51:30

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Price showing as whole number only (no cents '.75') on the end

Could be PC or browser related.  Can you check on a different PC/browser?


Nick Hendler

Offline

 

#24 06-23-2007 06:54:02

GlennMUK
Member
From: Dublin, Ireland
Registered: 03-26-2004
Posts: 155

Re: Price showing as whole number only (no cents '.75') on the end

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

 

#25 06-27-2007 11:59:26

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19970
Website

Re: Price showing as whole number only (no cents '.75') on the end

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?


Nick Hendler

Offline

 

Board footer