DefaultDeliveryBuilderInitCustomData Method |
Namespace: CMS.Ecommerce
protected virtual void InitCustomData( CalculationRequest request )
protected override void InitCustomData(CalculationRequest request) { base.InitCustomData(request); // Single value SetCustomData("RegisteredCustomer", request.Customer.CustomerIsRegistered); // Add complete calculation request's custom data to delivery AddContainerToCustomData(request.RequestCustomData); }