Magento CE 220.127.116.11 and
Table Rates is my only shipping method.
The rate € 5,00 for all orders below € 99,95 and € 0,00 for all orders of € 99,95 or more.
This is what the
Shipping Method step looks like when someone places an order of € 99,95 or more.
Now I want to dynamically replace the "Best Way" carrier name with "Free Shipping" when the order is € 99,95 or more.
I've found out that in
the following code
<dt> <?php echo $this->escapeHtml($this->getCarrierName($code)) ?> </dt>
is responsible for printing the carier name.
I have tried
<dt> <?php if ($this->getShippingPrice()== 0): ?> <?php echo $this->__('Free Shipping') ?> <?php else: ?> <?php echo $this->escapeHtml($this->getCarrierName($code)) ?> <?php endif; ?> </dt>
But this doesn't work. This logic always prints "Free Shipping" even if the shipping price NOT 0,00.
What is the best way to build some logic into this?