Electricdisk
Member
Posted 1 year ago #
If you click "add to cart" in a category, paypal cart opens, an item is added, but then it REDIRECTS to my latest post and does not stay in that category. Is there a way to determine the http referrer to prevent this? or is there a workaround?
http://www.oldradiofun.com/main/?cat=4
Thanks!
The cause eludes me but you can link the button to http://www.oldradiofun.com/main/?cat=4 and that seems to provide a work around.
BTW, this does not happen in FF2. Also, your html has lots of errors some of which may be causing this or other problems.
Electricdisk
Member
Posted 1 year ago #
Yes.... Thanks for the idea. I added an h ref to the button itself along with the onClick. That fixes it!!!!
(off topic) how did you check to see if the html had lots of errors?
I used this http://validator.w3.org/ and I put your code into DreamWeaver to check for IE6 errors. Most of those would be fixed by correcting using the W3C validation site.