[`Loading...`]
{if $features} {include file="./SettingsFeaturesFeatureList.html" inline} {/if}
  [`Feature name`] [`Feature type and values`]  
{{if feature.status != 'public'}}
{{/if}} ${feature.name}
${feature.code}
${feature.type_name} {{if feature.selectable}}
{{if feature.values.length}} {{else}}

[`No feature values are defined`]

[`Add feature value`] {{/if}}
{{/if}}
 

{{if feature.id>0}} ${feature.code} {{/if}}
{{if feature.id > 0}} {{/if}}
{{if feature.id > 0}} ${feature.type_name} {{else}} {/literal} {include file="../../includes/featuresValuesTypes.html" base='/features/feature/value/type/edit/${feature.id}' class="js-action" available=1 action='' variants=shopFeatureModel::getLegacyTypes() inline} {literal} {{/if}}
{foreach $smarty.capture as $name => $template} {if strpos($name,'template-js')} {/if} {/foreach} {* dialog *}
{$wa->csrf()}

[`New product type`]

[`Product type settings`]

[`Product type name`]
[`Product type icon`]

[`Or enter icon URL (should be a 16x16 px image)`]:
[`or`] [`cancel`]

[`Change feature type`]

[`Current data type`]
/* Old feature type */
[`New data type`]
{include file="../../includes/featuresValuesTypes.html" class="js-action" available=1 action='' inline}

[`When altering feature data type, product feature values will be automatically converted to the new data type. Conversion routine will attempt to convert all product feature values automatically, but still some data may be lost when conversion is not feasible. Example: when altering feature type from Text (string) to Value (numerical), product feature values such as "100" and "200" will be converted to numbers properly, and values that do not have a numerical representation (e.g. "hello", "none", "red") will be converted to 0. In case of data loss, there will be no way to roll back.`]

[`or`] [`cancel`]
{$wa->csrf()}

[`Delete feature`]

[`or`] [`cancel`]
{$wa->csrf()}