Ecom:Product.Configurator.Selected
Version: - stringSummary
Returns the string "SELECTED" for the product that have been selected in the BOM.
Settings
The value is based on the radio buttons that appears when a BOM is unfolded on the Parts list tab.
(Eommerce > Product Catalog > Shop > Product group > Product > Parts list tab)
Examples
Outputting the template tag
@GetString("Ecom:Product.Configurator.Selected")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.Configurator.Selected"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.Configurator.Selected");
}
Outputting the template tag
<!--@Ecom:Product.Configurator.Selected-->
Check if string has a value
<!--@If Defined(@Ecom:Product.Configurator.Selected)-->
Let's output this tag here: <strong><!--@Ecom:Product.Configurator.Selected--></strong>
<!--@EndIf(@Ecom:Product.Configurator.Selected)-->