Skip to content

Commit

Permalink
fix seo
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Jan 17, 2025
1 parent 5cf55ed commit 2f8acac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private function setSEOContent(array $data, string $locale = null): array
'meta_keywords' => $editedData['seo_keywords'],
];

$editedData['home_seo'] = json_encode($editedData['home_seo']);
//$editedData['home_seo'] = json_encode($editedData['home_seo']);

unset($editedData['seo_title'], $editedData['seo_description'], $editedData['seo_keywords']);

Expand Down
1 change: 1 addition & 0 deletions src/Http/Resources/Api/V1/Shop/Core/ChannelResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function toArray($request)
'base_currency_id' => $this->base_currency_id,
'base_currency_code' => core()->getBaseCurrencyCode(),
'currencySymbol' => core()->currencySymbol(core()->getBaseCurrencyCode()),
'home_seo' => $this->home_seo,
]);
}

Expand Down

0 comments on commit 2f8acac

Please sign in to comment.