Ecom:Product.Tax.Price

Version: - string  

Summary

Returns the calculated tax price.

Settings

The value is generated automatically.

Remarks

Includes the option to add price extensions in order to format the product price. See Price extensions (Prefix : Ecom:Product.Tax.Price).

Examples

Outputting the template tag

@GetString("Ecom:Product.Tax.Price")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.Tax.Price"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Product.Tax.Price"); }

Outputting the template tag

<!--@Ecom:Product.Tax.Price-->

Check if string has a value

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