

<div class="list_item_box2">
	{if $shopArticle->shop_bargain_price_1 > 0}
		<div class="bargain_logo"></div>
	{/if}
	<a class="item_box_image" href="{$serverProtocol}://{$servername}{$itemSuri}" style="background-image:url({$SHOP_DIR}images/article/overview_{if $shopArticle->file_name}{$shopArticle->file_name}{else}default_image.png{/if});"></a>
	<a class="to_item{if $shopArticle->shop_bargain_price_1 > 0}_bargain{/if}" href="{$serverProtocol}://{$servername}{$itemSuri}">Zum Artikel</a>
	<div class="item_description">		
		{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$shopArticle->name_en}
			<a class="item_box_info" href="{$serverProtocol}://{$servername}{$itemSuri}"><span title="{$shopArticle->name}">{$shopArticle->name}</span>
		{else}
			<a class="item_box_info" href="{$serverProtocol}://{$servername}{$itemSuri}"><span title="{$shopArticle->name_en}">{$shopArticle->name_en}</span>
		{/if}
		
		{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$shopArticle->short_description_en}
			<br /><span class="description">{$shopArticle->short_description}</span>
		{else}
			><br /><span class="description">{$shopArticle->short_description_en}</span>
		{/if}
		
	
	
		{if $shopArticle->schema_data_attributes}
			{foreach from=$shopArticle->schema_data_attributes item=attribute}
				{if $attribute.show_list && $attribute.value}
						{if $attribute.number != $shopArticle->schema_data->selectable_attribute_1 && $attribute.number != $shopArticle->schema_data->selectable_attribute_2}
							<div style="width:270px;float:left;position:relative;">
							{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$attribute.name_en}
								{$attribute.name}:
							{else}
								{$attribute.name_en}:
							{/if}
							<span style="font-weight:normal;">{$attribute.value} {$attribute.unit}</span></div>
						{/if}
				{/if}
			{/foreach}
		{/if}
	</a>
	</div>
	
	
	
	
	
	
	

	

				{assign var=new_price value=""}
				{if $shopArticle->schema_data->selectable_attribute_1 || $shopArticle->schema_data->selectable_attribute_2}
				{foreach from=$shopArticle->schema_data_attributes item=attribute}
					{if $shopArticle->schema_data->selectable_attribute_1 == $attribute.number}
						{assign var=att_name_1 value="`$attribute.name`"}
						{assign var=att_unit_1 value="`$attribute.unit`"}
					{/if}
				{/foreach}

			  	{foreach from=$shopArticle->schema_data_attributes item=attribute}
					{if $shopArticle->schema_data->selectable_attribute_2 == $attribute.number}
						{assign var=att_name_2 value="`$attribute.name`"}
						{assign var=att_unit_2 value="`$attribute.unit`"}
					{/if}
				{/foreach}


						
							<div class="item_variant_box" style="left:400px;top:80px;">
								<div class="box_title">
									<span class="button_name" style="top:5px;">Variantenauswahl</span>
								</div>
								<div class="widget_menu_arrow"></div>
							</div>
							<div class="variant_selection_box" style="left:400px;top:110px;">
								{foreach item=item name=cartLoop from=$shopArticle->variant_structure}
									{if $item.level != 1}
									    {if !$new_price || $new_price > $item.shop_price_1}{assign var=new_price value=$item.shop_price_1}{/if}
									 	{if $shopArticle->id == $item.id}{assign var=preis_praefix value=""}{/if}
									
									  		{if $item.short_uri}<a href="{$item.short_uri}.html">{else}<a href="/index.php?item_id={$item.id}">{/if}
										<div class="cart_item {if $smarty.foreach.cartLoop.first}cart_item_first{/if}">
											<span class="item_amount">
											{if $shopArticle->schema_data->selectable_attribute_1}{$att_name_1}: {$item.data->attribute_1} {$att_unit_1}{/if} {if $shopArticle->schema_data->selectable_attribute_2}  &nbsp;&nbsp;&nbsp;&nbsp;| &nbsp;&nbsp;&nbsp;&nbsp; {$att_name_2}: {$item.data->attribute_2} {$att_unit_2} {/if}
											<br />{if $item.sample_price}{$item.sample_price|number_format:"2":",":"."} &euro; / {$shopArticle->sample_unit}{/if}
											</span>
											<div class="cart_item_image" style="background:#ffffff url({$SHOP_DIR}/images/article/thumb_{if $item.default_image_file_name}{$item.default_image_file_name}{else}default_image.png{/if}) center center no-repeat;"></div>
											<span class="item_number">{$item.number}</span>
											{*<span class="item_name">{$item.name|truncate:50:"...":true}</span>*}
											{if $item.price_type != 0}<span class="item_price">{$item.shop_price_1|number_format:"2":",":"."} &euro;</span>{/if}
											<div class="item_delivery_status_1"></div>
										</div>
										</a>
									{/if}
								{/foreach}
							</div>
						

				{/if}	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="item_box_price">
		{if !$no_prices && $shopArticle->price_type == "1"}
			{if $shopArticle->shop_price_1}
				{if $shopArticle->shop_bargain_price_1 > 0}
					<div>
						<div class="bargain_price">
							<span class="old_price">{$shopArticle->shop_price_1|number_format:2:',':" "}&nbsp;&euro;</span> {$shopArticle->price_praefix} {$shopArticle->shop_bargain_price_1|number_format:2:',':" "}&nbsp;&euro; *
						</div>
					</div>
				{else}
					<div class="normal_price">
						{$shopArticle->price_praefix} {$shopArticle->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>
	{if $shopArticle->item_types}
	<div style="position:absolute;bottom:2px;left:10px;height:20px;width:390px;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>

	
	
