Subversion Repositories wpShopGermany4

Rev

Rev 5909 | Rev 6575 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

        /**
         * Template für die Integration der Lieferzeit in den Warenkorb
         */

?>
<div class="product_info">
        <div 
        <?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
                <?php echo __("Lieferzeit", "wpsg"); ?>
        </div>
        <div class="valuel">
                <?php if (wpsg_isSizedInt($this->view['data']['wpsg_mod_deliverytime_deliverytime'])) { /* Lieferzeit > 0 im Produkte */ ?>
                        <?php echo $this->view['wpsg_mod_deliverytime']['deliverytime'] ?>
                <?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 */ ?>
                                <?php echo wpsg_translate(__('#1# Tag(e)', 'wpsg'), $this->get_option('wpsg_mod_deliverytime_mode_days_default')); ?>
                <?php } else { /* Sonst sofort lieferbar */ ?>
                        <?php echo wpsg_translate(__('sofort lieferbar (0 Tage)', 'wpsg')); ?>
                <?php } ?>
        </div>
        <div class="dummyr">
                <?php echo __('&nbsp;'); ?>
        </div>
        
</div>
<?php /* Hinweistext für Verzögerung in der Lieferzeit */ ?>
<?php if ($this->get_option('wpsg_mod_deliverytime_delay') == '1') { ?>
<div class="product_info">
        <div class="fulll">
                <?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>
</div>
<?php } ?>