I need help with webpage redirects
I'm new to eCart and not that hot at PHP either, I admit it. I'm an engineer in recovery. I keep swearing I'll never do this again....yet here I am, only one more tech layer out of date wishing BASIC still was and Fortran...whatever happened to Fortran? *sigh* Okay, here's my problem:
I'm having a heck of a time with redirecting to another page. Using DataAssist, making all the pages allowed in the dialog box, the redirects work fine between those pages.
Adding an Add To Cart button to the detail page will not redirect the page to bring up the cart. I open the server behaviors to look at the redirect text box and it contains "/cart.php". Seems like it should work. Trying "../cart.php" and "cart.php" doesn't work either. I can add a View Cart button to the Detail page and it works fine. The item went to the cart when Add To Cart was clicked, but the redirect is broken.
When I get to the cart and click Continue Shopping, the redirect back to the sending page won't work. When I click Clear Contents. It works, but then I'm stuck in the cart with no way to get back instead of being redirected to another page (such as the sending page).
On the cart page: Update works fine. Clear clears, but does not redirect, Checkout does nothing (I've run the checkout wizard), Continue Shopping does nothing.
Can someone please give me some ideas so I can break out of this loop?
God Bless you.