Jump to content

Remove Combination from Meta Title


Sataris

Recommended Posts

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

Edited by Sataris (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 5 years later...

Hi

There is a setting in Prestashop since v1.7.5.1 for controlling this.

You need to open this page: Traffic & SEO /  SEO & URLs

There is a setting called "Display attributes in the product meta title" at the bottom of the page.

Disable this setting and combination attributes will be removed from meta title.

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...