This new get 2 meta, a lot of other new issues can make a full AMP page. I write to store and if you see or can follow the page for more related articles
Step 1: Write more code in Controller
Open Catalog >> Controller >> Product >> Open " product.php "
Insert below:
$ data ['heading_title'
The following two lines:
$ data ['meta_description'] = $ product_info ['meta_description'];
$ data ['meta_keyword'] = $ product_info ['meta_keyword'];
Go back
Step 2: Call them in product.twig file
<meta name = "description" content = "{{meta_description}}" />
<meta name = "keywords" content = "{{meta_keyword}}" />
Save and clear the cache. Then try adding meta keyword and meta des to
إرسال تعليق
إرسال تعليق