using Nop.Core.Configuration; namespace Nop.Core.Domain.Shipping; /// /// Shipping settings /// public partial class ShippingSettings : ISettings { public ShippingSettings() { ActiveShippingRateComputationMethodSystemNames = new List(); ActivePickupPointProviderSystemNames = new List(); } /// /// Gets or sets system names of active shipping rate computation methods /// public List ActiveShippingRateComputationMethodSystemNames { get; set; } /// /// Gets or sets system names of active pickup point providers /// public List ActivePickupPointProviderSystemNames { get; set; } /// /// Gets or sets a value indicating "Ship to the same address" option is enabled /// public bool ShipToSameAddress { get; set; } /// /// Gets or sets a value indicating whether customers can choose "Pick Up in Store" option during checkout (displayed on the "billing address" checkout step) /// public bool AllowPickupInStore { get; set; } /// /// Gets or sets a value indicating whether display a pickup points in the map /// public bool DisplayPickupPointsOnMap { get; set; } /// /// Gets or sets a value indicating whether ignore additional shipping charge for pick up in store /// public bool IgnoreAdditionalShippingChargeForPickupInStore { get; set; } /// /// Gets or sets Google map API key /// public string GoogleMapsApiKey { get; set; } /// /// Gets or sets a value indicating whether the system should use warehouse location when requesting shipping rates /// This is useful when you ship from multiple warehouses /// public bool UseWarehouseLocation { get; set; } /// /// Gets or sets a value indicating whether customers should be notified when shipping is made from multiple locations (warehouses) /// public bool NotifyCustomerAboutShippingFromMultipleLocations { get; set; } /// /// Gets or sets a value indicating whether 'Free shipping over X' is enabled /// public bool FreeShippingOverXEnabled { get; set; } /// /// Gets or sets a value of 'Free shipping over X' option /// public decimal FreeShippingOverXValue { get; set; } /// /// Gets or sets a value indicating whether 'Free shipping over X' option /// should be evaluated over 'X' value including tax or not /// public bool FreeShippingOverXIncludingTax { get; set; } /// /// Gets or sets a value indicating whether 'Estimate shipping' is enabled on the shopping cart page /// public bool EstimateShippingCartPageEnabled { get; set; } /// /// Gets or sets a value indicating whether 'Estimate shipping' is enabled on the product details pages /// public bool EstimateShippingProductPageEnabled { get; set; } /// /// Gets or sets a value indicating whether to use city name on 'Estimate shipping' widget instead zip postal code /// public bool EstimateShippingCityNameEnabled { get; set; } /// /// A value indicating whether customers should see shipment events on their order details pages /// public bool DisplayShipmentEventsToCustomers { get; set; } /// /// A value indicating whether store owner should see shipment events on the shipment details pages /// public bool DisplayShipmentEventsToStoreOwner { get; set; } /// /// A value indicating whether should hide "Shipping total" label if shipping not required /// public bool HideShippingTotal { get; set; } /// /// Gets or sets shipping origin address /// public int ShippingOriginAddressId { get; set; } /// /// Gets or sets a value indicating whether we should return valid options if there are any (no matter of the errors returned by other shipping rate computation methods). /// public bool ReturnValidOptionsIfThereAreAny { get; set; } /// /// Gets or sets a value indicating whether we should bypass 'select shipping method' page if we have only one shipping method /// public bool BypassShippingMethodSelectionIfOnlyOne { get; set; } /// /// Gets or sets a value indicating whether dimensions are calculated based on cube root of volume /// public bool UseCubeRootMethod { get; set; } /// /// Gets or sets a value indicating whether to consider associated products dimensions and weight on shipping, false if main product includes them /// public bool ConsiderAssociatedProductsDimensions { get; set; } /// /// Gets or sets a value indicating whether to send all the items of a product marked as "Ship Separately" separately; if false, all the items of a such product will be shipped in a single box, but separately from the other order items /// public bool ShipSeparatelyOneItemEach { get; set; } /// /// Gets or sets the request delay in the shipping calculation popup (on product page/shopping cart page) when user enter the shipping address. /// public int RequestDelay { get; set; } /// /// Gets or sets a value for sorting shipping methods (on the product/shopping cart page when the user selects a shipping method) /// public ShippingSortingEnum ShippingSorting { get; set; } }