View Single Post
  #2   IP: 49.82.124.215
Old 2015-11-06, 07:56 AM
Eatonville Eatonville is offline
初级会员
 
Join Date: 2007-11-13
Posts: 1
Eatonville 现在声名狼藉
Default

Under skin - modules/Extra_Fields/product_modify.tpl

First copy the products_modify.tpl to your skin/skinname/modules/Extra_fields folder - so you always have the original to go back to then add this into the loop

replacing the code that writes out the field/ value

Code:
{if $geid ne ''} <td width="15" class="TableSubHead"><input type="checkbox" value="Y" name="fields[efields][{$ef.fieldid}]" /> </td>{/if}

{if $product.categoryid eq '31' && $ef.orderby lt '400' }
<td class="FormButton" nowrap="nowrap"> {product.categoryid} {$ef.field}: </td>
<td class="ProductDetails">
<input type="text" name="efields[{$ef.fieldid}]" size="70" value="{if $ef.is_value eq 'Y'}{$ef.field_value|escape:html}{else}{$ef.value| escape:html} {/if}" />
</td>
{elseif $product.categoryid eq '49' }
{if $ef.orderby gt '400' && $ef.orderby lt '500' }
<td class="FormButton" nowrap="nowrap"> 49 only {$ef.field}: </td>
<td class="ProductDetails">
<input type="text" name="efields[{$ef.fieldid}]" size="70" value="{if $ef.is_value eq 'Y'}{$ef.field_value|escape:html}{else}{$ef.value| escape:html}{/if}" />
</td>
{/if}
{else}
<td> Other specs needed here </td>
{/if}

</tr>
Reply With Quote