function basic_cart_empty_cart in Basic cart 7.2
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.3 basic_cart.cart.inc \basic_cart_empty_cart()
- 7 basic_cart.cart.inc \basic_cart_empty_cart()
Shopping cart reset.
1 call to basic_cart_empty_cart()
- basic_cart_checkout_form_submit in ./
basic_cart.cart.inc - Checkout form submit proccess. Register order and send emails.
File
- ./
basic_cart.cart.inc, line 219 - Basic cart shopping cart implementation functions.
Code
function basic_cart_empty_cart() {
unset($_SESSION['basic_cart']['cart']);
}