sprintf($msg['cart_add_notices'], $nb_added, count($_SESSION['cart'])), 'nb_added' => $nb_added)); unset($_SESSION['cart_anonymous']); break; case 'purge_cart': unset($_SESSION['cart_anonymous']); break; default : break; } }