Dibs.color

Version: - string  

Summary

Returns the color you have selected for the DIBS FlexWin window.

Settings

The value is generated automatically.

Remarks

The value comes from the Color in DIBS window field for the payment gateway.
(Management Center > eCommerce settings > Orders > Payment > Payment method > General > Parameters > Color in DIBS window)

Examples

Outputting the template tag

@GetString("Dibs.color")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Dibs.color"); }

Outputting the template tag

<!--@Dibs.color-->

Check if string has a value

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