I'm using a shopping cart block on my order page, and it is redirecting to the front page when clicking the 'delete' button on a line item. The item is removed from the cart, including a message to the effect when the home page loads. Looking at the page source, the action for the form is set as the base URL, rather than the order page's path.
I'm using the default shopping cart block view provided by the cart module, with one change: the contextual filter for Order ID is set to custom PHP code to extract the order ID (since the default behaviour displayed all previous cart items). I've tried changing it back to the default behaviour, but no change.
Any idea why this might be occurring?