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