Ecom:Product.ActualPrice
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.ActualPrice")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.ActualPrice"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.ActualPrice");
}
Outputting the template tag
<!--@Ecom:Product.ActualPrice-->
Check if string has a value
<!--@If Defined(@Ecom:Product.ActualPrice)-->
Let's output this tag here: <strong><!--@Ecom:Product.ActualPrice--></strong>
<!--@EndIf(@Ecom:Product.ActualPrice)-->