function basic_cart_empty_cart in Basic cart 7
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.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']);
}