Ecom:Cart.MissingProduct.Name

Version: - string  

Summary

Returns the name of the product that is no longer available in the cart.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Cart.MissingProduct.Name")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Cart.MissingProduct.Name"); }

Outputting the template tag

<!--@Ecom:Cart.MissingProduct.Name-->

Check if string has a value

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