Follow the below codes to get addtional attributes product Magento $tmpProd = Mage::getModel(‘catalog/product’)->load($product->getId()); $attributes = $tmpProd->getAttributes(); $addtionalAttributes = array(); foreach ($attributes as $attribute) { if ($attribute->getIsVisibleOnFront()) { $addtionalAttributes[“{$attribute->getStoreLabel()}”] = $attribute->getFrontend()->getValue($tmpProd); } }
You can follow those below codes to get products tax percentage magento: $store = Mage::app()->getStore(‘default’); $request = Mage::getSingleton(‘tax/calculation’)->getRateRequest(null, null, null, $store); $taxclassid = $product->getData(‘tax_class_id’); $percent = Mage::getSingleton(‘tax/calculation’)->getRate($request->setProductClassId($taxclassid));
Get all configured rates of the tablerate shipping module : $tablerateColl = Mage::getResourceModel(‘shipping/carrier_tablerate_collection’); /* @var $tablerateColl Mage_Shipping_Model_Resource_Carrier_Tablerate_Collection */ foreach ($tablerateColl as $tablerate) { /* @var $tablerate Mage_Shipping_Model_Carrier_Tablerate */ Zend_Debug::dump($tablerate->debug()); }