Zencart is a popular ecommerce platform. This tutorial explains how to add additional meta tags to the head section of you zencart installation.
For example, if you want to add extra meta tags to your zencart shop header like:
<meta name=”robots” content=”index, follow”>
<meta name=”revisit-after” content=”14 days”>
You can do it simply by following this simple tutorial.
To add additional meta tags to your zencart source head, goto:
/includes/templates/template_default/common/html_header.php
And add whatever content you want to be added to the head section to your zencart site in addition to already displayed one.
Important tip:
- instead of editing the template_default folder file, it’s better to create a new folder in your current template folder and name it common. Then copy includes/templates/template_default/common/html_header.php to that folder and edit it there to whatever you want it to be. This way, when you upgrade your zencart in future, it won’t override any of your custom changes.