Navigation Buttons Don't Work On Multiple Products Pages

HI,

We have a site running with :CS-Cart: version 3.0.6 PROFESSIONAL

When we display multiple product pages, the Navigation displayed such as "Prev", "Next" and page numbers at the foot of the page don't work with Firefox Browser.

For example the link http://webscientific.co.uk/genomics will display our list of products, and the link at bottom of page will show

http://webscientific.co.uk/genomics/page-2/

But in the address bar this gets converted to to

http://webscientific.co.uk/genomics/#ty%3Bpagination_contents%3B%2Fgenomics%2Fpage-2%2F
 

and nothing happens on Firefox.

All browsers apart from Firefox will go the to the correct page.

Any one any idea how to fix this ?

Anyone?

It seems, this page is not marked up properly. Looks like some tags are not closed, but browser closes them by itself. It should be investigated directly on your server

I reproduced it on the clean 3.0.6 installation. Looks like default feature when ajax pagination is used. But the URLs in the pagination bar are correct, so it will not affect your page rank

Solution:

1. Open the js/core.js file.

2. Find this code var parts = hash.split(';'); . It should be inside the initHistory: function() (approximately line 1043).

3. Replace this line with the following: var parts = decodeURIComponent(hash).split(';');.

4. Clear the cache (just to be sure).

5. Enjoy.

Solution:

1. Open the js/core.js file.

2. Find this code var parts = hash.split(';'); . It should be inside the initHistory: function() (approximately line 1043).

3. Replace this line with the following: var parts = decodeURIComponent(hash).split(';');.

4. Clear the cache (just to be sure).

5. Enjoy.

Are you sure that it will not brake anything?

Are you sure that it will not brake anything?

Why should it?

I tested it in Firefox (where the bug was repsoduced) and in Chrome (where it worked and is working). The fact is that JS works not completely in the same way in these two browsers.

decodeURIComponent ( http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp) converts encoded symbols to regular (for example, %3B to ';'). Chrome do it by default. Firefox - not.

Are you sure that it will not brake anything?

Why should it?

I tested it in Firefox (where the bug was repsoduced) and in Chrome (where it worked and is working). The fact is that JS works not completely in the same way in these two browsers.

decodeURIComponent ( http://www.w3schools.com/jsref/jsref_decodeuricomponent.asp) converts encoded symbols to regular (for example, %3B to ';'). Chrome do it by default. Firefox - not.

It was just supposition as CS-Cart added this feature for some reason

But this fix works. Maybe CS-Cart did not test it properly in all browsers.

But this fix works. Maybe CS-Cart did not test it properly in all browsers.

Again, this feature is not tested for each new release by CS-Cart developers. Hope it makes sense.

It is not for all new releases. It is for version 3.0.6 Professional, as was mentioned

It is not for all new releases. It is for version 3.0.6 Professional, as was mentioned

Sorry, my reply was for the ticket where the localizations are discussed

jmccann, does it work now?