Tom,
Did you check for this stuff that I posted earlier?
<?php
// WA eCart Redirect
if ($BPeCart->redirStr != "") {
header("Location: ".$BPeCart->redirStr);
}
?>
And also be sure this is or something like it is in there above that someplace:
$Redirect_redirStr="index.php";
Which WA products do you have? What is your programming experience?
The way to get this working is by breaking it down into smaller pieces. It sound like you've done so many changes that nothing is right anymore.
Personally I probably did my first projects the same way you are approaching it. I have the PowerStore as well as one of the Suites. But I have TONS of programming background. I'm new to DW and the web but once you learn the pardigms it all falls in place. It sounds like your programming background isn't that strong so you're going to have to learn as you go.
I would get everything stripped down to where it works. I mean really stripped down. Then put some small part back in and get it working. Then another piece etc. until you get it where you want it. If you don't have version control, which you probably don't, then make backup copies of files before you embark on any big cut and paste projects. When you find PHP code that you don't understand, ask questions. One thing it took me a little bit to figure out is that PHP is just "C/C++" for the web. Those are languages that I cut my teeth on.
Good Luck,
Stan