|
| |
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
Shopping Cart Nightmare! - 6/3/2004 12:59:11
Hi Guys I am pulling my hair out here! I do hope someone can help. I am having great trouble with my shopping cart. every now and again i am getting an 'undefined0undefined' value and so do my repeat customers, and some new ones too when they place an order. I am using JShop and their level of help has been zero. I am not a web designer, nor am i too clever in this area, so if some of you could try out the site and place a dummy order and placing in the comments box that you are from the OutFront Forum (so i know this is a test)and maybe look at the source code of the offending pages - i would be eternally grateful! Keeping my pinkies crossed! Elle
|
|
|
|
walrus
Posts: 547 Joined: 3/13/2003 From: London Status: offline
|
RE: Shopping Cart Nightmare! - 6/3/2004 13:51:47
love to help whats the website?
_____________________________
I hope The Boss isn't reading this, ...she thinks I program everything!
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 4:29:54
Doh!!! Should of given you guys at least a little clue as to the website sorry. :( The website is www.thenakedmonkey.co.uk Thanks in advance for all your help. Elle
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 7:24:19
Elle Is it based on ASP or PHP shopping cart? It's a coding problem. When I search the user end source code, there's no such thing as undefined0undefined anywhere. It's JavaScript related by the looks of it. But first, I need to know - Are you pulling data from a DB at all? There's also a hell of a lot of JavaScript on the pages. I haven't placed an order, it might not work. Dan
_____________________________
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 7:37:39
IE has obviously been thrown into quirks mode, and there's far too much coding to see it straight off
_____________________________
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 7:45:07
Swimming through the coding, your problem lies within these two: quote:
function showPriceSingle(pricestring) { index = document.cookie.indexOf('TheCurrency'); countbegin=(document.cookie.indexOf('=',index)+1); countend=document.cookie.indexOf(';',index); if(countend==-1) { countend=document.cookie.length; } theCurrency=document.cookie.substring(countbegin,countend); return presentValue(pricestring,currencyDecimals[theCurrency],currencyPre[theCurrency],currencyMiddle[theCurrency],currencyPost[theCurrency]); } quote:
document.writeln("<td bgcolor=8080C0 align=right><font face='Arial,Helvetica' size=2 color=000000><b>"+showPriceSingle(totprice)+"</b></font></td>"); Now, I can't see a problem there, but this is common throughout the web. Something in that lot is forcing IE into quirks mode, and it isn't reading the info properly. Time to think about this over a few sarnies..... Dan
< Message edited by Giomanach -- 6/4/2004 12:45:36 >
_____________________________
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 7:50:42
Hi Guys Thanks for that, and jaybee thanks for your very generous order! ;o) JShops actually puts the code in for me. It is as you can see the code is Java script based and JShops generates the code for each page. I just top and tail it for the HTML look, feel and function. I would like to understand more about all the comments about IE having the problem and what i might be able to do about it. It may help you guys to understand that each product page with regards to JShops is identical the other pages that are obviously causing my problems are basket, and buy pages. Thanks again Elle
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 7:58:44
One of JShop configuration parameters sets the cookie expiry by default to 1 hour. This expiry is reset with every item that is added to the basket. Should i consider changing this? or should i force (somehow)IE to invoke the clear page (www.thenakedmonkey.co.uk/clear.html) Elle PS cheese and pickle sarnie would go down a treat ;o)
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 8:28:12
The hosting service appears to be PHP based. I also just noticed in the expiry date on the currency cookie was set to Dec 2010!?! and have now set that so its settings are now all the same as the other cookies. This is all JShop code. Yes there should be a link onto other pages after the confirmation page, and will get around to doing something about... don't forget you are dealing with a dunce here! ;o) Elle PS i don't do ham n pickle.. so i will now sulk ;o)
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 8:45:38
quote:
sarnies..... what is that??? or what are those? lol
_____________________________
Dan
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 9:08:01
Have put a test.php page onto the web site and it has confirmed the service is php enabled. Have made some minor adjustments and removed spurious (new word invention here i think!) code from the home page, but still appears to be in vain and am still getting undefined. Ideally i would like to get this working as i have spent many hours on all my products and using the piece of s!"$%! program. Elle Any chance of a bacon buttie now????;o)
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 9:08:23
well you brits do have seniority..lol...so sarnie is generic sandwich....hhhmmm when i was a kid, my buddies dad would get up in the morning, make a pot of strong coffee...put 2 teaspoons of instant coffee in a cup and pour perked coffee into it, then make a sarnie of beets, onions and mustard. he started the day that way..no wonder he drank heavily at nite! but he lived to be 89
_____________________________
Dan
|
|
|
|
Ellef36
Posts: 9 Joined: 6/3/2004 Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 9:31:17
Ewwwww You Americans do have bizarre eating habits that is almost as bad as jam (or as you call it jelly) and cheese! lol It looks as though one member has kindly offered to give me some private help, so fingers crossed. Will let you know the update as soon as i do! Elle
|
|
|
|
Nigel
Posts: 383 Joined: 7/24/2002 From: Wirral - UK Status: offline
|
RE: Shopping Cart Nightmare! - 6/4/2004 17:43:04
I looked through many shopping cart options and found a superb asp one for a very reasonable price called productcart by Early Impact. It has a browser based control panel so once it is setup your customer can add and delete products easily. Nigel
_____________________________
Innerview Web Design - Virtual Tours - 360 Panoramas - Shopping carts
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|