Fix remove from cart
This commit is contained in:
parent
1c8ad67a9e
commit
4567169aa9
|
@ -1229,6 +1229,7 @@ class WC_Cart extends WC_Legacy_Cart {
|
|||
$this->reset_totals();
|
||||
|
||||
if ( $this->is_empty() ) {
|
||||
$this->session->set_session();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue