Product Code(sku) in a product pages title

Hi Guys,



I’m trying to do something which i think should be simple here but for some reason i’m unable to get my head around it. Any ideas on how i can include Product Code(sku) to a title of product view page?


<br />
{if $page_title}<br />
    {$page_title}<br />
{else}<br />
    {foreach from=$breadcrumbs item=i name="bkt"}<br />
        {if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}<br />
    {/foreach}<br />
    {if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title}{/if}<br />
{/if}<br />

```<br />
<br />
Thanks.

[quote name=‘moro1’]Hi Guys,



I’m trying to do something which i think should be simple here but for some reason i’m unable to get my head around it. Any ideas on how i can include Product Code(sku) to a title of product view page?



```php

{if $page_title}

{$page_title}

{else}

{foreach from=$breadcrumbs item=i name=“bkt”}

{if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}

{/foreach}

{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$location_data.page_title}{/if}

{/if}

```



Thanks.[/QUOTE]



Hello, moro1



Some code modifications are required to implement this feature. We would be happy to assist you in this matter within our technical support service. Please contact us via Customer Help Desk if you have support credits or an active support period.



Thank you.

Hi moro1,



Did you manage to get this working? If so do you mind sharing the solution?



Thanks