@edmond_brakus
To get the tag in the <head>
section of your Shopify product page, you can follow these steps:
1 2 3 |
{% if product.description %} <meta name="description" content="{{ product.description | strip_html | escape }}"> {% endif %} |
This code snippet checks if the product description exists and adds it as the meta description tag in the <head>
section of your product page. Make sure to save your changes after adding the code.
Please note that modifying the code of your Shopify theme requires some technical knowledge. If you are not comfortable with code editing, it is recommended to consult with a Shopify expert or developer for assistance.