-M- Posted November 5, 2015 Share Posted November 5, 2015 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! 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 5, 2015 Share Posted November 5, 2015 the if statement method should work - what does it look like? 1 Quote Link to comment Share on other sites More sharing options...
sentq Posted November 5, 2015 Share Posted November 5, 2015 do you have example? 1 Quote Link to comment Share on other sites More sharing options...
-M- Posted November 6, 2015 Author Share Posted November 6, 2015 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.