Showing the OrderProductId in the cart - xmpie-users/uStore-js GitHub Wiki
In some cases it may be useful to show the OrderProductId in the shopping cart.
For example, if the customer starts to configure a product in order to get a price (quote) and saves the partly completed order, they may want to refer to this as the Quote ID?
<script type="text/javascript">
$("document").ready(function() {
if (document.title.indexOf("Cart") > -1) {
$(".divNickName").each(function(key,value){
$(this).prepend("JOB ID: " + $(this).attr("orderproductid") + " ");
});
}
});
</script>
For information on how to add JavaScript to your store: How to add JavaScript to a storefront.