By changing the add to action to the add to cart form causes the add to cart button to not work on the testing server but works on the website server where as the original action code <?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?> works for both servers.