Rev 5627 | Rev 5669 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
/**
* Template für die Integration der Lieferzeit in die Bestellübersichtsseite
*/
?>
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
<td><?php echo __('Lieferzeit', 'wpsg'); ?>:</td>
<td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'2':'1'); ?>" class="wpsg_cell_deliverytime_value">
<?php if (($this->view['data']['wpsg_mod_deliverytime_deliverytime']) || $this->get_option('wpsg_mod_deliverytime_mode_days_default') >= '1') { /* Lieferzeit > 0 */ ?>
<?php echo $this->view['wpsg_mod_deliverytime']['deliverytime']; ?>
<?php } else {?>
<?php echo wpsg_translate(__('sofort lieferbar','wpsg')); ?>
<?php } ?>
</td>
</tr>
<?php /* Hinweistext für Verzögerung in der Lieferzeit */ ?>
<?php if ($this->get_option('wpsg_mod_deliverytime_delay') == '1') { ?>
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
<td colspan="3">
<div class="wpsg_mod_deliverytime_delay">
<?php echo wpsg_translate(__('Aufgrund von #1# kann es zu Verzögerungen von #2# Tage in der Zustellung kommen.', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_delayText'), $this->get_option('wpsg_mod_deliverytime_delayTime')); ?>
</div>
</td>
</tr>
<?php } ?>