Comments

1 comment

  • Avatar
    Emily

    Hi Samantha, 

    I found this Youtube video helpful: https://www.youtube.com/watch?v=2OhYBx2x3Ng

    I have Turbo theme and this code works for me, pasted on the theme.liquid file:

      <!-- Pinterest rich pins code -->
    {% if template contains 'product' %}
    <meta property="og:type" content="product" />
    <meta property="og:title" content="{{ product.title }}" />
    <meta property="og:description" content="{{ page_description | escape }}" />
    <meta property="og:url" content="{{ product.url }}"/>
    <meta property="og:site_name" content="{{ shop.name }}" />
    <meta property="product:price:amount" content="{{ product.price | money_without_currency }}" />
    <meta property="product:price:currency" content="{{ shop.currency }}" />
    <meta property="og:availability" content="{% if product.available %}instock{% else %}out of stock{% endif %}" />
    {% endif %}

    Hope this helps you, I'm trying to figure out rich pins also. 

    Emily 

    0
    Comment actions Permalink

Please sign in to leave a comment.