free shipping and does not require shipping products

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
If either a product with free shipping or a product that doesn't require shipping is added to the basket, the behaviour is as expected, no shipping is charged, however if both are placed in the basket,
ie. one product that has free shipping and one product that doesn't require shipping,
a shipping fee is applied here but shouldn't be
13 years ago
fixed it in method in Shipping Manager:
IsFreeShipping(ShoppingCart cart, Customer customer)

foreach (var sc in cart)
                if (!sc.IsFreeShipping && sc.IsShipEnabled)
                {
                    allItemsAreFreeShipping = false;
                    break;
                }
13 years ago
You're absolutely right. Thanks for info
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.