Exemple #1
0
        public bool IsSKUWeightRequired(Product product)
        {
            var weightNotRequired = ProductTypes.IsOfType(product.ProductType, ProductTypes.MailingProduct) &&
                                    ProductTypes.IsOfType(product.ProductType, ProductTypes.TemplatedProduct);

            return(!weightNotRequired);
        }
Exemple #2
0
 public bool HasProductTypeFlag(string productType)
 {
     return(ProductTypes.IsOfType(ProductType, productType));
 }