frontend - editing SEO metadata in virtocommerce -


i'm trying use seo store , set page titles store pages customer profile, sign in, cart, .... last seo entry in store seo's applies pages (except category, product), example have 3 seo entry , addresses applies pages, home!

it possible set seo title , description shopping cart, personal cabinet , similar pages checking liquid-template name on theme layout before using liquid-variables page_title , page_description. so:

... {% if template == 'cart' %}   {% assign page_title = 'cart.general.title' | t %}   {% assign page_description = 'cart.general.title' | t | append: ' - ' | append: shop.name %} {% endif %} ... <title>... {{ page_title }} ...</title> <meta name="description" content="{{ page_description | escape }}" /> 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -