3525 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
5794 |
thomas |
4 |
* Template für die Integration der Lieferzeit in den Warenkorb
|
3525 |
daniel |
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
6330 |
hartmut |
8 |
<div class="product_info">
|
|
|
9 |
<div
|
|
|
10 |
<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
|
|
|
11 |
<?php echo __("Lieferzeit", "wpsg"); ?>
|
|
|
12 |
</div>
|
|
|
13 |
<div class="valuel">
|
5671 |
thomas |
14 |
<?php if (wpsg_isSizedInt($this->view['data']['wpsg_mod_deliverytime_deliverytime'])) { /* Lieferzeit > 0 im Produkte */ ?>
|
|
|
15 |
<?php echo $this->view['wpsg_mod_deliverytime']['deliverytime'] ?>
|
|
|
16 |
<?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 */ ?>
|
|
|
17 |
<?php echo wpsg_translate(__('#1# Tag(e)', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_mode_days_default')); ?>
|
|
|
18 |
<?php } else { /* Sonst sofort lieferbar */ ?>
|
5909 |
thomas |
19 |
<?php echo wpsg_translate(__('sofort lieferbar (0 Tage)', 'wpsg')); ?>
|
5578 |
thomas |
20 |
<?php } ?>
|
6330 |
hartmut |
21 |
</div>
|
|
|
22 |
<div class="dummyr">
|
|
|
23 |
<?php echo __(' '); ?>
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
</div>
|
5794 |
thomas |
27 |
<?php /* Hinweistext für Verzögerung in der Lieferzeit */ ?>
|
5598 |
thomas |
28 |
<?php if ($this->get_option('wpsg_mod_deliverytime_delay') == '1') { ?>
|
6330 |
hartmut |
29 |
<div class="product_info">
|
|
|
30 |
<div class="fulll">
|
|
|
31 |
<?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')); ?>
|
|
|
32 |
|
|
|
33 |
</div>
|
|
|
34 |
</div>
|
5598 |
thomas |
35 |
<?php } ?>
|