Magento - Save shipping rate outside of the collectRates Method -


i trying calculate shipping price based on dimensions, post code , type of parcel(regular/express). able calculate using auspost api problem save shipping rate outside of collectrates method in magento. if this...

$result = mage::getmodel('shipping/rate_result');   $method = mage::getmodel('shipping/rate_result_method'); $method->setcarrier("excellence_excellence"); $method->setmethod("excellence_excellence"); $method->setcarriertitle(""); $method->setmethodtitle(""); $method->setprice($myvalue); $method->setcost($myvalue); $result->append($method); 

it not work because $result has saved in quote. can me on this?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -