Skip to content

Commit 9d2a676

Browse files
committed
MAGETWO-58014: [GitHub] page cache also caches breadcrumbs #5502
1 parent d68d059 commit 9d2a676

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Catalog/Helper/Product

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Helper/Product/View.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ private function preparePageMetadata(ResultPage $resultPage, $product)
115115
$title = $product->getMetaTitle();
116116
if ($title) {
117117
$pageConfig->getTitle()->set($title);
118+
} else {
119+
$pageConfig->getTitle()->set($product->getName());
118120
}
119121

120122
$keyword = $product->getMetaKeyword();

0 commit comments

Comments
 (0)