Last active
August 29, 2015 14:24
-
-
Save brandonsheppard/0823c1aa82aa391c5f06 to your computer and use it in GitHub Desktop.
Hide RRP from user group 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="savings-container"> | |
[%if [@user:group_id@] eq '3'%] | |
[%if [@inpromo@]%] | |
<span class="label label-danger">On Sale</span> | |
[%/if%] | |
[%if [@save@] > 0 and ![@has_child@] %] | |
<span class="label label-warning"> | |
[%format type:'percent'%][@save@][%/format%] OFF</span> | |
[%/if%] | |
[%if [@save@] > 0%] | |
<span class="label label-default">RRP [%format type:'currency'%][@retail@][%/format%]</span> | |
[%/if%] | |
[%/if%] | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment