to create a store for both quotes and live sales, you would need to add a Get Quote checkbox to the checkout page:
<input type="checkobox" name="getQuote" value="1" />
the create a hidden form field of the same name in the checkout form of the confirm page to capture the value form the checkout page:
<input type="hidden" name="getQuote" value="<?php echo isset($_POST['getQuote'])?$_POST['getQuote']:""; ?>" />
Then on the confirm page, add an if statement around the local checkout server behavior so the transaction only goes through the gateway if getQuote was not selected.
<?php if(isset($_POST['getQuote']) && isset($_POST['getQuote']) != "1") { ?>
<?php
...local checkout code...
?>
<?php
else if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST)) {
$<yourcartName>->redirStr = "checkout_success.php";
}
?>
as for dynamic cross selling like last item viewed, or Other items you may be interested in and Inventory control, these are not functions built into eCart, you will need to add them manually.