Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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>