Jump to content

Edit History

Sataris

Sataris

Hi all, 

I'm running into a strange issue with Prestashop 1.7.5.0

The meta title on my product pages is being appended with the default combination. 

e.g. 

For the product 'Personalized Widgets'

The 'Meta Title' field in the product SEO tab is set to 'Personalized Widgets', with a variety of colours and sizes set in the combinations. 

The template head.tpl has the following. 

<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>

I'd expect this to output

<title>Personalized Widgets</title>

What I get is

<title>Personalized Widgets Size S Color Red</title>

Am I missing something? I want to remove the combination attributes from the title, but I can't seem to find any thing looking through the code. 

I can verify that changing the 'default combination' does indeed change the title.  But I want to remove it completely. 

Any help would be greatly appreciated. 

Cheers

Sataris

Sataris

Hi all, 

I'm running into a strange issue with Prestashop 1.7.5.0

The meta title on my product pages is being appended with the default combination. 

e.g. 

For the product 'Work Pencil Dress'

The 'Meta Title' field in the product SEO tab is set to 'Work Pencil Dress', with a variety of colours and sizes set in the combinations. 

The template head.tpl has the following. 

<title>{block name='head_seo_title'}{$page.meta.title}{/block}</title>

I'd expect this to output

<title>Work Pencil Dress</title>

What I get is

<title>Work Pencil Dress Size S Color Cherry Red</title>

Am I missing something? I want to remove the combination attributes from the title, but I can't seem to find any thing looking through the code. 

I can verify that changing the 'default combination' does indeed change the title.  But I want to remove it completely. 

Any help would be greatly appreciated. 

Cheers

×
×
  • Create New...