>The products should be in Midgard objects because the information about the
>products is already in Midgard. The rest of the items I have no idea yet. I
>would check if they fit easely into Midgard objects, but probably would
make
>a separate db.
I see. Carts and order could be easily incororated into snippets like:
\PHPSHOP <--- Top snippetdir that belongs to a given SG
\carts
person->guid() <- snippet names as person guid. code field could
contain soen note from customer. Items could be put in parameters:
$cart->parameter("item","itemd_id","quantity");
\orders
person->guid() <- snippetdir containg orders
order_YYYYMMDDHHMMSS - rather unique snippet that in fact is a
copy of a cart that is created when customer click "Checkout". Additionaly
it get new parameters like
$order->parameter("info","shipping","airmail");
$order->parameter("info","status","ready to send");
$order->parameter("info","payment","cc");
$order->parameter("info","discount","0.10");
etc
Of cousre PHPSHOP tree is not to be toched vie regular Aegir or Spider but
there shoudl be an AegirAddOn_PHPShop
Solt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]