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.
Hace 13 años
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
Hace 13 años
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;
                }
Hace 13 años
You're absolutely right. Thanks for info
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.