0

When I set the meta title, both on product and category, the title in the Header is not changing. Then I tried to manually change the function in the header.php to getMetaTitle() but it returns null everytime.

What could be the problem?

2
  • have you changed the cache after setting meta title in the backend for the products and category ? Jun 15, 2017 at 7:41
  • Of course; the other meta change when I set them, the meta title is the only one that doesn't change.
    – Taddo
    Jun 15, 2017 at 7:57

1 Answer 1

0

Check if you have any custom modules added in your project which is overriding the core function getMetaTitle(). If it is the case, try to modify the code to get the value of meta title. Please post here if this is not the case and still you are facing the issue.

2
  • I have done a grep -R 'getMetaTitle()' . but it returns only 3 results in the Magento core;
    – Taddo
    Jun 15, 2017 at 8:25
  • Are you saving anything store/website specific and checking in another store/website ? Jun 15, 2017 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.