Commit a88c1005 authored by mDeflotte's avatar mDeflotte

// Improving carrier option render in the product admin tab

parent d189e67a
......@@ -406,6 +406,18 @@ $(document).ready(function(){
<input size="6" maxlength="6" name="height" type="text" value="{$product->height}" onKeyUp="if (isArrowKey(event)) return ;this.value = this.value.replace(/,/g, '.');" /> {$ps_dimension_unit}
</td>
</tr>
<tr>
<td class="col-left">
<label>Carriers:</label>
</td>
<td class="padding-bottom:5px;">
<select name="carriers[]" multiple="multiple" size="4">
{foreach $carrier_list as $carrier}
<option value="{$carrier.id_reference}" {if isset($carrier.selected) && $carrier.selected}selected="selected"{/if}>{$carrier.name}</option>
{/foreach}
</select>
</td>
</tr>
</table>
<table cellpadding="5" style="width: 40%; float: left; margin-left: 10px;">
<tr>
......@@ -421,20 +433,6 @@ $(document).ready(function(){
</td>
</tr>
</table>
<table cellpadding="5" cellspacing="0" border="0" style="width: 100%;">
<tr>
<td class="col-left" style="width:600px">
<label>Carriers:</label>
</td>
<td class="padding-bottom:5px;">
<select name="carriers[]" multiple="multiple" size="4">
{foreach $carrier_list as $carrier}
<option value="{$carrier.id_reference}" {if isset($carrier.selected) && $carrier.selected}selected="selected"{/if}>{$carrier.name}</option>
{/foreach}
</select>
</td>
</tr>
</table>
</div>
{* [end] of physical product *}
{* [begin] virtual product *}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment