Version: - integer  


Returns an integer that represents the product price type


The value is based on the Price calculation dropdown for a product (only available if the product is a parts list).

(Ecommerce > Product Catalog > Shop > Product group > Product > Details > Settings)


  1. Calculated price.
  2. Fixed price
  3. [Obsolete type]
  4. Fixed price plus changes


Outputting the template tag


Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:Product.PriceType"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Product.PriceType"); }

Outputting the template tag


Check if integer has a value

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