Buckaroo.Invoice

Version: - string  

Summary

Returns name of invoice.

Settings

The value is generated automaticaly, based on current order ID.

Examples

Outputting the template tag

@GetString("Buckaroo.Invoice")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if tag has a value

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

Assign tag to a value for later use

@{
string storedTag = GetString("Buckaroo.Invoice");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Outputting the template tag

<!--@Buckaroo.Invoice-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Check if string has a value

<!--@If Defined(@Buckaroo.Invoice)-->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX