Subversion Repositories wpShopGermany4

Rev

Rev 5671 | Rev 6330 | 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
         */

?>
<tr class="wpsg_<?php echo (($this->view['i'] % 2 == 0)?'odd':'even'); ?>">     
        <td colspan="1"><?php echo __('Lieferzeit', 'wpsg'); ?>:</td>
        <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'); ?>">
                <?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', '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="4">
                        <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 } ?>