helper('core'); $_weeeHelper = $this->helper('weee'); $_taxHelper = $this->helper('tax'); /* @var $_coreHelper Mage_Core_Helper_Data */ /* @var $_weeeHelper Mage_Weee_Helper_Data */ /* @var $_taxHelper Mage_Tax_Helper_Data */ $_product = $this->getProduct(); $_storeId = $_product->getStoreId(); $_store = $_product->getStore(); $_id = $_product->getId(); $_weeeSeparator = ''; $_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices()); $_minimalPriceValue = $_product->getMinimalPrice(); $_minimalPriceValue = $_store->roundPrice($_store->convertPrice($_minimalPriceValue)); $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax); $_convertedFinalPrice = $_store->roundPrice($_store->convertPrice($_product->getFinalPrice())); $_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel(); ?> isGrouped()): ?> getAmountForDisplay($_product); ?> getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?> isTaxable()): ?> getAmountInclTaxes($_weeeTaxAttributes); ?> roundPrice($_store->convertPrice($_weeeTaxAmount)); ?> roundPrice($_store->convertPrice($_weeeTaxAmountInclTaxes)); ?>
roundPrice($_store->convertPrice($_product->getPrice())); ?> getPrice($_product, $_convertedPrice); ?> getPrice($_product, $_convertedPrice, $_simplePricesTax); ?> getPrice($_product, $_convertedFinalPrice) ?> getPrice($_product, $_convertedFinalPrice, true) ?> getPriceDisplayType(); ?> = $_price): ?> displayBothPrices()): ?> typeOfDisplay($_product, 0)): // including ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_price + $_weeeTaxAmount, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?> typeOfDisplay($_product, 1)): // incl. + weee ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_price + $_weeeTaxAmount, false) ?> ( getName(); ?>: currency($_weeeTaxAttribute->getAmount(), true, true); ?> ) helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?> typeOfDisplay($_product, 4)): // incl. + weee ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_price + $_weeeTaxAmount, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?> ( getName(); ?>: currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?> ) typeOfDisplay($_product, 2)): // excl. + weee + final ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_price, false) ?> getName(); ?> : currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_price, false) ?> formatPrice($_finalPrice, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax, false) ?> typeOfDisplay($_product, array(0, 1))): // including ?> displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?> currency($_price + $weeeAmountToDisplay, true, true) ?> typeOfDisplay($_product, 1)): // show description ?> ( getName(); ?> : currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?> ) typeOfDisplay($_product, 4)): // incl. + weee ?> formatPrice($_price + $_weeeTaxAmount, true) ?> ( getName(); ?>: currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?> ) typeOfDisplay($_product, 2)): // excl. + weee + final ?> formatPrice($_price, true) ?>
displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?> getName(); ?> : currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?> currency($_price + $weeeAmountToDisplay, true, true) ?> formatPrice($_price, true) ?> formatPrice($_finalPrice, true) ?> getOriginalAmount($_product); ?> roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?> typeOfDisplay($_product, 0)): // including ?>

__('Regular Price:') ?> formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>

displayBothPrices()): ?>

helper('tax')->__('Excl. Tax:') ?> formatPrice($_finalPrice + $_weeeTaxAmount, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>

formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>

typeOfDisplay($_product, 1)): // incl. + weee ?>

__('Regular Price:') ?> formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>

displayBothPrices()): ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_finalPrice + $_weeeTaxAmount, false) ?> ( getName(); ?> : currency($_weeeTaxAttribute->getAmount(), true, true); ?> ) helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?> __('Special Price:') ?> formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?> ( getName(); ?> : currency($_weeeTaxAttribute->getAmount(), true, true); ?> )

typeOfDisplay($_product, 4)): // incl. + weee ?>

__('Regular Price:') ?> formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>

helper('tax')->__('Excl. Tax:') ?> formatPrice($_finalPrice + $_weeeTaxAmount, false) ?> ( getName(); ?>: currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?> ) helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>

typeOfDisplay($_product, 2)): // excl. + weee + final ?>

__('Regular Price:') ?> formatPrice($_regularPrice, false) ?>

helper('tax')->__('Excl. Tax:') ?> formatPrice($_finalPrice, false) ?> getName(); ?> : currency($_weeeTaxAttribute->getAmount(), true, true); ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>

__('Regular Price:') ?> formatPrice($_regularPrice, false) ?>

displayBothPrices()): ?>

helper('tax')->__('Excl. Tax:') ?> formatPrice($_finalPrice, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_finalPriceInclTax, false) ?>

formatPrice($_finalPrice, false) ?>

getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?> typeOfDisplay($_product, array(0, 1, 4))): ?> getUseLinkForAsLowAs()): ?> __('As low as:') ?> formatPrice($_minimalPriceDisplayValue, false) ?> getUseLinkForAsLowAs()): ?> getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
isGrouped()): */ ?> getDisplayMinimalPrice(); if ($showMinPrice && $_minimalPriceValue) { $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue); $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true); $price = $showMinPrice ? $_minimalPriceValue : 0; } else { $price = $_convertedFinalPrice; $_exclTax = $_taxHelper->getPrice($_product, $price); $_inclTax = $_taxHelper->getPrice($_product, $price, true); } ?>
class="minimal-price"> __('Starting at:') ?> displayBothPrices()): ?> helper('tax')->__('Excl. Tax:') ?> formatPrice($_exclTax, false) ?> helper('tax')->__('Incl. Tax:') ?> formatPrice($_inclTax, false) ?> displayPriceIncludingTax()) { $_showPrice = $_exclTax; } ?> formatPrice($_showPrice, false) ?>

getDisplayMinimalPrice() && $_minimalPrice): */ ?> isGrouped()): */ ?>