I am new to writing Magento addons, but have made an attempt at making my own shipping module. As part of this I am trying to pass one additional field called “Note” as part of the carrier result, and I am doing some debugging to see why it currently isn’t working.
In the block Mage_Checkout_Block_Onepage_Shipping_Method_Available (public_html\m\app\code\core\Mage\Checkout\Block\Onepage\Shipping\Method\available.php)
Line number 28 says:
<?php $_shippingRateGroups = $this->getShippingRates(); ?>
I am trying to list the content of this variable but I’m not able to do it using print_r, var_dump or ->debug() field.
When using Mage::log($_shippingRateGroups) nothing is included in the log file. However using a foreach loop I see that there seems to be some entries in the array.
Can anyone help??