<?php

	/**
	 * Template für die Integration der Warenkorbteaserprodukte innerhalb des Warenkorbs
	 */

?>
<tr class="wpsg_mod_basketteaser_row_<?php echo $this->view['data']['id']; ?> wpsg_<?php echo (($this->view['wpsg_mod_productvars']['i'] == 0)?'odd':'even'); ?>">
	<td class="wpsg_cell_number">&nbsp;</td>
	<td class="wpsg_cell_name">
		<?php if ($this->getProduktLink($this->view['data'])) { ?>
		<a href="<?php echo $this->getProduktLink($this->view['data']); ?>"><?php echo wpsg_hspc((($this->view['data']['detailname'] != '')?$this->view['data']['detailname']:$this->view['data']['name'])); ?></a>
		<?php } else { ?>
		<?php echo wpsg_hspc((($this->view['data']['detailname'] != '')?$this->view['data']['detailname']:$this->view['data']['name'])); ?>
		<?php } ?>
	</td>
	<td class="wpsg_cell_preis"><?php echo wpsg_ff($this->view['data']['preis'], $this->get_option('wpsg_currency')); ?></td>
	<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
	<td class="wpsg_cell_mwst"><?php echo wpsg_ff($this->view['data']['mwst_value'], '%'); ?></td>
	<?php } ?>
	<td class="wpsg_cell_menge"><input name="wpsg_mod_basketteaser_row[<?php echo $this->view['data']['id']; ?>]" type="text" size="3" value="0" /></td>
	<td class="wpsg_cell_gesamtpreis">
		<a href="#" onclick="return wpsg_mod_basketteaser_add(<?php echo $this->view['data']['id']; ?>);"><?php echo __('Hinzufügen', 'wpsg'); ?></a>
	</td>
</tr>