Dibs.merchant

Version: - string  

Summary

Returns the merchant ID that identifies the shop.

Settings

The value comes from the Merchant ID field for the payment gateway.
(Management Center > eCommerce settings > Orders > Payment > Payment method > General > Parameters > Merchant)

Examples

Outputting the template tag

@GetString("Dibs.merchant")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Dibs.merchant-->

Check if string has a value

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