Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Build Handlebars Template with "log in for price"
We retrieve data from a suitelet and pass to handlebars template.
<div class="itemlistprice"><table><tr><td><span>Price: </span> ${{onlinecustomerprice}} or below</td></tr></table></div>
<div style="display: none;" class="quantityavailablecontainer">{{quantityavailable}}</div>
<div class="quantityavailablecontainerinner">
<span class="qtyqty">Qty: </span>
<input type="number" min="1" value="1" id="quantity_{{internalid}}" class="quantity"></input>
<input type="number" min="{{minimumquantity}}" value="{{minimumquantity}}" id="quantity_{{internalid}}" class="quantity2"></input>