Following markup and template tags will display stock state and price for an item in DynamicWeb eCommerce 8
[html]<!–@If Defined(Ecom:Product:Stock.Text)–>
<div class="<!–@Ecom:Product:Stock.ID–>" id="productstock">
<h2><!–@Translate(stocheader, "Stock status")–></h2>
<span class="stocktext" style="display:block"><!–@Ecom:Product:Stock.Text–>: <img src="<!–@Ecom:Product:Stock.Image.Clean–/>" alt="" /></span>
<span class="stockdeliverytext">Delivery time: <!–@Ecom:Product:Stock.DeliveryText–> <!–@Ecom:Product:Stock.DeliveryUnit–></span>
<span style="display:block"><!–@Ecom:Product.Price–></span>
</div>
<!–@EndIf(Ecom:Product:Stock.Text)–>
[/html]