Function to add item to cart.
tempcode
add_item_to_cart
()
Function to empty shopping cart
tempcode
empty_cart
()
Finish step.
tempcode
finish
()
Standard modular entry-point finder function.
?array
get_entry_points
()
Standard modular info function.
?array
info
()
Standard modular install function.
void
install
([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
-
?integer
$upgrade_from: What version we're upgrading from (NULL: new install)
-
?integer
$upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
Show all my orders
tempcode
my_orders
()
Show an order details
tempcode
order_det
()
Standard modular run function.
tempcode
run
()
Standard modular uninstall function.
void
uninstall
()
Function to Update cart
tempcode
update_cart
()
The UI to show shopping cart
tempcode
view_shopping_cart
()
Wrap-up so as to remove redundancy in templates.
tempcode
wrap
(tempcode $content, tempcode $title, ?mixed $url, [boolean $get = false])
-
tempcode
$content: To wrap.
-
tempcode
$title: The title to use.
-
?mixed
$url: URL (NULL: no next URL).
-
boolean
$get: Whether it is a GET form