Ecom:LastAddedProduct.AlternativeImages.Image

Version: - string  

Summary

Returns file path to an alternative image. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:LastAddedProduct.AlternativeImages.Image")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:LastAddedProduct.AlternativeImages.Image"); }

Outputting the template tag

<!--@Ecom:LastAddedProduct.AlternativeImages.Image-->

Check if string has a value

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