aPoLLo Posted March 8, 2007 Share Posted March 8, 2007 Hi there folks in CC Land. This has been asked before however no answer has been provided so forgive me for asking again. When you are viewing a product and you select to view it in another currency such as USD, CC takes you back to the Homepage instead of displaying the current product page with the appropriate currency exchange. Has anyone out there had this happen and if so does anyone have a fix for it? Cheers to all and many thanks in advance. aPoLLo ;) Quote Link to comment Share on other sites More sharing options...
aPoLLo Posted March 16, 2007 Author Share Posted March 16, 2007 Hello again. I don't know if this is any help however I looked at 2 of my CC stores in Dreamweaver by downloading the pages in HTML format and found that the Currency exchange dropdown boxes have 2 different values listed. For the currency converter that works correctly, it has the following value: switch.php?r=%2Fstore%2Findex.php¤cy=AUD For the currency converter that does not work the correct way, it has the following value: switch.php?r=http%3A%2F%2Fwww.domainname.com.au%2Fstore%2Findex.php%3FccUser%3D1066e92aa504e40c49a49e07139ff91a¤cy=AUD I really don't know what all this means however there must be a file that has gone haywire to be causing this. I also tried reuploading the switch.php file again however this did not solve the problem. I have spent hours on this (I am not a PHP guru to say the least) and I would really love someone's help on this one please. Thank you muchly. aPoLLo Quote Link to comment Share on other sites More sharing options...
aPoLLo Posted April 4, 2007 Author Share Posted April 4, 2007 This must be a pretty curly problem. Been a while and no answer from anyone regarding this problem. Must be isolated to myself only. Thanks anyway for your help. Cheers aPoLLo :w00t: Quote Link to comment Share on other sites More sharing options...
aPoLLo Posted February 12, 2008 Author Share Posted February 12, 2008 Hi yia folks. Thanks to someone else this is a fix for the Currency Jump menu not responding to the way it should. This is a work around and hence I was told that this could be either a Bug in the script or a hosting issue. In any rate here goes. Locate the switch.php file located in the root of your store and comment out the following lines: // detect possible spoofing URL's // if(!eregi("http://",$_GET['r']) && !eregi("ftp://",$_GET['r']) && !eregi("https://",$_GET['r'])){ header("Location: ".str_replace("amp;","",treatGet($_GET['r']))); // } else { // header("Location: index.php"); // } It worked for me therefore I hope it works for you too. DON'T FORGET TO BACK UP YOUR ORIGINAL switch.php file before making any changes. Please let us know if it works. aPoLLo :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.