Empty all users’ cart
-
Hello,
The function WC()->cart->empty_cart() allows me to empty the cart of the current user
But is there way to empty the cart from all users at once ?
I sell products which change from day to day. The idea would be to set up a CRON which prevents users from having a product from the previous day
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Empty all users’ cart’ is closed to new replies.