Function wc_stripe_stash_cart
Stash the WC cart contents in the session and empty it's contents. If $product_cart is true, add the stashed product(s) to the cart.
Parameters summary
WC_Cart |
$cart |
|
boolean |
$product_cart = true |
Stash the WC cart contents in the session and empty it's contents. If $product_cart is true, add the stashed product(s) to the cart.
WC_Cart |
$cart |
|
boolean |
$product_cart = true |