Add a "Continue Shopping" link on MarketPress cart page.

When a user clicks the "buy now" or the "add to cart" button, I wanted them to be redirected to the cart istead of the default ajax-way that Marketpress uses.
It was done simply by removing the "mp_button_buynow" and "mp_button_addcart" classes from the buy buttons.
However, now I need to add a "Continue Shopping" link on the cart page that when clicked will take the user back to the page he was when he clicked the buy button.

Any tips?