[ PHPXref.com ] [ Generated: Sun Jul 20 19:28:27 2008 ] [ PgMarket 2.2.3 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/shopping/ -> complete_order.php (summary)

(no description)

File Size: 378 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 common.inc.php
 config.inc.php

Defines 2 functions

  create_order_ca()
  create_order_cc()

Functions
Functions that are not part of a class:

create_order_ca(&$order, &$emailbody)   X-Ref
This function saves the order info into the database for a cash on delivery order.

It stores an entry in the corresponding orders table, and then
it stores the shopping cart content into the order_items table;
finally, it prepares the body of the e-mail message to be sent
to the market seller.
It returns the order id.

param: array $order the order informations
param: string $emailbody the body of the e-mail message
return: string

create_order_cc(&$order, $passwordric)   X-Ref
This function concerns credit card orders; it is analogous to the corresponding function used for cash on delivery orders.




[ Powered by PHPXref - Served by Debian GNU/Linux ]