Initial import: Carteasy Shop (Dev-Stand)

This commit is contained in:
Thomas Bartelt
2026-04-20 01:03:43 +02:00
commit d504f8a05d
3845 changed files with 761050 additions and 0 deletions
@@ -0,0 +1,148 @@
<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>{$template_text.item_details.description}</span>
</a>
{if $shopArticle->documents}
<a href="#tabs_2" rel="tabs_2" class="tab_wrapper selected item_details_tab2">
<span>{$template_text.item_details.data_sheet}</span>
</a>
{/if}
{if $shopArticle->assignedItemSet2 && $system_configuration.show_item_item_assign2 == 1}
<a href="#tabs_3" rel="tabs_3" class="tab_wrapper selected">
<span>{$template_text.item_details.menutitle_spare_parts}</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 class="container_left">
<span class="item_description_title">Artikelbeschreibung</span><br /><br />
{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$shopArticle->detail_description_en}
{$shopArticle->detail_description}
{else}
{$shopArticle->detail_description_en}
{/if}
{if $shopArticle->youtube_video}
<br /><center><iframe width="450" height="253" src="http://www.youtube.com/embed/{$shopArticle->youtube_video}?rel=0" frameborder="0" allowfullscreen></iframe></center>
{/if}
</div>
<div class="container_right">
<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="100%" 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;">
{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$attribute.name_en}
{$attribute.name}:
{else}
{$attribute.name_en}:
{/if}
</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">
<!-- Ersatzteile -->
{if $shopArticle->assignedItemSet2 && $system_configuration.show_item_item_assign2 == 1}
{foreach item=assigned_item2 name=cartLoop from=$shopArticle->assignedItemSet2}
{if $shopArticle->id == $item.id}{assign var=preis_praefix value=""}{/if}
<div style="position:relative;float:left;margin-top:15px;margin-left:15px;height:220px;width:215px;border:1px solid #cccccc;">
{if $assigned_item2->short_uri}<a href="{$assigned_item2->short_uri}.html" style="text-decoration:none;">{else}<a href="/index.php?item_id={$assigned_item2->id}" style="text-decoration:none;">{/if}
<div style="display:block;position:relative;width:205px;padding:5px;text-align:center;color:#000000;font-size:12px;font-weight:normal;text-decoration:none;">{$assigned_item2->name}</div>
<div style="position:relative;width:200px;height:150px;background:#ffffff url({$SHOP_DIR}/images/article/thumb_{if $assigned_item2->default_image_file_name}{$assigned_item2->default_image_file_name}{else}default_image.png{/if}) center center no-repeat;"></div>
<div style="position:absolute;bottom:5px;right:5px;width:100px;text-align:right;font-size:14px;font-weight:bold;color:#04428D;">{$assigned_item2->shop_price_1|number_format:"2":",":"."} &euro;</div>
</a>
</div>
{/foreach}
<div style="clear:both;"></div>
{/if}
</div>
{/if}
</div>
@@ -0,0 +1,59 @@
{if $shopArticle->assignedItemSet}
<!-- Item friends slider -->
<div class="item_friends_slider">
<span class="title">{$system_configuration.shop_item_friends_titletext}</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>
<a class="slider_image" href="http://{$servername}/{$item_article->short_uri}.html" style="background: transparent url({$SHOP_DIR}images/article/overview_{if $item_article->file_name}{$item_article->file_name}{else}default_image.png{/if}) center center no-repeat;"></a>
<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">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$item_article->shop_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
<div class="slider_price slider_bargain_price">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$item_article->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
{else}
<div class="slider_price">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$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}
@@ -0,0 +1,108 @@
<!-- advanced:item_opinion -->
<div class="customer_opinion_wrapper">
<div style="position:relative;width:664px;float:left;">
<span class="title">Kundenbewertungen</span><br /><br />
{if $shopArticle->opinion}
{if $opinion_show}
{foreach item=rezension name=opinion_loop from=$shopArticle->opinion}
<div class="opinion_box_big">
<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}</div>
</div>
{/foreach}
{else}
{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="?opinion_show=1" class="opinion_link">Weiter lesen</a>
</div>
{/foreach}
<br style="clear:both;" />
{/if}
{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}
{if !$opinion_show}
<div class="opinion_stat">
<div class="opinion">
{section name=chk start=1 max=5 loop=6 step=1}
{if $shopArticle->avg_opinion >= $smarty.section.chk.index}
<div class="opinion_bull_active"></div>
{else}
<div class="opinion_bull"></div>
{/if}
{/section}
<br style="clear:both;" />
</div>
<strong>{$shopArticle->opinion|@count} Bewertungen</strong>
</div>
<a href="?opinion_show=1" class="opinion_show_all_button">Zeige alle Bewertungen</a>
{/if}
</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. <a href="/Kundencenter/" style="text-decoration:none;color:#a9a9a9;">Hier gehts zum Login...</a>
</div>
{/if}
</div>
<br style="clear:left;">
</div>
<br />
@@ -0,0 +1,18 @@
{if $shopArticle->price_je_vpe || $item_debug}
{if $shopArticle->shop_bargain_price_1 > 0}
{($shopArticle->shop_bargain_price_1 / $shopArticle->vpe_amount)|number_format:"2":",":"."} &euro; je St&uuml;ck<br>
{else}
{($shopArticle->shop_price_1 / $shopArticle->vpe_amount)|number_format:"2":",":"."} &euro; je St&uuml;ck<br>
{/if}
{/if}
{if $shopArticle->sample_price && $shopArticle->sample_unit && $shopArticle->sample_price > 0 || $item_debug}
Preis / {$shopArticle->sample_unit} = {$shopArticle->sample_price|number_format:"2":",":"."} &euro;<br>
{/if}
{if $shopArticle->shipping_cost_type == 1 && $shopArticle->price_tax_text_free_shipping || $item_debug}
{$shopArticle->price_tax_text_free_shipping}<br>
{elseif $shopArticle->price_tax_text}
{$shopArticle->price_tax_text}<br>
{/if}
@@ -0,0 +1,63 @@
{if $shopArticle->assignedItemSet3}
<!-- Item friends slider -->
<div class="item_friends_slider">
<span class="title">{$template_text.item_details.real_friends_title}</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->assignedItemSet3}
<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}
<span>{$item_article->number}</span>
</a>
<a class="slider_image" href="http://{$servername}/{$item_article->short_uri}.html" style="background: transparent url({$SHOP_DIR}images/article/overview_{if $item_article->file_name}{$item_article->file_name}{else}default_image.png{/if}) center center no-repeat;"></a>
<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_bargain_price">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$item_article->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
<div class="slider_price slider_normal_price">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$item_article->shop_price_1|number_format:2:',':" "}&nbsp;&euro;
</div>
{else}
<div class="slider_price">
{if $item_article->price_praefix}{$item_article->price_praefix} {/if}{$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->assignedItemSet3|@count};
</script>
</div>
{else}
<script type="text/javascript">
var ItemsMax = 0;
</script>
{/if}