Jump to content

Display Product Features Inside Admin Order - Product line


Ghostm3z

Recommended Posts

Hello,

 

I would like to display certain product features (based on ID) in Backend -> Orders -> individual order (Where the product line is shown): https://prnt.sc/prbxfh.

 

I have tried with this, but the result is empty (Included in file admin\themes\default\template\controllers\orders\_product_line.tpl):

 

{if isset($features) && $features}
    {foreach from=$features item=feature}
        {if $feature.id_feature == 19}
            <span>{$feature.name|escape:'html':'UTF-8'}</span>: <span>{$feature.value|escape:'html':'UTF-8'}</span>
        {/if}
     {/foreach}
 {/if}

 

Edited by Ghostm3z (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...