Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Page 2 of 2
Просмотр товара. Кнопка купить. 
 
alex2b
Member
 
Total Posts:  53
Joined:  2008-12-19
 

Путем хака это делается так (про модуль думайте сами, надо подменить контроллер своим и перегрузить обработчик).

файл app\code\core\Mage\Checkout\controllers\CartController.php
в public function addAction() код
if (!$this->_getSession()->getNoCartRedirect(true)) {
$this->_getSession()->addSuccess($message);
$this->_goBack();
}
заменить на
$this->getResponse()->setRedirect(Mage::helper(’checkout/url’)->getCheckoutUrl());

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 2