This topic contains 3 replies, has 2 voices, and was last updated by mlozynskyy 5 years, 8 months ago.
-
Topic
-
How can I add SEO Keywords to Product programmatically?
12345foreach ($productData['keywords'] as $keyword) {$value = new LocalizedFallbackValue();$value->setString($keyword);$product->addMetaKeyword($value);}If I do in that way: I get an error “An exception has been thrown during the rendering of a template (“There must be only one default title”) in vendor/oro/commerce/src/Oro/Bundle/SEOBundle/Resources/views/SEO/keywords_view.html.twig at line 3.”
The forum ‘OroCommerce’ is closed to new topics and replies.