Ecom:Product.ActualPriceWithVAT
Version: - stringSummary
Returns the product price incl. VAT, but excl. taxes and discounts.
Settings
The value is based on the input fields on the Prices tab for a product.
(Ecommerce > Product Catalog > Shop > Product group > Product > Prices tab)
Examples
Outputting the template tag
@GetString("Ecom:Product.ActualPriceWithVAT")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.ActualPriceWithVAT"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.ActualPriceWithVAT");
}
Outputting the template tag
<!--@Ecom:Product.ActualPriceWithVAT-->
Check if string has a value
<!--@If Defined(@Ecom:Product.ActualPriceWithVAT)-->
Let's output this tag here: <strong><!--@Ecom:Product.ActualPriceWithVAT--></strong>
<!--@EndIf(@Ecom:Product.ActualPriceWithVAT)-->