How to prevent cart from emptying until transaction is complete?
Hi folks. So, I'm currently building a wordpress website for my small business using WooCommerce. I was customising the checkout page, and as I was testing it, I noticed an issue - the cart empties automatically as soon as the user proceeds to checkout, regardless if they complete the transaction. So, let's say a user goes to the checkout page but has to go leave the page to set up payment/go back for something - their cart would empty and they'd have to add all the items back again. Any idea how to fix this?
For reference,, I'm using the Divi website builder, which comes with the necessary WooCommerce modules (such as cart, account page module, etc. containing the relevant shortcodes). Any help will be much appreciated! 🙌