Eureka! Not sure if my method was what Merlinpa intended, but I have solved my problem thanks to that suggestion. This was what I did:
1. Created the MODULE_SHIPPING_TABLE_TEXT_WAY_EXTRA define as suggested in includes/languages/english/modules/shipping/YOUR_TEMPLATE/table.php, and placed most of the text in there.
2. Edited includes/modules/shipping/table.php and in function quote(), changed this:
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
'cost' => $shipping + MODULE_SHIPPING_TABLE_HANDLING)));
to
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
'extrainfo'=>MODULE_SHIPPING_TABLE_TEXT_WAY_EXTRA,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
'cost' => $shipping + MODULE_SHIPPING_TABLE_HANDLING)));
3. Edited includes/templates/YOUR_TEMPLATE/tpl_checkout_shipping_default.php, adding
Code:
<?php echo $quotes[$i]['extrainfo'] ; ?>
just before the closing [/fieldset] statement somewhere near line 115.
The result is as in the attached screenshot, and all the "additional" info does NOT appear in steps 2 & 3.
Bookmarks