How is the Austpost free Shipping Module Called ? i.e. austpost.php
Parts of it seem to get called twice unnecessarily.
For example the function quote() on about line 73, gets called twice. I placed an echo debug at the top of this function which demonstrated that it was called twice.
function quote($method = '') {
echo " TEST DEBUG Quote() : ";
Also the main loop that goes through the cart also seems to get called twice unnecessarily. i.e. the For Next loop that starts about line 156.
for($x = 0 ; $x < count($order->products) ; $x++ ) {
Thus when I debug the code, I'm getting double debug statements everywhere.
It just seems strange and somewhat redundant and inefficient. Thus that's why I'm wondering what the calling module is and or where the function Quote() is called from ?
Any ideas ? It would be nice to get just one debug statement instead of two.
Bookmarks