You could get someone to code a 'share this cart' button for you. It is not a huge thing to do. Issues you'd want to think about before doing that are how you'd want to deal with items that gone out of stock or have changed price.
The issue with doing it as an order as has been suggested is that it takes the item out of stock. So, if these are really just quotations then you probably do not want to do that.
So here's a start to what you want.
Add this to includes/templates/YOURTEMPLATE/templates/tpl shopping_cart_default.php just before the closing </body> tag.
Code:
<?php
if($_SESSION['customer_id']==123456)
{
echo '<div style="width:400px;word-wrap: break-word;overflow: hidden;">';
echo HTTP_SERVER.DIR_WS_CATALOG."?savedCart=".urlencode(serialize($_SESSION['cart']));
echo '</div>';
}
?>
Change the 123456 to match an account number that you can use. (Set up a customer that is you and use that number) What that will do is print out on the screen a very long url at the bottom of the shopping cart page just for that customer account.
Then put this block of code at the bottom of includes/application_top.php
Code:
if($_GET['savedCart'])
{
$_SESSION['cart'] = unserialize(urldecode($_GET['savedCart']));
}
Yes, guys, I know there are better ways of doing this. best of all is probably as an init_include so if you know how to do that put in in one of those instead :-) And if someone wants to formalise this then that is how it should be done :-)
Then if you copy and paste that very long URL it will reproduce the shopping cart when someone goes to it. Note that there is no handling of price changes or out of stock stuff.
Obviously back everything up and if possible give it a roll on a development site first. But it works fine for me. You'll probably want to use a url shortener like http://goo.gl/
Bookmarks