Frist of all, sorry for my english, just try your best to understand the problem :).
I had to create a personalized checkout because the store is only going to deliver within a certain area(that's really small(1.5km radius)) and wix wouldn't stop people from other areas from buying(that was not the only problem using wix checkout).
By doing so, i encountered a problem. Once the client is finished with the purchase, the cart is still full, which is not ideal.
How can i clear the cart(the one that comes with wix) once the client clicks the button to finish the purchase? Is there a method, function or anything that i can call that does it for me?
I appreciate the fact that you took time to read this and i hope you can help.