diff --git a/Plugin/SeoRender.php b/Plugin/SeoRender.php index 09ed8fe..257231d 100755 --- a/Plugin/SeoRender.php +++ b/Plugin/SeoRender.php @@ -512,7 +512,7 @@ public function showProductStructuredData() $productStructuredData['brand']['name'] = (($brandAttribute === 'quantity_and_stock_status' && $brandValue >= 0) || $brandValue) ? $brandValue : 'Brand'; if ($brandAttribute === 'meta_title') { - $productStructuredData['brand']['name'] = $product->getName(); + $productStructuredData['brand']['name'] = $product->getMetaTitle(); } } diff --git a/composer.json b/composer.json index c41002c..02864c7 100644 --- a/composer.json +++ b/composer.json @@ -2,10 +2,10 @@ "name": "mageplaza/magento-2-seo-extension", "description": "Magento 2 SEO extension", "require": { - "mageplaza/module-core": "^1.5.5" + "mageplaza/module-core": "^1.5.6" }, "type": "magento2-module", - "version": "4.3.0", + "version": "4.3.1", "license": "proprietary", "keywords": [ "magento 2",