uc_cart.module

Description

Handles all things concerning Ubercart's shopping cart.

The Ubercart cart system functions much like the e-commerce cart at its base level... in fact, most carts do. This module handles the cart display, adding items to a cart, and checking out. The module enables the cart, products, and checkout to be extensible.

Functions

Namesort iconDescription
theme_uc_cart_block_contentTheme the shopping cart block content.
theme_uc_cart_block_content_cachableTheme the cachable shopping cart block content.
theme_uc_cart_block_itemsTheme the table listing the items in the shopping cart block.
theme_uc_cart_block_summaryTheme the summary table at the bottom of the default shopping cart block.
theme_uc_cart_block_titleTheme the shopping cart block title
theme_uc_cart_block_title_iconTheme the shopping cart icon.
theme_uc_cart_complete_saleTheme the sale completion page.
theme_uc_cart_view_form@see uc_cart_view_form()
theme_uc_cart_view_priceDumb wrapper function, as the price has been themed by uc_price() already. See alsouc_cart_view_form()
theme_uc_empty_cartReturn the text displayed for an empty shopping cart.
uc_cart_add_itemAdd an item to a user's cart.
uc_cart_blockImplementation of hook_block().
uc_cart_block_settings_formBuild the settings form used by the shopping cart block. See alsouc_cart_block_settings_form_submit()
uc_cart_block_settings_form_submitSave the shopping cart block settings. See alsouc_cart_block_settings_form()
uc_cart_cart_paneImplementation of hook_cart_pane().
uc_cart_cart_pane_listGet all of the enabled, sorted cart panes.
uc_cart_checkout_paneImplementation of hook_checkout_pane().
uc_cart_complete_saleComplete a sale, including adjusting order status and creating user account.
uc_cart_continue_shopping_urlReturn the URL redirect for the continue shopping element on the cart page.
uc_cart_cronImplementation of hook_cron().
uc_cart_emptyEmpty a cart of its contents.
uc_cart_exitImplementation of hook_exit().
uc_cart_filter_checkout_panesRemove panes from the list that match the given conditions.
uc_cart_form_alterImplementation of hook_form_alter().
uc_cart_get_contentsGrab the items in a shopping cart for a user.
uc_cart_get_idReturn the unique cart_id of the user.
uc_cart_get_itemAllow us to get one single line item in a cart
uc_cart_get_total_qtyReturn the total number of items in the shopping cart.
uc_cart_imagecache_default_presetsImplementation of hook_imagecache_default_presets().
uc_cart_initImplementation of hook_init().
uc_cart_is_shippableDetermine whether a cart contains shippable items or not.
uc_cart_login_updateUpdate a user's cart to include items from their anonymous session.
uc_cart_menuImplementation of hook_menu().
uc_cart_nodeapiImplementation of hook_nodeapi().
uc_cart_product_is_shippableDetermine whether a product is shippable or not.
uc_cart_remove_itemRemove an item from the cart
uc_cart_themeImplementation of hook_theme().
uc_cart_uc_messageImplementation of hook_uc_message().
uc_cart_update_itemUpdate a cart item.
uc_cart_update_item_objectUpdate the quantity of all the items in a cart object
uc_cart_userImplementation of hook_user().
uc_cart_user_login_form_submitWhen a user logs in, update their cart items before the session changes.
uc_cart_view_formDisplay a page allowing the customer to view the contents of his or her cart.
uc_cart_view_form_submit@see uc_cart_view_form()
uc_cart_view_tableList the products in the cart in a TAPIr table.