Meta Tags in Shopify
// October 29th, 2007 // Design, SEO, Shopify, Web Builders, eCommerce
Alright, we’re back. It’s been some time since I’ve posted last. Lots of projects going on at work, at home, and school. One of such projects has been playing around with Shopify. My most recent discovery with Shopify is how to create custom meta tags. Although, I’m still trying to figure out how to create custom meta tags for each page, you can still create custom meta tags for your individual products. What this does basically, is automatically turn the description for your product into the meta description and turn the tags assigned to your product into meta keywords. That’s better than nothing and with using Shopify your main focus is going to be on your products, anyway. Here is what you will need to do to get these this to work:
1. Login to your Shopify admin.
2. Navigate to “Assets” (Shopify recently changed “Look and Feel” to “Assets”). Then click on where it says “Theme Editor”
3. Now click on “Theme.liquid” to open up your layout code for your template.
4. Near the top of the code will be where the header code starts. Look for “<head>”. After the <head> tag enter the following code:
{% if template == “product” %}
<meta name=”description” content=”{{ product.description | strip_html }}” />
<meta name=”keywords” content=”{{ product.tags | join: “,” }}” />
{% endif %}
5. Click “save” when finished for it to take effect.




