I have a function that I call with ?clear-cart appended to the end of my page; as you can probably guess, this function clears the user\'s cart.
?clear-cart
I call it l
Well, in the function that clears the cart, you could redirect the user to the correct URL, using the header() function.