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
| Name | Description |
|---|---|
| theme_uc_cart_block_content | Theme the shopping cart block content. |
| theme_uc_cart_block_content_cachable | Theme the cachable shopping cart block content. |
| theme_uc_cart_block_items | Theme the table listing the items in the shopping cart block. |
| theme_uc_cart_block_summary | Theme the summary table at the bottom of the default shopping cart block. |
| theme_uc_cart_block_title | Theme the shopping cart block title |
| theme_uc_cart_block_title_icon | Theme the shopping cart icon. |
| theme_uc_cart_complete_sale | Theme the sale completion page. |
| theme_uc_cart_view_form | @see uc_cart_view_form() |
| theme_uc_cart_view_price | Dumb wrapper function, as the price has been themed by uc_price() already. See alsouc_cart_view_form() |
| theme_uc_empty_cart | Return the text displayed for an empty shopping cart. |
| uc_cart_add_item | Add an item to a user's cart. |
| uc_cart_block | Implementation of hook_block(). |
| uc_cart_block_settings_form | Build the settings form used by the shopping cart block. See alsouc_cart_block_settings_form_submit() |
| uc_cart_block_settings_form_submit | Save the shopping cart block settings. See alsouc_cart_block_settings_form() |
| uc_cart_cart_pane | Implementation of hook_cart_pane(). |
| uc_cart_cart_pane_list | Get all of the enabled, sorted cart panes. |
| uc_cart_checkout_pane | Implementation of hook_checkout_pane(). |
| uc_cart_complete_sale | Complete a sale, including adjusting order status and creating user account. |
| uc_cart_continue_shopping_url | Return the URL redirect for the continue shopping element on the cart page. |
| uc_cart_cron | Implementation of hook_cron(). |
| uc_cart_empty | Empty a cart of its contents. |
| uc_cart_exit | Implementation of hook_exit(). |
| uc_cart_filter_checkout_panes | Remove panes from the list that match the given conditions. |
| uc_cart_form_alter | Implementation of hook_form_alter(). |
| uc_cart_get_contents | Grab the items in a shopping cart for a user. |
| uc_cart_get_id | Return the unique cart_id of the user. |
| uc_cart_get_item | Allow us to get one single line item in a cart |
| uc_cart_get_total_qty | Return the total number of items in the shopping cart. |
| uc_cart_imagecache_default_presets | Implementation of hook_imagecache_default_presets(). |
| uc_cart_init | Implementation of hook_init(). |
| uc_cart_is_shippable | Determine whether a cart contains shippable items or not. |
| uc_cart_login_update | Update a user's cart to include items from their anonymous session. |
| uc_cart_menu | Implementation of hook_menu(). |
| uc_cart_nodeapi | Implementation of hook_nodeapi(). |
| uc_cart_product_is_shippable | Determine whether a product is shippable or not. |
| uc_cart_remove_item | Remove an item from the cart |
| uc_cart_theme | Implementation of hook_theme(). |
| uc_cart_uc_message | Implementation of hook_uc_message(). |
| uc_cart_update_item | Update a cart item. |
| uc_cart_update_item_object | Update the quantity of all the items in a cart object |
| uc_cart_user | Implementation of hook_user(). |
| uc_cart_user_login_form_submit | When a user logs in, update their cart items before the session changes. |
| uc_cart_view_form | Display 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_table | List the products in the cart in a TAPIr table. |
