shop-old/themes/easyshop_advanced/templates/content_item_old.tpl
2026-04-20 01:03:43 +02:00

909 lines
35 KiB
Smarty

<!-- content_item/main_default.tpl begin -->
<div class="content_item">
<div id="back_button">Zur&uuml;ck</div>
<div class="title_wrapper">
<div class="title"><h3 style="font-weight:bold;font-size:18px;">{$shopArticle->name} {if $shopArticle->manufacturer_data->name}| <span style="color:#cccccc;">von {$shopArticle->manufacturer_data->name}</span>{/if}</h3></div>
{if $shopArticle->number}<span class="item_number"><span style="font-weight:bold;">Art.-Nr.</span> {$shopArticle->number}</span>{/if}
</div>
<div class="image_wrapper">
{if isset($shopArticle->files[0]) && $shopArticle->files[0]->file_name}
<div id="image_detailed_container_outer" style="z-index:1;">
<div id="image_detailed_container_inner">
{foreach item=file from=$shopArticle->files}
<a class="detailImage" href="{$SHOP_DIR}images/article/Orig_{$file->file_name}" rel="lightbox-big" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/details_{$file->file_name})"></a>
{/foreach}
</div>
</div>
{/if}
<div id="item_thumbs_title">Weitere Artikelbilder</div>
<div id="thumbContainer">
<div id="thumbScrollContainer" style="width:{if $shopArticle->files|@count > 4}{$shopArticle->files|@count|ceil*91}{else}364{/if}px;">
{foreach item=file from=$shopArticle->files}
<a class="thumbimage" href="{$SHOP_DIR}images/article/Orig_{$file->file_name}" rel="lightbox-small" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/thumb_{$file->file_name});"></a>
{/foreach}
<br style="clear:left;" />
</div>
{if $shopArticle->files|@count > 4}
<div style="position: absolute;top:5px;left:10px;width:340px;">
<div id="thumbPageInfo">Bilder 1 bis 4 von {$shopArticle->files|@count}</div>
<input id="thumbSlideLeft" class="thumbSlider" type="button" value="&lt;&nbsp;&lt;&nbsp;zur&uuml;ck" />
<input id="thumbSlideRight" class="thumbSlider" type="button" value="weiter&nbsp;&gt;&nbsp;&gt;" />
</div>
{/if}
</div>
</div>
{if $shopArticle->shop_bargain_price_1 > 0}<div id="spezial_price_icon"></div>{/if}
<div class="item_box_right_wrapper">
<div id="manufacturer_wrapper">
<div class="title_manufacturer">Hersteller</div>
<div class="manufacturer_logo" style="background: transparent url({$SHOP_DIR}/images/manufacturers/{$shopArticle->manufacturer_data->logo}) no-repeat center center;"></div>
<div class="manufacturer_title">Marke:</div>
<div class="manufacturer_name">{$shopArticle->manufacturer_data->name} (<a href="/kaufen/{$shopArticle->manufacturer_data->short_uri}/">Mehr von {$shopArticle->manufacturer_data->name}?</a>)</div>
<div class="category_title">Kategorie:</div>
<div class="category_name">{$structure_data->name}</div>
</div>
<div id="price_box_wrapper">
<div class="title_price">Preis</div>
<div class="register_buy">
<div class="tab"></div>
{if !$no_prices && $shopArticle->shop_price_1 > 0}
{if $shopArticle->price_type == "1" && $shopArticle->shop_price_1 > 0}
{if $shopArticle->shop_bargain_price_1 > 0}
<span class="old_price">{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;</span>
<span class="price">{$shopArticle->shop_bargain_price_1|number_format:"2":",":"."} &euro;</span>
{else}
<span class="price">{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;</span>
{/if}
<span class="price_text">incl. MwSt, zzgl. <a href="/Versandkosten/">Versandkosten</a></span>
<form method="post">
<input class="amountbox" type="text" value="1" name="amount" />
<input class="cartbutton" type="submit" value="In den Warenkorb legen" />
</form>
<!-- content_item/graduated_prices.tpl begin -->
{if $shopArticle->graduated_prices|is_array && $shopArticle->graduated_prices}
<div id="graduated_price_wrapper">
<div id="graduated_price_title">Staffelpreise</div>
<div id="graduated_price_content">
<table class="graduatedPrices">
{foreach item=gradPrice key=quantity from=$shopArticle->graduated_prices}
<tr style="background:#cccccc;">
<td>&nbsp;ab {$quantity} St&uuml;ck</td>
{if $gradPrice.bargain > 0}
<td style="text-align: right;color:#04418c;">
{if !$no_prices}
{$gradPrice.bargain|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
<td style="text-decoration: line-through; text-align: right;color:#000000;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{else}
<td></td>
<td style="text-align: right;color:#333333;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{/if}
<td style="text-align: center;">
{if $shopArticle->shippable != 0}
<form method="post">
<input type="hidden" value="{$quantity}" name="amount" />
<input class="graduatedCart" type="submit" value="kaufen" />
</form>
{/if}
</td>
</tr>
{/foreach}
</table>
</div>
</div>
{/if}
<!-- content_item/graduated_prices.tpl end -->
{else}
<span class="price">Preis auf Anfrage</span>
{/if}
{else}
<span class="price">Preis nach Login</span>
{/if}
</div>
<div class="shippable_wrapper">
<span class="shippable_state">Artikel Lieferbar</span>
<span class="shippable_text">Auf Lager | Versand innerhalb 2 - 3 Werktage</span>
</div>
</div>
<div class="item_banner" style="background:transparent url({$THEME_DIR}/media/images/other/item_banner.jpg) no-repeat;"></div>
</div>
<div class="button_box_wrapper">
<form method="post">
<input type="hidden" name="memorize" value="true" />
<input type="submit" class="remember_button" value="Auf die Merkliste setzen" name="remember_button" />
</form>
<a href="./index.php" target="_blank" class="print_button">Artikelbeschreibung drucken</a>
</div>
<!-- content_item/description_tabs.tpl begin -->
<div id="item_menu">
{if $shopArticle->tab_title}
{foreach from=$shopArticle->tab_title item=title key=title_id name=titles}
<a href="#" rel="tabs_{$title_id}" class="tab_wrapper {if $smarty.foreach.titles.first}active selected{/if}">
<span>{$title}</span>
</a>
{/foreach}
{else}
<a href="#tabs_1" rel="tabs_1" class="tab_wrapper active selected">
<span>Beschreibung</span>
</a>
{if $shopArticle->documents}
<a href="#tabs_2" rel="tabs_2" class="tab_wrapper selected">
<span>Datenblatt</span>
</a>
{/if}
{/if}
<div style="clear:left;"></div>
</div>
<div id="item_content2">
<div id="description_tabs" style="overflow:visible;">
{if $shopArticle->tab_content}
{foreach from=$shopArticle->tab_content item=content key=content_id name=contents}
<div class="tab_content {if $smarty.foreach.contents.first}active{/if}" id="tabs_{$content_id}">
{if $smarty.foreach.contents.first}
{if $shopArticle->schema_data_attributes}
<table>
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td>{$attribute.name}</td>
<td class="attrRight">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
<br />
{/if}
{$content}
{/if}
</div>
{/foreach}
{else}
<div class="tab_content active" id="tabs_1">
<div style="position:relative;width:490px;float:left;">
<span class="item_description_title">Artikelbeschreibung</span><br /><br />
{$shopArticle->detail_description}
</div>
<div style="position:relative;width:430px;padding-top:6px;padding-left:20px;float:left;">
<span class="item_description_title">Artikelinformationen</span><br />
<div id="itemBarcode" style="position:relative;top:20px;right:0px;">{$shopArticle->ean_code}</div>
<div id="qrcode" style="position:absolute;right:0px;top:0px;"></div>
<table width="50%" style="position:relative;top:20px;">
{if $shopArticle->uvp > 0}
<tr>
<td style="font-weight:bold;">UVP:</td>
<td style="text-align:right;">{$shopArticle->uvp|number_format:"2":",":"."} &euro;</td>
</tr>
{/if}
{if $shopArticle->sample_price && $shopArticle->sample_unit}
<tr>
{if $shopArticle->sample_price > 0}
<td style="font-weight:bold;">Grundpreis:</td>
<td style="text-align:right;">{$shopArticle->sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}</td>
{/if}
</tr>
{/if}
{if $shopArticle->schema_data_attributes}
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td style="font-weight:bold;">{$attribute.name}:</td>
<td style="text-align:right;">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
{/if}
</table>
</div>
<div style="clear:both;"></div>
</div>
<div class="tab_content" id="tabs_2">
<table border="0" cellspacing="2" callpadding="2">
{foreach item=file from=$shopArticle->documents}
<tr>
<td><img src="{$PARENT_THEME_DIR}/media/images/mime_postscript.png" /></td>
<td>
<a class="document" target="_blank" href="{$SHOP_DIR}documents/article/{$file->file_name}" title="{$file->alt}">{$file->alt}</a>
</td>
</td>
{/foreach}
</table>
</div>
{/if}
</div>
<div class="customer_opinion_wrapper">
<div style="position:relative;width:664px;float:left;">
<span class="title">Kundenbewertungen</span><br /><br />
{if $shopArticle->opinion}
{foreach item=rezension name=opinion_loop from=$shopArticle->opinion}
{if $smarty.foreach.opinion_loop.iteration == 5}
{break}
{/if}
<div class="opinion_box_small">
<div class="name">{$rezension->user_name}</div>
<div class="date">{$rezension->date}</div>
<div class="opinion">
{section name=chk start=1 max=5 loop=6 step=1}
{if $rezension->rang >= $smarty.section.chk.index}
<div class="opinion_bull_active"></div>
{else}
<div class="opinion_bull"></div>
{/if}
{/section}
<br style="clear:both;" />
</div>
<div class="opinion_text">{$rezension->opinion_text|truncate:250:"...":true}</div>
<a href="" class="opinion_link">Weiter lesen</a>
</div>
{/foreach}
<br style="clear:both;" />
{else}
<div style="position:relative;top:40px;left:20px;width:200px;">
Es ist f&uuml;r diesen Artikel noch keine Bewertung abgegeben worden.
</div>
{/if}
<div class="opinion_stat">{$shopArticle->opinion|@count} Bewertungen</div>
<input type="button" class="opinion_show_all_button" value="Zeige alle Bewertungen" />
</div>
<div id="opinion_form_wrapper">
<span class="title">Meinung verfassen</span>
{if $customer}
<form method="post">
<input type="hidden" name="create_opinion" value="1" />
<span class="opinion_rating_title">Ihre Bewertung</span>
<div class="opinion_rating">
<input class="hover-star required" type="radio" name="rang" title="Ausreichend" value="1"/>
<input class="hover-star" type="radio" name="rang" title="Durchschnittlich" value="2"/>
<input class="hover-star" type="radio" name="rang" title="Gut" value="3"/>
<input class="hover-star" type="radio" name="rang" title="Sehr Gut" value="4"/>
<input class="hover-star" type="radio" name="rang" title="Perfekt" value="5"/>
<div id="hover-test"></div>
</div>
<span class="opinion_text_title">Ihr Fazit:</span>
<textarea name="opinion_text" class="opinion_text_input"></textarea>
<span class="author_title">Autor:</span>
<div class="author">{$customer->firstname} {$customer->surname}</div>
<input type="submit" class="opinion_create_button" name="Bewertung absenden" />
</form>
{else}
<div style="position:relative;top:40px;left:20px;width:200px;">
Bitte loggen Sie sich ein, um f&uuml;r den Artikel eine Bewertung zu schreiben.
</div>
{/if}
</div>
</div>
<br />
{if $shopArticle->assignedItemSet}
<!-- Item friends slider -->
<div class="item_friends_slider">
<span class="title">Das k&ouml;nnte Ihnen auch gefallen</span><br /><br />
{if $system_configuration.item_image_server_uri}
{assign var=SHOP_DIR value="{$system_configuration.item_image_server_uri}"}
{/if}
<div class="item_friends_slider_wrapper">
<div class="image_slider_content_outer_wrapper">
<div class="image_slider_content_inner_wrapper">
{foreach name=ArticleList item=item_article from=$shopArticle->assignedItemSet}
<div class="slider_item_box">
<a class="slider_item_box_info" href="http://{$servername}/{$item_article->short_uri}.html">{$item_article->name|truncate:30:"...":true}</a>
<a class="slider_item_number" href="http://{$servername}/{$item_article->short_uri}.html">{$item_article->number}</a>
{if $item_article->file_name}
<a class="slider_image" href="http://{$servername}/{$item_article->short_uri}.html" style="background: transparent url({$SHOP_DIR}images/article/overview_{$item_article->file_name}) center center no-repeat;"></a>
{else}
<a class="no_slider_image" href="http://{$servername}/{$item_article->short_uri}.html"><br /><br />Kein<br />Produktbild<br /> vorhanden</a>
{/if}
<div class="slider_item_box_price">
{if $no_prices}
<div class="slider_price slider_enquiry_price">auf Anfrage</div>
{else}
{if $item_article->shop_price_1}
{if $item_article->shop_bargain_price_1 > 0}
<div class="slider_price slider_normal_price">
{$item_article->shop_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
<div class="slider_price slider_bargain_price">
{$item_article->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
{else}
<div class="slider_price">
{$item_article->shop_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
{/if}
<div style="clear:right;"></div>
{else}
<div class="slider_price slider_enquiry_price">auf Anfrage</div>
{/if}
{/if}
</div>
</div>
{/foreach}
</div>
</div>
</div>
<a class="slider_image_slider_trigger_left"></a>
<a class="slider_image_slider_trigger_right"></a>
<script type="text/javascript">
var ItemsMax = {$shopArticle->assignedItemSet|@count};
</script>
</div>
{else}
<script type="text/javascript">
var ItemsMax = 0;
</script>
{/if}
</div>
{*
<div class="content_sub_item">
<!-- left area -->
<div class="left_area" style="z-index:1;">
<!-- content_item/thumbnails.tpl begin -->
{if isset($shopArticle->files[0]) && $shopArticle->files[0]->file_name}
<div id="image_detailed_container_outer" style="z-index:1;">
{if $shopArticle->shop_bargain_price_1 > 0}
<div class="bargain_logo"></div>
{/if}
<div id="image_detailed_container_inner">
{foreach item=file from=$shopArticle->files}
<a class="detailImage" href="{$SHOP_DIR}images/article/Orig_{$file->file_name}" rel="lightbox-big" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/details_{$file->file_name})"></a>
{/foreach}
</div>
</div>
{/if}
<div id="thumbContainer">
<div id="thumbScrollContainer" style="width:{if $shopArticle->files|@count > 4}{$shopArticle->files|@count|ceil*91}{else}364{/if}px;">
{foreach item=file from=$shopArticle->files}
<a class="thumbimage" href="{$SHOP_DIR}images/article/Orig_{$file->file_name}" rel="lightbox-small" title="{$shopArticle->name}" style="background-image: url({$SHOP_DIR}images/article/thumb_{$file->file_name});"></a>
{/foreach}
<br style="clear:left;" />
</div>
</div>
</div>
<!-- right area -->
<div class="right_area">
<div class="price_box">
<div style="position:absolute;right:10px;top:45px;height:50px;width:120px;background: transparent url({$SHOP_DIR}/images/manufacturers/{$shopArticle->manufacturer_data->logo}) no-repeat center center;"></div>
<div id="item_left_menu">
<a href="#tabs_1" rel="left_tabs_1" class="tab_wrapper active selected">
<span>Preise</span>
</a>
<a href="#tabs_2" rel="left_tabs_2" class="tab_wrapper">
<span>Finanzierung</span>
</a>
<div style="clear:left;"></div>
</div>
<div id="left_description_tabs">
<div class="left_tab_content active" id="left_tabs_1" style="position:relative;">
<br />
{if $shopArticle->shop_bargain_price_1 > 0}
<div style="position:relative;float:left;width:175px;min-height:100px;text-align:right;">
<strong class="pricelabel">Sonderpreis!</strong><br />
<strong class="pricetag">
{if !$no_prices}
{$shopArticle->shop_bargain_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong><br />
{if !$no_prices}
<span class="pricesaving">Sie sparen {$shopArticle->shop_price_1-$shopArticle->shop_bargain_price_1|number_format:"2":",":"."} &euro;</span>
{/if}
</div>
<div style="position:relative;float:left;width:175px;min-height:100px;text-align:right;">
<strong class="oldpricelabel">Unser Preis</strong><br />
<strong class="oldprice">
{if !$no_prices}
{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong>
</div>
<div style="clear:both;"></div>
{elseif $shopArticle->shop_price_1 > 0}
<div class="box_rightalign">
<strong class="pricelabel">Unser Preis</strong>
<div style="padding-top:10px;">
<strong class="pricetag">
{if !$no_prices}
{$shopArticle->shop_price_1|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</strong>
</div>
</div>
{else}
<div class="box_rightalign">
<strong class="pricelabel">Unser Preis</strong>
<div style="padding-top:10px;">
auf Anfrage
</div>
</div>
{/if}
{if $shopArticle->uvp > 0}
<div style="position:relative; width:100%;text-align:right;top:10px;">
<span style="font-weight:bold;font-size:10px;">UVP:</span>
<span style="text-align:right;font-size:10px;">{$shopArticle->uvp|number_format:"2":",":"."} &euro;</span>
</div>
{/if}
{if $shopArticle->sample_price > 0}
<div style="position:relative; width:100%;text-align:right;top:10px;">
<span style="font-weight:bold;font-size:10px;">Grundpreis:</span>
<span style="text-align:right;font-size:10px;">{$shopArticle->sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}</span>
</div>
{/if}
<div style="padding-top:10px;height:91px;">
{if !$no_prices && ( $shopArticle->shop_price_1 > 0 || $shopArticle->shop_bargain_price_1 > 0)}
{if $shopArticle->shippable != 0}
<div id="cart_button_box">
<img style="position:absolute;top:7px;left:6px;" src="{$THEME_DIR}/media/images/widgets/shoppingcart_button_icon.png" />
<form method="post">
<div style="position:absolute;left:50px;top:3px;text-align:center;">
<div class="graylabel">Anzahl</div>
<input class="amountbox" type="text" value="1" name="amount" />
</div>
<input class="cartbutton" type="submit" value="&gt;&gt; Jetzt kaufen" />
</form>
</div>
{/if}
{/if}
{if $shopArticle->item_types}
<div style="position:relative;width:350px;text-align:right;color:#ff0000;font-size:12px;">
{foreach item=item_type from=$shopArticle->item_types}
{if $item_type->item_type_definition_is_active == 1}
<span style="font-weight:bold;">{$item_type->item_type_definition_name}</span> - {$item_type->item_type_text}<br />
{/if}
{/foreach}
</div>
{/if}
<div style="position:relative;width:350px;text-align:right;">Alle Preise {$shopArticle->price_tax_text}</div>
<div class="box_rightalign" style="padding-top:5px;">
{if $shopArticle->inventory < 1}
Artikel bestellt |
{else}
Bestand: {$shopArticle->inventory} |
{/if}
{if $shopArticle->shippable == 1}
<font class="item_shippable">lieferbar</font><br>
{elseif $shopArticle->shippable == 3}
<font class="item_shippable_unknown">lieferzeit unbekannt</font><br>
{elseif $shopArticle->shippable == 0}
<font class="item_not_shippable">nicht lieferbar</font><br>
{elseif $shopArticle->shippable == 2 && $shopArticle->available_from && $shopArticle->available_till != '0000-00-00'}
<font class="item_shippable_from_till">lieferbar von {$shopArticle->available_from} bis {$shopArticle->available_till}</font><br>
{elseif $shopArticle->shippable == 2 && $shopArticle->available_from}
<font class="item_shippable_from">lieferbar ab {$shopArticle->available_from}</font><br>
{/if}
</div>
</div>
<br />
*}
{*
{if $no_prices}
Versandkostenberechnung:<br />
<select id="select_shipping_calc">
<option value="0">Lieferung nach:</option>
{foreach item=country from=$countries}
<option value="{$country.id}">{$country.name}</option>
{/foreach}
</select>
<br />
{foreach item=country from=$countries}
<div id="shipping_{$delivery_method.id}">
{if $country.delivery_methods}
{foreach item=delivery_method from=$country.delivery_methods}
{$delivery_method.name}: {$delivery_method.price} &euro;<br />
{/foreach}
{else}
Keine Versandm&ouml;glichkeit in dieses Land!
{/if}
</div>
{/foreach}
{/if}
*}{*
<!-- content_item/graduated_prices.tpl begin -->
{if $shopArticle->graduated_prices|is_array && $shopArticle->graduated_prices}
<div class="graduated_price_title">Staffelpreise</div>
<table class="graduatedPrices">
{foreach item=gradPrice key=quantity from=$shopArticle->graduated_prices}
<tr style="background:#cccccc;">
<td>&nbsp;ab {$quantity} St&uuml;ck</td>
{if $gradPrice.bargain > 0}
<td style="text-align: right;color:#04418c;">
{if !$no_prices}
{$gradPrice.bargain|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
<td style="text-decoration: line-through; text-align: right;color:#000000;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{else}
<td></td>
<td style="text-align: right;color:#333333;">
{if !$no_prices}
{$gradPrice.price|number_format:"2":",":"."} &euro;
{else}
Preis nach Login!
{/if}
</td>
{/if}
<td style="text-align: center;">
{if $shopArticle->shippable != 0}
<form method="post">
<input type="hidden" value="{$quantity}" name="amount" />
<input class="graduatedCart" type="submit" value="" />
</form>
{/if}
</td>
</tr>
{/foreach}
</table>
{/if}
<!-- content_item/graduated_prices.tpl end -->
</div>
<div class="left_tab_content" id="left_tabs_2">
Derzeit bieten wir leider keine Finanzierung an!
</div>
</div>
</div>
</div>
<div style="clear:both;"></div>
<div style="position:relative;height:30px;top:10px;width:720px;background:#eeeeee;border:1px solid #cccccc;">
{if $shopArticle->files|@count > 4}
<div style="position: absolute;top:5px;left:10px;width:340px;">
<div id="thumbPageInfo">Bilder 1 bis 4 von {$shopArticle->files|@count}</div>
<input id="thumbSlideLeft" class="thumbSlider" type="button" value="&lt;&nbsp;&lt;&nbsp;zur&uuml;ck" />
<input id="thumbSlideRight" class="thumbSlider" type="button" value="weiter&nbsp;&gt;&nbsp;&gt;" />
</div>
{/if}
<div id="facebook_share_item"></div>
<form method="post">
<input type="hidden" name="memorize" value="true" />
<input type="submit" class="remember_button" value="Artikel merken" name="remember_button" />
</form>
</div>
<!-- footer area -->
<!-- content_item/description_tabs.tpl begin -->
<div id="item_menu">
{if $shopArticle->tab_title}
{foreach from=$shopArticle->tab_title item=title key=title_id name=titles}
<a href="#" rel="tabs_{$title_id}" class="tab_wrapper {if $smarty.foreach.titles.first}active selected{/if}">
<span>{$title}</span>
</a>
{/foreach}
{else}
<a href="#tabs_1" rel="tabs_1" class="tab_wrapper active selected">
<span>Beschreibung</span>
</a>
{if $shopArticle->documents}
<a href="#tabs_2" rel="tabs_2" class="tab_wrapper selected">
<span>Datenblatt</span>
</a>
{/if}
{if $system_configuration.shop_item_opinion_active == 1}
<a href="#tabs_3" rel="tabs_3" class="tab_wrapper selected">
<span>Meinungen</span>
</a>
{/if}
{if $shopArticle->assignedItemSet}
<a href="#tabs_4" rel="tabs_4" class="tab_wrapper selected">
<span>Zubeh&ouml;r</span>
</a>
{/if}
{/if}
<div style="clear:left;"></div>
</div>
<div id="description_tabs" style="overflow:visible;">
{if $shopArticle->tab_content}
{foreach from=$shopArticle->tab_content item=content key=content_id name=contents}
<div class="tab_content {if $smarty.foreach.contents.first}active{/if}" id="tabs_{$content_id}">
{if $smarty.foreach.contents.first}
{if $shopArticle->schema_data_attributes}
<table>
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td>{$attribute.name}</td>
<td class="attrRight">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
<br />
{/if}
{$content}
{/if}
</div>
{/foreach}
{else}
<div class="tab_content active" id="tabs_1">
<div style="position:relative;width:450px;float:left;">
{$shopArticle->detail_description}
</div>
<div style="position:relative;width:190px;padding-top:6px;padding-left:20px;float:left;">
<div id="itemBarcode" style="position:absolute;top:0px;right:0px;">{$shopArticle->ean_code}</div>
<table width="100%" style="position:relative;top:70px;">
{if $shopArticle->uvp > 0}
<tr>
<td style="font-weight:bold;">UVP:</td>
<td style="text-align:right;">{$shopArticle->uvp|number_format:"2":",":"."} &euro;</td>
</tr>
{/if}
{if $shopArticle->sample_price && $shopArticle->sample_unit}
<tr>
{if $shopArticle->sample_price > 0}
<td style="font-weight:bold;">Grundpreis:</td>
<td style="text-align:right;">{$shopArticle->sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}</td>
{/if}
</tr>
{/if}
{if $shopArticle->schema_data_attributes}
{foreach from=$shopArticle->schema_data_attributes item=attribute}
{if $attribute.show_detail && $attribute.value}
<tr>
{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
<td style="font-weight:bold;">{$attribute.name}:</td>
<td style="text-align:right;">{$attribute.value} {$attribute.unit}</td>
{/if}
</tr>
{/if}
{/foreach}
{/if}
</table>
</div>
<div style="clear:both;"></div>
</div>
<div class="tab_content" id="tabs_2">
<table border="0" cellspacing="2" callpadding="2">
{foreach item=file from=$shopArticle->documents}
<tr>
<td><img src="{$PARENT_THEME_DIR}/media/images/mime_postscript.png" /></td>
<td>
<a class="document" target="_blank" href="{$SHOP_DIR}documents/article/{$file->file_name}" title="{$file->alt}">{$file->alt}</a>
</td>
</td>
{/foreach}
</table>
</div>
<div class="tab_content" id="tabs_3">
{if $customer}
<form method="post">
<input type="hidden" name="create_opinion" value="1" />
Bewertung:
<input type="radio" name="rang" value="1">
<input type="radio" name="rang" value="2">
<input type="radio" name="rang" value="3">
<input type="radio" name="rang" value="4">
<input type="radio" name="rang" value="5">
<br />
Meinung:<br />
<textarea name="opinion_text" style="width:100%;height:200px;"></textarea><br />
Autor: {$customer->firstname} {$customer->surname}<br />
<input type="submit" name="Bewertung absenden" />
<hr />
</form>
{/if}
{if $shopArticle->opinion}
Kundenrezensionen:<br/>
{foreach item=rezension from=$shopArticle->opinion}
Bewertung: {$rezension->rang}<br />
Meinung: {$rezension->opinion_text}<br />
Erstellt: {$rezension->user_name}, {$rezension->timestamp}<br />
<hr />
{/foreach}
{else}
Es ist f&uuml;r diesen Artikel noch keine Bewertung abgegeben worden.
{/if}
</div>
<div class="tab_content" id="tabs_4">
{if $shopArticle->assignedItemSet}
<div class="content_box_item_list">
<div class="box_content">
{if $shopArticle->assignedItemSet}
{foreach name=ArticleList item=shopItem from=$shopArticle->assignedItemSet}
{if $shopItem->short_uri}
{assign var=itemSuri value="/SHOP_ARTICLE/`$shopItem->short_uri`.html"}
{else}
{assign var=itemSuri value="/index.php?item_id=`$shopItem->id`"}
{/if}
<div class="list_item_box" style="margin-left:0px;">
{if $shopItem->shop_bargain_price_1 > 0}
<div class="bargain_logo"></div>
{/if}
<a class="item_box_info" href="{$serverProtocol}://{$servername}{$itemSuri}"><span title="{$shopItem->name}">{$shopItem->name|truncate:90:"...":true}</span></a>
<a class="item_box_image" href="{$serverProtocol}://{$servername}{$itemSuri}" {if $shopItem->file_name != ''}style="background-image:url({$SHOP_DIR}images/article/overview_{$shopItem->file_name});"{/if}></a>
<div class="item_box_price">
{if !$no_prices && $shopItem->price_type == "1"}
{if $shopItem->shop_price_1}
{if $shopItem->shop_bargain_price_1 > 0}
<div>
<div class="bargain_price">
<span class="old_price">{$shopItem->shop_price_1|number_format:2:',':" "}&nbsp;&euro;</span> {$shopItem->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro; *
</div>
</div>
{else}
<div class="normal_price">
{$shopItem->shop_price_1|number_format:2:',':" "}&nbsp;&euro; *
</div>
{/if}
{else}
<div class="price_text">auf Anfrage</div>
{/if}
{else}
<div class="price_text">auf Anfrage</div>
{/if}
</div>
</div>
{/foreach}
<div style="clear:both;"></div>
{else}
<p>Keine Produkte vorhanden.</p>
{/if}
</div>
{$system_configuration.shop_item_friends_footertext|replace:"\n":"<br />"}
<div class="box_footer" style="clear:both; margin-bottom:20px;"></div>
</div>
{/if}
</div>
{/if}
</div>
<!-- content_item/description_tabs.tpl end -->
</div>
*}
</div>
<!-- content_item/main_default.tpl end -->
{if $shopArticle->price_type != "1"}
{if $price_info_request_was_sent}
<p style="color:red;float:left;"'>Vielen Dank für ihre Anfrage sie werden so bald wie m&ouml;glich von uns zur&uuml;ck h&ouml;ren.</p>
{else}
<form id="request_price_info_form" method="post" style="clear:both;">
<input type="hidden" name="request_price_info" />
<input type="hidden" name="request_item_name" value="{$structure_data->name}" />
<input type="hidden" name="request_item_number" value="{$shopArticle->number}" />
<h3>Preis Anfrage</h3>
<div class="left">
<div class="padded">
<label class="inline">Name:</label><br />
<input type="textfield" name="request_name_field"/>
</div>
<div class="padded">
<label class="inline">E-Mail:</label><br />
<input type="textfield" name="request_email_field"/>
</div>
<div class="padded">
<label class="inline">Tel:</label><br />
<input type="textfiels" name="request_telephone_field"/>
</div>
</div>
<div class="right padded">
<label class="inline">Nachricht:</label><br />
<textarea name="request_message_field"></textarea>
</div>
<div class="last">
<input type="submit" value="Anfrage abschicken" />
</div>
</form>
{/if}
{/if}
<div style="clear:both;"></div>
<script type="text/javascript" src="/libs/jquery.qrcode.min.js"></script>
<script type="text/javascript" src="/libs/star-rating/jquery.MetaData.js"></script>
<script type="text/javascript" src="/libs/star-rating/jquery.rating.js"></script>
<script src="{$PARENT_THEME_DIR}/media/js/content_item.js?v=99455468"></script>
<!-- content_item.tpl end -->