GtmProductHelperMapSKUInternal Method |
Namespace: CMS.Ecommerce
protected virtual GtmData MapSKUInternal( SKUInfo sku, Object additionalData = null, string purpose = null )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when sku is null. |
To customize returned gtmData override this method in similar fashion.
base.MapInternal(gtmObject, additionalData, purpose);
gtmData.Add("key", "value");
To customize the whole mapping process do not call base implementation.