Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Remove unused method

support3e2c61d1a3b8
diff --git a/src/Core/Grand.Domain/Orders/CheckoutAttributeExtensions.cs b/src/Core/Grand.Domain/Orders/CheckoutAttributeExtensions.cs
index d27211510..ddecb6e98 100644
--- a/src/Core/Grand.Domain/Orders/CheckoutAttributeExtensions.cs
+++ b/src/Core/Grand.Domain/Orders/CheckoutAttributeExtensions.cs
@@ -45,17 +45,5 @@ namespace Grand.Domain.Orders
return true;
}
- /// <summary>
- /// Remove attributes which require shippable products
- /// </summary>
- /// <param name="checkoutAttributes">Checkout attributes</param>
- /// <returns>Result</returns>
- public static IList<CheckoutAttribute> RemoveShippableAttributes(this IList<CheckoutAttribute> checkoutAttributes)
- {
- if (checkoutAttributes == null)
- throw new ArgumentNullException(nameof(checkoutAttributes));
-
- return checkoutAttributes.Where(x => !x.ShippableProductRequired).ToList();
- }
}
}