@Model.Title
@if (!string.IsNullOrEmpty(Model.Description))
{
@Safe.Raw(Model.Description)
}
@for (int x = 0; x < Model.Items.Length; x++)
{
var item = Model.Items[x];
var buttonText = (string.IsNullOrEmpty(item.BuyButtonText) ?
item.Custom?
Model.CustomButtonText :
Model.ButtonText
: item.BuyButtonText)
.Replace("{0}",item.Price.Formatted)
.Replace("{Price}",item.Price.Formatted);
@if (!String.IsNullOrWhiteSpace(item.Image))
{

}
@item.Title
@if (!String.IsNullOrWhiteSpace(item.Description))
{
@Safe.Raw(item.Description)
}
}
@if (Model.ShowCustomAmount)
{
Custom Amount
Create invoice to pay custom amount
}