Skip to content

Commit

Permalink
feat: remove the setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Oct 4, 2023
1 parent cd12fff commit c0d8074
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
10 changes: 0 additions & 10 deletions src/VirtoCommerce.OrdersModule.Core/ModuleConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,6 @@ public static class General
DefaultValue = false,
};

public static SettingDescriptor CreateAnonymousOrder { get; } = new SettingDescriptor
{
Name = "Order.CreateAnonymousOrder.Enable",
ValueType = SettingValueType.Boolean,
GroupName = "Orders|General",
DefaultValue = true
};

public static IEnumerable<SettingDescriptor> AllSettings
{
get
Expand All @@ -272,7 +264,6 @@ public static IEnumerable<SettingDescriptor> AllSettings
yield return CustomerOrderValidation;
yield return OrderPaidAndOrderSentNotifications;
yield return PaymentShipmentStatusChangedNotifications;
yield return CreateAnonymousOrder;
}
}
}
Expand All @@ -285,7 +276,6 @@ public static IEnumerable<SettingDescriptor> StoreLevelSettings
yield return General.OrderPaymentInNewNumberTemplate;
yield return General.OrderShipmentNewNumberTemplate;
yield return General.RefundNewNumberTemplate;
yield return General.CreateAnonymousOrder;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,6 @@
"Order.PaymentShipmentStatusChangedNotifications.Enable": {
"title": "Use payments/shipments status changed notifications",
"description": "Use for payments/shipments status change notifications"
},
"Order.CreateAnonymousOrder.Enable": {
"title": "Allow anonymous users to create orders",
"description": "This setting is store level."
}
},
"module": {
Expand Down

0 comments on commit c0d8074

Please sign in to comment.