
					Artikelvarianten:<br />
						<table border="0" cellpadding="2" cellspacing="2" style="width:900px;background:#f0f0f0;border: solid 1px #B5C0F9;">
							<tr style="background:#cccccc;">
							  <td style="width:310px;">Aktion</td>
							  <td>
							  	{foreach from=$item_data->schema_data_attributes item=attribute}
									{if $item_data->schema_data->selectable_attribute_1 == $attribute.number}
										{$attribute.name} {if $attribute.unit}({$attribute.unit}){/if}
									{/if}
								{/foreach}
							  </td>
							  <td>
							  	{foreach from=$item_data->schema_data_attributes item=attribute}
									{if $item_data->schema_data->selectable_attribute_2 == $attribute.number}
										{$attribute.name} {if $attribute.unit}({$attribute.unit}){/if}
									{/if}
								{/foreach}
							  </td>
							  <td>Lager</td>
							  <td>Preis (brutto)</td>
							</tr>
							{foreach from=$item_data->variant_structure item=variant_item}
								{if $variant_item.level != 1}
								<tr style="background:#ffffff;">
								  <td>
								  	<input type="button" class="button_delete_variant" rel="{$variant_item.id}" value="l&ouml;schen" name="" style="width:150px;float:left;" />
								  	<input type="button" onclick="window.location.href='./index.php?admin_modul=admin_item_editor&id={$variant_item.id}&action_edit'" value="bearbeiten" name="" style="width:150px;float:left;margin-left:10px;" />
								  	<div style="clear:left;"></div>
								  </td>
								  {assign var="key" value="attribute_`$item_data->schema_data->selectable_attribute_1`"}
								  <td>{$variant_item.data->$key}</td>
								  {assign var="key" value="attribute_`$item_data->schema_data->selectable_attribute_2`"}
								  <td>{$variant_item.data->$key}</td>
								  <td style="text-align:right;">{$variant_item.data->inventory}</td>
								  <td style="text-align:right;">{$variant_item.data->price_1} &euro; ({$variant_item.data->price_1_tax|number_format:"2":".":""} &euro;)</td>
								</tr>
								{/if}
							{/foreach}
							<tr style="background:#ff9900;">
							  <td><input type="button" id="button_new_variant" value="Variante hinzuf&uuml;gen" name="Variante hinzuf&uuml;gen" style="width:310px;" /></td>
							  <td>
							  	{foreach from=$item_data->schema_data_attributes item=attribute}
									{if $item_data->schema_data->selectable_attribute_1 == $attribute.number}
										<input id="new_variant_attr1" type="text" name="form_field[attribute_{$attribute.number}]" value="">
									{/if}
								{/foreach}
							  </td>
							  <td>
							  	{foreach from=$item_data->schema_data_attributes item=attribute}
							  		{if $item_data->schema_data->selectable_attribute_2 == $attribute.number}
										<input id="new_variant_attr2" type="text" name="form_field[attribute_{$attribute.number}]" value="">
									{/if}
								{/foreach}
							  </td>
							  <td>-</td>
							  <td>-</td>
							</tr>
						</table>
						