cancel
Showing results for 
Search instead for 
Did you mean: 

Call getQuote without GetTotals to stop recursion in shipping

Call getQuote without GetTotals to stop recursion in shipping

This seems so strange i can't do this, but I have a custom carrier which does a customer-specific calculation for shipping using the items in the cart.

The problem is when within the rate calculations I call 

cart->getItems()

it calls into GetTotals, which calls back into the shipping calculation - recursively.

Surely there's a simple way of doing this without hitting it over the head with an interceptor?.  Is there something simple i'm missing?