Setting Free if shipping method is £0.00

AbbasAbbas Member Posts: 79 ✭

Would anyone know how to add an iff statement to this part of the cart code that shows the money?

Instead of displaying 0.00 we would like it to display free

         {% if shop.b2b %}

          <span> ({{ method.price_excl | money }})</span>

         {% else %}

          <span> ({{ method.price_incl | money }})</span>

         {% endif %}

They are discussing a similar thing here

This is what we need to display

Instead of this

Thank you in advance for any help

1 comment

  • bfodbfod Member Posts: 9

    I'm not sure if this would work, but you can add a "Translation" that would replace "0.00" with "Free". To do this go to eCom backend -> content -> translations

Sign In or Register to comment.