Jump to content

Hide €0,00 EUR values from floating cart?


-M-

Recommended Posts

Quick question.

 

Is it possible to hide values like "€0,00 EUR" from the floating cart.

For example in "ordersummary.tpl"

 

I tried using a replace function/if statement, however I think it doesn't work because of "EUR"-part?

 

Anyone got a simple approach to this?

 

Thank you!

Link to comment
Share on other sites

Well apparently I made a mistake somehwere, I redid this and now it's working. No clue what I did wrong though. Oh well. :)

 

For those interested in hiding the €0.00 values, here is the code:

 

           {if $configoption.recurring eq "€0,00 EUR"}
           	{$configoption.recurring|replace:'€0,00 EUR':''}
           {else}            
           {$configoption.recurring}{/if}

 

Thanks for replying people. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated