Php Magento-将最小订单金额更改为最大订单金额

Php Magento-将最小订单金额更改为最大订单金额,php,magento,magento-1.5,Php,Magento,Magento 1.5,我正在尝试将系统>配置>销售>销售>最小订单金额中的最小订单金额功能更改为“最大订单金额” 我希望它会像我找到解决方案时将“>”改为“一样简单 它隐藏在App>Code>Core>Mage>Sales>Model>Quote>Address.php中 第895行 $amount = Mage::getStoreConfig('sales/minimum_order/amount', $storeId); if ($this->getBaseSubtotalWithDiscount() &l

我正在尝试将系统>配置>销售>销售>最小订单金额中的最小订单金额功能更改为“最大订单金额”

我希望它会像我找到解决方案时将“>”改为“一样简单

它隐藏在App>Code>Core>Mage>Sales>Model>Quote>Address.php中

第895行

$amount = Mage::getStoreConfig('sales/minimum_order/amount', $storeId);
if ($this->getBaseSubtotalWithDiscount() < $amount) {
    return false
}
$amount=Mage::getStoreConfig('sales/minimum\u order/amount',$storeId);
如果($this->getBaseSubtotalWithDiscount()<$amount){
返回错误
}
只需将

然后在App>Code>Core>Mage>Sales>etc>system.xml的第157-226行附近将所有标签从“最小金额”更改为“最大金额”,以便在后端正确显示在菜单中