You will need to set up the automatic redirection to do a few things:
If this is done automatically by your server software (e.g. Microsoft IIS or Apache), then you will need to contact your hosting provider and ask them if they can configure your server to preserve the query string upon redirection. Contact support if you would like our assistance in speaking with your support provider.
However, it is common that this is performed in JavaScript.
To modify the JavaScript such that it behaves correctly, you will need to append where the page is redirected to include whatever parameters were passed in.
You will see in your script something which most likely looks like this:
<script language="JavaScript">
// Some code here
document.location = '/cgi-bin/cart.cgi';
</script>
You can modify this to include the current page's query string parameters, like so:
<script language="JavaScript">
var s = location.search;
if (!s) {
s = "?";
} else if (s.substr(0,1) != '?') {
s = "?" + s;
}
document.location = '/cgi-bin/cart.cgi' + s + '&same=1&crxref=' + escape(document.referrer);
</script>
This will perform 3 things:
If you have any further questions, contact us.