Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
Hide RRP from user group 3
<div class="savings-container">
[%if [@user:group_id@] eq '3'%]
[%if [@inpromo@]%]
<span class="label label-danger">On Sale</span>
[%if [@save@] > 0 and ![@has_child@] %]
<span class="label label-warning">
[%format type:'percent'%][@save@][%/format%] OFF</span>
[%if [@save@] > 0%]
<span class="label label-default">RRP [%format type:'currency'%][@retail@][%/format%]</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment