nsScript is a powerful scripting language that can be used in many areas of your sites content. You can easily insert scripts using the nsScript drop down wherever you can add HTML.
One simple but useful way to use nsScript is in creating a custom View Cart / Checkout button area. Using a couple simple lines of code you can show the Number of Items and the Current Total in the Cart.
In this example
that was accomplished by adding the following lines of code:
Items: <%Cart.Count%>, Cart Total: <%Cart.Total%>
The numbers will automatically update as items are added to the cart.Google+