Jump to content

Archived

This topic is now archived and is closed to further replies.

Juto

checkout shipping, text for cost and weight?

Recommended Posts

Hi,

 

as per usual I have defined:

 

define('MODULE_SHIPPING_PICKUPATSTORE_TEXT_WEIGHT', 'Weight');
define('MODULE_SHIPPING_PICKUPATSTORE_TEXT_AMOUNT', 'Amount');

 

then i checkout_shipping I added this:

 

MODULE_SHIPPING_ . strtoupper($quotes[$i]['methods'][$j]['id']) . _TEXT_AMOUNT

 

So where the cost is echoed I have:

 

<?php
	    if ( ($n > 1) || ($n2 > 1) ) {
?>
				    <td class="main"><?php echo MODULE_SHIPPING_ . strtoupper($quotes[$i]['methods'][$j]['id']) . _TEXT_AMOUNT . ': ' . $currencies->format(tep_add_tax($quotes[$i]['methods'][$j]['cost'], (isset($quotes[$i]['tax']) ? $quotes[$i]['tax'] : 0))); ?></td>
				    <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td>
<?php
	    } else {
?>

 

But, the defined text doesn't show up... only:

 

MODULE_SHIPPING_PICKUPATSTORE_TEXT_AMOUNT

 

Any thoughts on this?

 

Secondly I wonder where I could likewise show the shipping weight?

 

Any help is most welcome

 

 

Sara

Share this post


Link to post
Share on other sites

×