Created
October 14, 2014 08:34
-
-
Save rahulsahay19/4e77a5683686d211a8cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (shippingOptions != null) | |
{ | |
var selectedOption = shippingOptions.SelectedShippingOptionDetails; | |
result.SelectedShippingOption = selectedOption; | |
result.ShowDeliveryMethodInformation = cartResponse.ShippingInfo.RequiresDelivery; | |
result.ShowSelectedShippingOption = selectedOption != null && !string.IsNullOrEmpty(selectedOption.Id); | |
if (_contactsSettings.Current.EndUserContact.Mode != ContactSettingsMode.Off) | |
{ | |
result.ShowEndUserContactInformation = true; | |
} | |
else | |
{ | |
result.ShowEndUserContactInformation = false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment