m2-MSP_CmsImportExport icon indicating copy to clipboard operation
m2-MSP_CmsImportExport copied to clipboard

CMS Page meta_title is not exported or imported

Open jwhitney55 opened this issue 5 years ago • 0 comments

I noticed the meta title is missing from CMS pages on export and import. This can be fixed with two lines of code in /Model/Content.php:

At line #160: CmsPageInterface::META_KEYWORDS => $pageInterface->getMetaKeywords(),`

add this: CmsPageInterface::META_TITLE => $pageInterface->getMetaTitle(),

Then, at line #423: ->setMetaKeywords($cms[CmsPageInterface::META_KEYWORDS])

Add this: ->setMetaTitle($cms[CmsPageInterface::META_TITLE])

jwhitney55 avatar Oct 24 '19 19:10 jwhitney55