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

New Shopping Cart Rule Error
 
andreladocruz
Guru
 
Total Posts:  322
Joined:  2008-05-07
Brazil
 

When adding a ny shopping cart rule base on payment method condition the system is returning the following error:

NoticeUndefined index:  model  in /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Payment/Model/Config.php on line 79

#0 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Payment/Model/Config.php(79): mageCoreErrorHandler(8, 'Undefined index...', '/var/www/vhosts...', 79, Array)
#1 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Payment/Model/Config.php(69): Mage_Payment_Model_Config->_getMethod('Pagador_standar...', Array)
#2 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Adminhtml/Model/System/Config/Source/Payment/Allmethods.php(31): Mage_Payment_Model_Config->getAllMethods()
#3 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Adminhtml/Model/System/Config/Source/Payment/Allmethods.php(37): Mage_Adminhtml_Model_System_Config_Source_Payment_Allmethods->_getPaymentMethods()
#4 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/SalesRule/Model/Rule/Condition/Address.php(98): Mage_Adminhtml_Model_System_Config_Source_Payment_Allmethods->toOptionArray()
#5 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Rule/Model/Condition/Abstract.php(366): Mage_SalesRule_Model_Rule_Condition_Address->getValueSelectOptions()
#6 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Rule/Model/Condition/Abstract.php(376): Mage_Rule_Model_Condition_Abstract->getValueElement()
#7 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Rule/Model/Condition/Abstract.php(267): Mage_Rule_Model_Condition_Abstract->getValueElementHtml()
#8 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Rule/Model/Condition/Abstract.php(275): Mage_Rule_Model_Condition_Abstract->asHtml()
#9 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Adminhtml/controllers/Promo/QuoteController.php(200): Mage_Rule_Model_Condition_Abstract->asHtmlRecursive()
#10 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_Promo_QuoteController->newConditionHtmlAction()
#11 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch('newConditionHtm...')
#12 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#13 /var/www/vhosts/farmadelivery.com.br/httpdocs/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch()
#14 /var/www/vhosts/farmadelivery.com.br/httpdocs/index.php(48): Mage::run()
#15 {main}

Any Help?

regards

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top