You are here

function basic_cart_empty_cart in Basic cart 7

Same name and namespace in other branches
  1. 8.6 basic_cart.inc \basic_cart_empty_cart()
  2. 8 basic_cart.inc \basic_cart_empty_cart()
  3. 8.0 basic_cart.inc \basic_cart_empty_cart()
  4. 8.2 basic_cart.inc \basic_cart_empty_cart()
  5. 8.3 basic_cart.inc \basic_cart_empty_cart()
  6. 8.4 basic_cart.inc \basic_cart_empty_cart()
  7. 8.5 basic_cart.inc \basic_cart_empty_cart()
  8. 7.3 basic_cart.cart.inc \basic_cart_empty_cart()
  9. 7.2 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. Sending the 2 mails.

File

./basic_cart.cart.inc, line 192
Basic cart shopping cart implementation functions.

Code

function basic_cart_empty_cart() {
  unset($_SESSION['basic_cart']['cart']);
}