Version: - string  


Returns a long description of the current product.


The value is based on the Description text field under the Description tab for a product.

(Ecommerce > Product Catalog > Product group/product > Description tab > Description panel)


In 8.x versions: If the short description (teaser) is empty for a product, then Ecom:Product.ShortDescription and Ecom:Product.ShortDescription.Raw gets the content from the long description (same content as Ecom:Product.LongDescription).

From version New checkbox in Management center - eCommerce - Advanced settings - General - Templates: Use product description if teaser text is empty.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product.LongDescription"); }

Outputting the template tag


Check if string has a value

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