I'm using Magento ver. and have created a Flat Rate 2 shipping method which is an International Shipping function. The checkout selects this if the buyer is in one of the five countries listed in the Info Text (supports HTML) section. That Info Text however does not show up anywhere the shipping options are listed at checkout. Is this magento core or template specific? Would I have to add some code to display the Info Text (supports HTML) text or should magento be displaying this by default?

Admin Dashboard enter image description here

Front end store view. One page checkout enter image description here



I have the same problem in a custom payment gateway.
In form.phtml of your module you must add the following code

$store = Mage::app()->getStore();
$code  = $store->getCode(); 
$instructions_block = Mage::getStoreConfig('YOUR-INSTRUCTION-FIELD',$code);

 if ($this->getInstructions()): ?>
<ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
        <div class="<?php echo $this->getMethodCode() ?>-instructions-content">
            <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId($instructions_block)->toHtml(); ?>
<?php endif; ?>

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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