Ecom:Product.Configurator.Quantity

Version: - double  

Summary

Returns the default quantity of the product in the parts list.

Settings

The value is based on the Quantity field in the parts list settings.

(Eommerce > Product Catalog > Shop > Product group > Product > Parts list tab)

Examples

Outputting the template tag

@GetDouble("Ecom:Product.Configurator.Quantity")

Check if tag has a value

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

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Product.Configurator.Quantity"); }

Outputting the template tag

<!--@Ecom:Product.Configurator.Quantity-->

Check if double has a value

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