function basic_cart_empty_cart in Basic cart 7.3
Same name and namespace in other branches
- 8.6 basic_cart.inc \basic_cart_empty_cart()
- 8 basic_cart.inc \basic_cart_empty_cart()
- 8.0 basic_cart.inc \basic_cart_empty_cart()
- 8.2 basic_cart.inc \basic_cart_empty_cart()
- 8.3 basic_cart.inc \basic_cart_empty_cart()
- 8.4 basic_cart.inc \basic_cart_empty_cart()
- 8.5 basic_cart.inc \basic_cart_empty_cart()
- 7 basic_cart.cart.inc \basic_cart_empty_cart()
- 7.2 basic_cart.cart.inc \basic_cart_empty_cart()
Shopping cart reset.
1 call to basic_cart_empty_cart()
- basic_cart_order_node_insert in basic_cart_order/
basic_cart_order.module - Implements hook_node_insert().
File
- ./
basic_cart.cart.inc, line 223 - Basic cart shopping cart implementation functions.
Code
function basic_cart_empty_cart() {
unset($_SESSION['basic_cart']['cart']);
}