I setup price based shipping fees calculation and they are reduced to zero when cart value is greater than 50 euros. Is it possible to show a code (maybe a banner) when shipping rates result is 0? I use lotusbreath one page checkout

  • Did you try Catalog Price Rules in Magento Backend
    – Magento 2
    Commented Nov 13, 2015 at 7:09
  • I don't think It can be do with Catalog Price Rules. I need something like: if shipping price is zero then show <img src..... />
    – domfitty
    Commented Nov 14, 2015 at 17:26

1 Answer 1


Shipping Charge can get at checkout page by below:


If you use magento default checkout onepage then just goto app/design/frontend/YourPackage/YourTheme/template/checkout/onepage.phtml.

Just put a condtion is if Mage::getSingleton('checkout/session')->getQuote() ->getShippingAddress()->getShippingAmount() is 0 the put a banner.


<?php if(intval(Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingAmount())==0): ?>

// call banner
<?php endif; ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.