Created
January 4, 2018 13:40
-
-
Save RomanGorbatko/3e4677777f3d6c15f30ed3772dbedb4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* aheadWorks Co. | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the EULA | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://ecommerce.aheadworks.com/AW-LICENSE.txt | |
* | |
* ================================================================= | |
* MAGENTO EDITION USAGE NOTICE | |
* ================================================================= | |
* This software is designed to work with Magento community edition and | |
* its use on an edition other than specified is prohibited. aheadWorks does not | |
* provide extension support in case of incorrect edition use. | |
* ================================================================= | |
* | |
* @category AW | |
* @package AW_Autorelated | |
* @version 2.5.0 | |
* @copyright Copyright (c) 2010-2012 aheadWorks Co. (http://www.aheadworks.com) | |
* @license http://ecommerce.aheadworks.com/AW-LICENSE.txt | |
*/ | |
class AW_Autorelated_Model_Blocks_Shoppingcart_Rulerelateds extends AW_Autorelated_Model_Blocks_Rule | |
{ | |
public function getConditionsInstance() | |
{ | |
return Mage::getModel('awautorelated/catalogrule_rule_condition_combines'); | |
} | |
public function _resetConditions($conditions = null) | |
{ | |
parent::_resetConditions($conditions); | |
$this->getConditions($conditions) | |
->setId('related_conditionss') | |
->setPrefix('related'); | |
return $this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment