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 Nov 13 '15 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 Nov 14 '15 at 17:26

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; ?>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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