Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,11 @@ protected function handlePrice(Mage_Catalog_Model_Product &$product, $sub_produc
$directoryCurrency = Mage::getModel('directory/currency');
$currencies = $directoryCurrency->getConfigAllowCurrencies();

if (Mage::helper('core')->isModuleEnabled('Mage_Weee') &&
Mage::helper('weee')->getPriceDisplayType($product->getStore()) == 0) {
// Get the weee tax amount if the weee module is enabled and for all types that include it
if (
Mage::helper('core')->isModuleEnabled('Mage_Weee') &&
Mage::helper('weee')->typeOfDisplay($product, [0, 1, 4])
) {
$weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($product);
} else {
$weeeTaxAmount = 0;
Expand Down