We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711a911 commit 6956aa7Copy full SHA for 6956aa7
src/Console/Commands/ClearCarts.php
@@ -33,6 +33,8 @@ public function handle(): void
33
$cart->delete();
34
});
35
36
+ Cart::proxy()->newQuery()->truncate();
37
+
38
$this->info('All carts have been deleted.');
39
} else {
40
Cart::proxy()->newQuery()->expired()->cursor()->each(static function (Cart $cart): void {
0 commit comments