Ecom:Product.Updated

Version: - date  

Summary

Returns the last modification date of the current product.

Settings

The value is generated automatically.

Remarks

Includes the option to add date extensions in order to format the updated date.

See Date/time tag extensions for further details about formatting this date. 

(Prefix : Ecom:Product.Updated)

Examples

Outputting the template tag

@GetDate("Ecom:Product.Updated")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Ecom:Product.Updated"); }

Outputting the template tag

<!--@Ecom:Product.Updated-->

Check if date has a value

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