Display Quantity On Hand

[-- ProductInventoryPopUp {optional string} --]

That is the expected result. The tag [-- PRODUCT.QuantityOnHand --] is a static tag, meaning it is only checked when you publish. Since the page created by ShopSite is static and not dynamic, the number will not update until your next publish, at which time it queries the database and publishes with the current inventory.

If you are looking for real-time dynamic numbers on your pages for inventory, look at the two new inventory tags:

[-- ProductInventoryPopUp {optional string} --] Creates a link which will make a pop-up window (200px x 100px) displaying the Quantity On Hand. If you do not specify text to use for the link, the default text is Inventory.

[-- ProductInventoryActual path_to_shopping_cart_cgi {optional string} --] Display current Quantity On Hand on the page using Server Side Includes (SSI). This tag creates an SSI #include tag, so your Web server must be configured to allow SSI (contact your Hosting Provider for help on doing this). The optional description text appears before the actual quantity.

Below is an example using the [-- ProductInventoryPopUp {optional string} --] tag: