How to do a HTTP (check) query string redirect?
Posted on 2006-07-05
We are trying to make a redirect on our site based on the following scenario:
On the main page of a shopping cart, the user picks from 2 categories. After picking a category, the user picks accessories to go with that product.
Upon picking THE CATEGORY, we want the main product for that category to automatically add to their cart, and then proceed to the accessories page.
The problem is, it HAS to goto the view cart page upon adding the main category product.. So we want it to redirect the user to the accessory page based on the previous location that they came from.
We want to add a query string, where it would tell which product category is picked from the main page.
On the cart page that it redirects to when you click one of the categories, we want it to see that if the category selected equals 1 or 2, then it redirects to the next page in the process for that category