The value as entered in the admin, without translation.
if (spec.DefaultValue == "350gsm") {
// heavy stock
}
The name of the specification attribute.
var name = spec.Key; // "Paper Weight"
The value, translated into the customer's language. Use it for display; compare against DefaultValue in pricing logic.
debug(spec.Key + ": " + spec.Value);
Generated using TypeDoc
A specification attribute of the product being priced.