1

I am creating shipping module. Which is working fine. But in addition I want to show custom message with each shipping method I have used.

For example In this below code I have used $rate->setMethodTitle('Standard delivery'); to set title of the method, with this method I want to display a description too. Please guide how I can define a description of this method.

$rate = Mage::getModel('shipping/rate_result_method');
$rate->setCarrier($this->_code);
$rate->setCarrierTitle($this->getConfigData('title'));
$rate->setMethod('large');
$rate->setMethodTitle('Standard delivery');
$rate->setPrice($price);
$rate->setCost(0);

1 Answer 1

1

Here is an extension that does what you want:

http://www.magentocommerce.com/magento-connect/multi-flat-shipping-1.html

Check out the screen shots.

I am sure you can copy the 'info text' from that module into your own. Enjoy.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.