Ecom:Cart.EmptyCartLink

Version: - string  

Summary

Returns a link that can be used to empty the Cart.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Cart.EmptyCartLink")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:Cart.EmptyCartLink-->

Check if string has a value

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