Store Cart Summary in Database behavior: How to redirect ?
Hello,
i would like to know how to use redirect properly ?
i type redirect to : index.php?mod=cart&step=2&title=info-kirim
my current page is at : index.php?mod=cart&step=1&title=info-cart
after the server behaviour complete it redirect to :
index.php?mod=cart&step=2&title=info-kirim?mod=cart&step=1&title=info-cart
i believe the problem arise in this chunk of code:
if ($WA_redirectURL != "" && isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] !== "" && sizeof($_POST) > 0) {
$WA_redirectURL .= ((strpos('?', $WA_redirectURL) === false)?"?":"&").$_SERVER["QUERY_STRING"];
}
if i edit manually, it would break the server behavior and i have to back-forth if i would like to modify it.. it kind annoying...
how to set this code to dissapear by default so i could redirect any url i would to go ? thanks