Delivery Instructions
このExtensionはメモ用に開発されているため
テキストエリアが追加されますが、
時間帯指定用に使用するためドロップダウンメニューに変更しました。
例として、以下のようになります。
/app/design/frontend/<theme>/default/template/deliverynote/note.phtml
<?php if ($this->canShow()): ?> <?php $characterCount = $this->getCharacterCount(); ?> <div id='deliverynote'> <label for='deliverynote-note'><?php echo $this->__(Mage::helper('deliverynote')->getFrontendLabel()) ?><?php if ($characterCount !== false): ?> ( max <?php echo $characterCount ?> characters ) <?php endif; ?></label> <select id='deliverynote-note' name='deliverynote-note' class="input-text<?php if ($characterCount !== false): ?> validate-length maximum-length-<?php echo $characterCount ?> <?php endif; ?>"> <option value="指定なし">指定なし</option> <option value="午前中">午前中</option> <option value="12時〜14時">12時〜14時</option> <option value="14時〜16時">14時〜16時</option> <option value="16時〜18時">16時〜18時</option> <option value="18時〜21時">18時〜21時</option> </select> </div> <?php endif; ?>
このExtensionにより、管理画面の受注情報にもメモの内容が表示されるようになります。
0 comments:
Post a Comment