Jump to content

CC Currency converter issue


Recommended Posts

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 ;)

Link to comment
Share on other sites

  • 2 weeks later...

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&currency=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&currency=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

Link to comment
Share on other sites

  • 3 weeks later...
  • 10 months later...

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 :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...