This is the part of the code from invoice.tpl from


{foreach from=$order_info.products item="oi"}
            {hook name="orders:items_list_row"}
                {if !$oi.extra.parent}
                        {$oi.product|default:__("deleted_product") nofilter}
                        {hook name="orders:product_info"}
                        {if $oi.product_code}

{__("sku")}: {$oi.product_code}

{/if} {/hook} {if $oi.product_options}
{include file="common/options_info.tpl" product_options=$oi.product_options}{/if} {$oi.amount} {if $oi.extra.exclude_from_calculate}{__("free")}{else}{include file="common/price.tpl" value=$oi.original_price}{/if} {if $order_info.use_discount} {if $|floatval}{include file="common/price.tpl" value=$}{else} - {/if} {/if} {if $order_info.taxes && $settings.General.tax_calculation != "subtotal"} {if $oi.tax_value}{include file="common/price.tpl" value=$oi.tax_value}{else} - {/if} {/if}
                {if $oi.extra.exclude_from_calculate}{__("free")}{else}{include file="common/price.tpl" value=$oi.display_subtotal}{/if} 

How do I get rid of the showing 'product_code' on invoice as removing following

                        {hook name="orders:product_info"}
                        {if $oi.product_code}

{__("sku")}: {$oi.product_code}

{/if} {/hook}

does not help?

Probably need to remove it from the frontend as well.


You think that if some part of code is missing from


it is covered from


? Hm I doubt that..

I think that cs-cart cares little what is in tpl all is coded in php..

1. In order to remove the product code correctly, please create /design/backend/mail/templates/addons/my_changes/hooks/orders/product_info.override.tpl with the following code:


2. The /design/backend/mail/templates/orders/invoice.tpl template used for order notification of admin and vendors. And the /design/themes/responsive/mail/templates/orders/invoice.tpl is for order notification of customers. So, if you want to remove product code from both admin and customer emails, please do the same changes for both these templates.