3525 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
5578 |
thomas |
4 |
* Template für die Integration der Lieferzeit in die Bestellübersichtsseite
|
3525 |
daniel |
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
|
|
|
9 |
<td><?php echo __('Lieferzeit', 'wpsg'); ?>:</td>
|
4372 |
daniel |
10 |
<td colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'2':'1'); ?>" class="wpsg_cell_deliverytime_value">
|
5666 |
thomas |
11 |
<?php if (($this->view['data']['wpsg_mod_deliverytime_deliverytime']) || $this->get_option('wpsg_mod_deliverytime_mode_days_default') >= '1') { /* Lieferzeit > 0 */ ?>
|
5578 |
thomas |
12 |
<?php echo $this->view['wpsg_mod_deliverytime']['deliverytime']; ?>
|
|
|
13 |
<?php } else {?>
|
|
|
14 |
<?php echo wpsg_translate(__('sofort lieferbar','wpsg')); ?>
|
|
|
15 |
<?php } ?>
|
3525 |
daniel |
16 |
</td>
|
5598 |
thomas |
17 |
</tr>
|
|
|
18 |
|
|
|
19 |
<?php /* Hinweistext für Verzögerung in der Lieferzeit */ ?>
|
|
|
20 |
<?php if ($this->get_option('wpsg_mod_deliverytime_delay') == '1') { ?>
|
|
|
21 |
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">
|
5627 |
thomas |
22 |
<td colspan="3">
|
5598 |
thomas |
23 |
<div class="wpsg_mod_deliverytime_delay">
|
|
|
24 |
<?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')); ?>
|
|
|
25 |
</div>
|
|
|
26 |
</td>
|
|
|
27 |
</tr>
|
|
|
28 |
<?php } ?>
|