Version: - string  


Returns an URL to the icon of the stock state.


The value is based on Stock status selection for the product and the Icon field for the stock state.

(Management Center - Ecommerce - Orders - Stock state - Stock state - Status)


Outputting the template tag


Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Stock.Image.Clean"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product:Stock.Image.Clean"); }

Outputting the template tag


Check if string has a value

<!--@If Defined(@Ecom:Product:Stock.Image.Clean)--> Let's output this tag here: <strong><!--@Ecom:Product:Stock.Image.Clean--></strong> <!--@EndIf(@Ecom:Product:Stock.Image.Clean)-->