Skip to content

Commit

Permalink
2.4 develop (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuccv authored Mar 18, 2024
2 parents ecc59a8 + a3ae9b9 commit e172378
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Plugin/SeoRender.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit e172378

Please sign in to comment.