Ecom:Product.Discount.TotalAmount.VATPercent

Version: - double  

Summary

Returns the total amount of VAT in percent on the discounts.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDouble("Ecom:Product.Discount.TotalAmount.VATPercent")

Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Product.Discount.TotalAmount.VATPercent"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Product.Discount.TotalAmount.VATPercent"); }

Outputting the template tag

<!--@Ecom:Product.Discount.TotalAmount.VATPercent-->

Check if double has a value

<!--@If Defined(@Ecom:Product.Discount.TotalAmount.VATPercent)--> Let's output this tag here: <strong><!--@Ecom:Product.Discount.TotalAmount.VATPercent--></strong> <!--@EndIf(@Ecom:Product.Discount.TotalAmount.VATPercent)-->