Ecom:CustomerCenter.Carts.BelongsToCurrentUser

Version: 9.8.0 boolean  

Summary

Returns True if the cart belongs to current user.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:CustomerCenter.Carts.BelongsToCurrentUser")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:CustomerCenter.Carts.BelongsToCurrentUser"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Ecom:CustomerCenter.Carts.BelongsToCurrentUser"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.Carts.BelongsToCurrentUser-->

Check if boolean has a value

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