add_to_cart (line 46)
Function to add new item to cart.
void
add_to_cart
(array $product_det)
-
array
$product_det: Product details
delete_uncomplete_orders (line 144)
Delete uncomplete orders of current session of logged in user.
void
delete_uncomplete_orders
()
find_products_in_cart (line 194)
Find products in cart
array
find_products_in_cart
()
get_current_order_id (line 412)
Find current order id
AUTO_LINK
get_current_order_id
()
get_ordered_product_list_string (line 454)
Return a string of order products to export as csv
LONG_TEXT
get_ordered_product_list_string
(AUTO_LINK $order_id)
-
AUTO_LINK
$order_id: Order Id
get_order_status_list (line 427)
Return list entry of common order statuses of orders
tempcode
get_order_status_list
()
get_order_tax_opt_out_status (line 395)
Find current order tax opt out status
BINARY
get_order_tax_opt_out_status
()
get_product_details (line 26)
Get product details array, according to the hook specified in the 'hook' GET parameter
array
get_product_details
()
log_cart_actions (line 115)
Log cart actions
void
log_cart_actions
(ID_TEXT $action)
-
ID_TEXT
$action: The data
payment_form (line 250)
Payment step.
tempcode
payment_form
()
purchase_done_staff_mail (line 173)
Send Staff mails when purchase is done
void
purchase_done_staff_mail
(AUTO_LINK $order_id)
-
AUTO_LINK
$order_id: Order Id
remove_from_cart (line 98)
Remove from cart.
void
remove_from_cart
(array $product_to_remove)
-
array
$product_to_remove: Products to remove
show_cart_image (line 154)
Show cart image
tempcode
show_cart_image
()
stock_maintain_warn_mail (line 209)
Stock maintain warning mail
void
stock_maintain_warn_mail
(SHORT_TEXT $product_name, AUTO_LINK $product_id)
-
SHORT_TEXT
$product_name: product name
-
AUTO_LINK
$product_id: Product id
update_cart (line 62)
Update cart
void
update_cart
(array $product_det)
-
array
$product_det: Product details
update_stock (line 229)
Stock reduction
void
update_stock
(AUTO_LINK $order_id)
-
AUTO_LINK
$order_id: The ID