<div id="myWidget" class="piq-widget-container"></div>
<script>
PrintIQ.ClientWidget.Init({
treeNodeId: null, //tree node to pre-select
shortCodes: "", //short codes which pre-select various options
appKey: "BC5A7F56-A94D-425A-BA11-FB716FE3A2BF", // appKey from tblAPI_Application for Client Widget
userId: "3CA8FB34-0965-4706-8F52-640A220C21B9", // udUserID from tblUserDetail for WIDGET user
showTreeNodeSelector: true, //allow user to select different tree nodes (visible yes/no)
showPrice: true, //user can show price and then proceed to quote, else user will proceed to quote and see price in PIQ
showKinds: false, //prompt user for number of kinds
container: document.getElementById("myWidget"), // where to build the widget
includeGst: false, //include gst in the price shown to user
addToCart: true, //when true, add product to cart, else go straight to the details page
useCheckoutScreen: true, //when true, the cart checkout button will take user to quote details, else theyíll go to simplified and have to select one of their products
showAnotherProductButton: true //when true, another product button will be shown so they can add another product to cart, else theyíll go to the quote details/simplified page
});
</script>
<script>
$('[id="myWidget2"]').not(':eq(1)').remove();
window.CartWidget_Config = PrintIQ.CartWidget.Init({
appKey: "5EC62A46-2FB5-4A4C-9ED9-FC9448E80086",
UserId: "3CA8FB34-0965-4706-8F52-640A220C21B9",
container: document.getElementById("myWidget2"),
hideCartIfEmpty: false, //when true, hide the cart icon when there are no products
useCookies: true, //when true, users cart will be persisted across page refresh
checkoutUsesSimplified: false //when true, user will be taken to QuoteDetails page, else theyíll be taken to the simplified page with their product set
});
</script>