Checkout controller

config.xml

  <global>
        <helpers>
            <pharmacy>
                <class>Guinama_Pharmacy_Helper</class>
            </pharmacy>
        </helpers>
        <rewrite>
            <guinama_pharmacy_checkout_cart>
                <from><![CDATA[#^/checkout/cart/#]]></from>
                <to>/pharmacy/checkout_cart/</to>
            </guinama_pharmacy_checkout_cart>
        </rewrite>
    </global>

controllers/Checkout/CartController.php

require_once 'Mage/Checkout/controllers/CartController.php';
/**
 * Shopping cart controller
 */
class Guinama_Pharmacy_Checkout_CartController extends Mage_Checkout_CartController
{
    /**
     * Add product to shopping cart action
     */
    public function addAction()
    {
      parent::addAction();//Esto te servidrá si sólo quieres añadoir funcionalidad,
                          //si necesitas modificarla tendrás que copiar el código del método original
                          //, pegarlo y modificarlo
      $message = $this->__('%s was successfully added to your shopping cart de Guinama_Pharmacy.', 'test');
      if (!$this->_getSession()->getNoCartRedirect(true)) {
          $this->_getSession()->addSuccess($message);
          $this->_goBack();
      }
    }
}