Fulfillment concepts

The calculation of fulfillment charges is determined by the GlobalPhysicalFulfillmentPolicy. This policy controls the configuration based on the selected fulfillment method and currency. This policy is set up in the environment configuration JSON files in the wwwroot/data/Environments directory. You can modify the policy there.

The following is a sample configuration:

{
        "$type": "Sitecore.Commerce.Plugin.Fulfillment.GlobalPhysicalFulfillmentPolicy, Sitecore.Commerce.Plugin.Fulfillment",
        "MaxShippingWeight": 50.0,
        "MeasurementUnits": "Inches",
        "WeightUnits": "Lbs",
        "DefaultCartFulfillmentFees": {
          "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core]], mscorlib",
          "$values": [
            {
              "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
              "CurrencyCode": "USD",
              "Amount": 10.0
            },
            {
              "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
              "CurrencyCode": "CAD",
              "Amount": 12.0
            }
          ]
        },
        "DefaultCartFulfillmentFee": {
          "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
          "CurrencyCode": "USD",
          "Amount": 3.0
        },
        "DefaultItemFulfillmentFees": {
          "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core]], mscorlib",
          "$values": [
            {
              "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
              "CurrencyCode": "USD",
              "Amount": 2.0
            },
            {
              "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
              "CurrencyCode": "CAD",
              "Amount": 3.0
            }
          ]
        },
        "DefaultItemFulfillmentFee": {
          "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
          "CurrencyCode": "USD",
          "Amount": 3.0
        },
        "FulfillmentFees": {
          "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment]], mscorlib",
          "$values": [
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "USD",
                "Amount": 15.0
              },
              "Name": "Ground",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "USD",
                "Amount": 2.0
              },
              "Name": "Standard",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "USD",
                "Amount": 5.0
              },
              "Name": "Next Day Air",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "USD",
                "Amount": 10.0
              },
              "Name": "Standard Overnight",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "CAD",
                "Amount": 15.0
              },
              "Name": "Ground",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "CAD",
                "Amount": 2.0
              },
              "Name": "Standard",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "CAD",
                "Amount": 5.0
              },
              "Name": "Next Day Air",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            },
            {
              "$type": "Sitecore.Commerce.Plugin.Fulfillment.FulfillmentFee, Sitecore.Commerce.Plugin.Fulfillment",
              "Fee": {
                "$type": "Sitecore.Commerce.Core.Money, Sitecore.Commerce.Core",
                "CurrencyCode": "CAD",
                "Amount": 10.0
              },
              "Name": "Standard Overnight",
              "Policies": {
                "$type": "System.Collections.Generic.List`1[[Sitecore.Commerce.Core.Policy, Sitecore.Commerce.Core]], mscorlib",
                "$values": []
              }
            }
          ]
        }
      }