I assume you're planning to move the cart from the subdomain to the root and replace the current system you have. It should be a matter of editing the configure.php files.