Magento Forum

How to not consider free items when calculating shipping costs? 
 
cads
Member
 
Total Posts:  47
Joined:  2010-07-09
 

In my shop shipping is free on orders over $75.

I want to add a free item A to the cart when the customer purchases a specific product B.

Item A is set to be free of charge by:

quoteItem->setOriginalCustomPrice(0);

This works fine so far. But for the calculation of the shipping costs still the original price of A is used. As a result, shipping is free when the original price of A and the price of B add up to be over $75.

Does anyone know how to fix this?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top