2012-04-19 6 views

答えて

0

バックエンドでmage_taxモジュールを有効にしていますか?

System > Configuration > Advanced > Enable the Mage_Tax module

もしそうなら、あなたはメイジ1.4を使用している代わりに、この修正プログラムを試してみてください

  1. あなたのMagentoのディストリビューションで以下のフォルダを作成します。app/code/local/Mage/CatalogRule /モデル

  2. コピーapp/code/core/Mage/CatalogRule/Model/Observer.phpapp/code/local/Mage/CatalogRule/Model

  3. 新しい/コピーされたファイルを開く

    if ($observer->hasCustomerGroupId()) { 
        $gId = $observer->getEvent()->getCustomerGroupId(); 
    } elseif ($product->hasCustomerGroupId()) { 
        $gId = $product->getCustomerGroupId(); 
    } else { 
        $gId = Mage::getSingleton('customer/session')->getCustomerGroupId(); 
    } 
    

    if ($observer->hasCustomerGroupId()) { 
        $gId = $observer->getEvent()->getCustomerGroupId(); 
    } elseif ($product->hasCustomerGroupId()) { 
        $gId = $product->hasCustomerGroupId(); 
    } else { 
        $gId = Mage::getSingleton('customer/session')->getCustomerGroupId(); 
    } 
    

    から

:と105の変更にこのコード行目に行きます