Ecom:Product.ImageSmall.Default.Clean

Version: - string  

Summary

Returns an URL for the small (default) image.

Settings

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

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

Examples

Outputting the template tag

@GetString("Ecom:Product.ImageSmall.Default.Clean")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:Product.ImageSmall.Default.Clean-->

Check if string has a value

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