Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Display price only when logged in
{I searched and didn't see any info....let me know if there is another thread)
I would like to display prices only when logged in....I'm thinking that I can just add something like this to my item template:
<script language="javascript" type="text/javascript">
if ('<%=getCurrentAttribute("item", "pricelevel1")%>' != '<%=getCurrentAttribute("item", "salesPrice")%>')
document.writeln('Price: <span class="saleprice"><%=getCurrentAttribute("item", "salesPrice")%></span>');
else
document.writeln('Login for Price');
</script>
Would this work? Any other ideas or comments?
Thanks,
Kerrie