How to Skip Cart Page in Magento

In this tutorial I will explain how you can skip cart page in Magento. If you want to go straight on checkout page on product add to cart button click, this tutorial will help you.

Create a custom module and change in config.xml file and create an event.


Now create a observer file and add below code.

class Yourmodule_Cart_Model_Observer extends Varien_Object
	public function afterAddToCart(Varien_Event_Observer $observer) {
		$response = $observer->getResponse();


I hope this tutorial will help you to skip cart page and direct move to checkout page after add to cart button.