Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

change in shiiping method
 
dhaval1
Jr. Member
 
Total Posts:  1
Joined:  2008-05-03
 

Actually i want to change in table rate shipping method. i changes in excel sheet. but i want to display in front side.

So changed function like as

public function getPrice()
{
return $this->_getData(’price’);
}

in catalog /model/product.php

now i made new function

public function getPrice_new()
{
return $this->_getData(’cost’);
}

And I call This function as::::<?php echo $_rate->getPrice_new() ?>

but my server could not find this function...Why??????????????????
If I wrote <?php echo $_rate->getPrice() ?> it gives me value.

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