Setting the ‘As Low As’ Price to be the Excluding Tax Value

One of my customers is primarily B2B and they wanted the ‘as low as’ price in the catalog to show the excluding tax value, rather than the including tax value as it is by default. I could not find a way of doing this in the admin panel, so I did some digging and the solution is very straightforward, so I thought I would post it here.

Edit: frontend/default/your_theme_name/template/catalog/product/price.phtml

?Download price.xml
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
        <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
            <span class="label"><?php echo $this->__('As low as:') ?></span>
            <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_minimalPriceValue,true,false) ?></span>
        </a>
    <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
    </div>
 
<?php else: /* if (!$_product->isGrouped()): */ ?>
 
    <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
        <div class="price-box">
            <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
                <span class="label"><?php echo $this->__('Starting at:') ?></span>
                <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_minimalPriceValue,true,false) ?></span>
            </a>
        </div>
    <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>

Hope this helps someone! :)

Leave a Reply