Javascript basket - currently JShop

Hi,

The basket system we currently use is JavaScript. It is http://www.jshop.co.uk/.

The problem is our JavaScript basket is causing problems. If someone clicks to add a product to the basket and then clicks ‘back’ in their browser, when they then revisit their basket the values of the products and total in the basket read “undefined”, in some circumstances (not sure what determines whether the problem occurs).

My question is, is there a better basket we could use? I prefer to use JAVA SCRIPT baskets rather than PHP because PHP pages can cause problems with ranking in search engines. I cannot write Java Script so I need some software that generates all the coding.

I look forward to your suggestions,

Matthew.

What version are you using? (look at browser title when logged into admin)
Are you using price modifiers (eg as select/radio options of the product page)?
Is the error just “undefined” or does it give any more info on the page?
Does the error occur with all products, is there ary pattern, eg some have product options, others don’t?
Have you made any modicications to any core files? eg modifiying cartOuputData.php is popular with developers

BTW of all the Jshop sites I’ve worked on they’ve had no problems getting ranking in search engines… :slight_smile:

Hi Bluedreamer,

I am not sure what software version it is as we used it to get the basket working and since then we just copied and pasted the coding appropriately. We bought JShop in 2003 or 2004.

It says undefined twice: i.e. “undefined undefined”

It seems to have the error whenever someone has added something to their basket and then they click away and go back to the basket later. The ONLY way to get around the problem is to get rid of all the cookies in the computer and then try adding to basket again.

I am not sure if cartOutputData.php has been modified. A web designer did alter our basket code once but I am not sure what they did.

I realise there are no problems with using JShop and site rankings. I was saying that I did not want to use a PHP cart as that might interfere with site rankings (the need to have .php pages).

Would I benefit from getting a later copy of JShop? Is there a better Java Script shopping basket?

Kind regards,

Matthew.

Are you by any chance running the (very) old javascript only cart - “Jshop professional” not the full Jshop system?

I am not sure…

…I am probably using just the cart package. What is new with the Jshop system?

Matt.

The current version of Jshop is the one detailed at http://www.jshop.co.uk/ which is a regular PHP/mySQL based shopping cart system - the same company used to offer a “javascript” based cart called “Jshop Professional” but that was discontinued many years ago.

Have you got a link to your site, looking at the source code might reveal what version you are using…