[SOLVED]How to add meta tags to the HTML page for Catalog list and Catalog detail page

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
kartikbhat
Posts: 40
Joined: 02 Dec 2021, 17:18

[SOLVED]How to add meta tags to the HTML page for Catalog list and Catalog detail page

Post by kartikbhat » 30 Jan 2023, 10:30

I am adding meta keywords and meta description from admin panel under texts section

Now how can I bring these added texts as a value for meta tags..

How Can I add product description as a meta description ?

TIA :)
Last edited by kartikbhat on 31 Jan 2023, 12:27, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 7884
Joined: 01 Jan 1970, 00:00

Re: How to add meta tags to the HTML page for Catalog list and Catalog detail page

Post by aimeos » 31 Jan 2023, 11:10

The meta tags in the product detail page are added here:
https://github.com/aimeos/ai-client-htm ... hp#L35-L72
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kartikbhat
Posts: 40
Joined: 02 Dec 2021, 17:18

Re: How to add meta tags to the HTML page for Catalog list and Catalog detail page

Post by kartikbhat » 31 Jan 2023, 11:27

How can I refer this header.php in my blade file ? in which section I mean

under $aiheader it will be available ?

kartikbhat
Posts: 40
Joined: 02 Dec 2021, 17:18

Re: How to add meta tags to the HTML page for Catalog list and Catalog detail page

Post by kartikbhat » 31 Jan 2023, 12:27

I have added

Code: Select all

<?= $aiheader['catalog/detail'] ?? '' ?>
in a related blade file and it works...

Thank you

Post Reply