Version: - string  


Returns an URL for the large (default) image for the last added product.


The value is based on the Large input field under the ecommerce no image settings.

(Management Center - Ecommerce - Advanced - Images - No image - Large)


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:LastAddedProduct.ImageLarge.Default.Clean"); }

Outputting the template tag


Check if string has a value

<!--@If Defined(@Ecom:LastAddedProduct.ImageLarge.Default.Clean)--> Let's output this tag here: <strong><!--@Ecom:LastAddedProduct.ImageLarge.Default.Clean--></strong> <!--@EndIf(@Ecom:LastAddedProduct.ImageLarge.Default.Clean)-->