Clear Cart with WordPress E-commerce plugin August 28, 2022 by Tarik Billa according to their docs: $wpsc_cart->empty_cart();