50 lines
2.1 KiB
Smarty
50 lines
2.1 KiB
Smarty
<div class="alert alert-info">
|
|
<p>{l s='How it works?' mod='pshowimporter'}</p>
|
|
<p>{l s='Eg. if in field "Your custom value" you type "SONY" and you match it as "Manufacturer - name" each importing (or updating) object will be complemented by this field. In this way you can add and/or update any value that eg. not exist in your file.' mod='pshowimporter'}</p>
|
|
<p><strong>{l s='Warning! All data below will be added to all importing objects! Own values have a higher priority than the matched in.' mod='pshowimporter'}</strong></p>
|
|
</div>
|
|
|
|
<table class="table table-hover">
|
|
<thead>
|
|
|
|
<tr class="active">
|
|
<td class="col-md-6 text-right">
|
|
<strong>{l s='Your custom value' mod='pshowimporter'}</strong>
|
|
</td>
|
|
<td class="col-md-6">
|
|
<strong>{l s='PrestaShop field' mod='pshowimporter'}</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{for $i=1 to 70}
|
|
|
|
<tr>
|
|
<td class="col-md-5">
|
|
<input type="text" class="form-control text-right" name="matched[customvalues][{$i}][key]"
|
|
{if isset($config["matched"]["customvalues"][$i]["key"])}value="{$config["matched"]["customvalues"][$i]["key"]}"{/if}>
|
|
</td>
|
|
<td class="col-md-5">
|
|
{include file="../helpers/config_matchxml_dbfield.tpl" type='customvalues' md5=$i}
|
|
</td>
|
|
<td class="col-md-2 text-right">
|
|
<div class="btn-group-action">
|
|
<div class="btn-group pull-right">
|
|
<a title="Edit" class="edit btn btn-default fieldSettingsBtn">
|
|
<i class="icon-cog"></i> {l s='Show/hide settings' mod='pshowimporter'}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
{include file="./config_matchxmlfields_options_fields.tpl" type='custommatches' md5=$i hideModificators=true}
|
|
|
|
{/for}
|
|
|
|
</tbody>
|
|
|
|
</table> |