Mario_caldera Posted January 13, 2014 Share Posted January 13, 2014 Hell guys. I need help to put schema in my header.tpl theme, product.tpl and prices-drop.tpl I was following 1 totural which said the following for each one: Header.tpl: <body itemscope itemtype="http://schema.org/WebPage"> How i adapt that to my: <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$LEO_BGPATTERN} fs{$FONT_SIZE}"> Like that?: <body itemscope itemtype="http://schema.org/WebPage" {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$LEO_BGPATTERN} fs{$FONT_SIZE}"> The same with product.tpl. Tutorial said: <div id="primary_block" itemscope itemtype="http://schema.org/Product"> How i adapt that to: <div id="primary_block" class="no-background row-fluid"> Like that?: <div id="primary_block" itemscope itemtype="http://schema.org/Product" class="no-background row-fluid"> For the end,how i put that in my prices-drop.tpl?: <div class="price" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> My prices-drop.tpl: <h1 class="title_content block">{l s='Price drop'}</h1> {if $products} <div class="content_sortPagiBar"> <div class="row-fluid sortPagiBar bg_gray"> <div class="span6"> <div class="inner"> {include file="./product-sort.tpl"} </div> </div> <div class="span3 hidden-phone"> <div class="inner"> <div class="btn-group" id="productsview"> <a class="btn" href="#" rel="view-grid"><i class="icon-th active" ></i></a> <a class="btn" href="#" rel="view-list"><i class="icon-th-list"></i></a> </div> </div> </div> <div class="span3 "> <div class="inner"> {include file="./product-compare.tpl"} </div> </div> </div> </div> {include file="./product-list.tpl" products=$products} <div class="row-fluid sortPagiBar bg_gray"> <div class="span9"> <div class="inner"> {include file="$tpl_dir./pagination.tpl"} </div> </div> <div class="span3 hidden-phone"> <div class="inner"> {include file="./product-compare.tpl"} </div> </div> </div> {else} <p class="warning">{l s='No price drop.'}</p> {/if} Link to comment Share on other sites More sharing options...
NemoPS Posted January 22, 2014 Share Posted January 22, 2014 Yes, yes, and yes I did it that way for the product page of my site, I just left out the website itemscope part. As a side note, the price might need a little tweaking (see here, price part: http://nemops.com/prestashop-google-rich-snippets/#.Ut-UkxA1jmg) Link to comment Share on other sites More sharing options...
Mario_caldera Posted January 23, 2014 Author Share Posted January 23, 2014 Hello, You can try SPAM which will automatically add google structured data to your product's detail page. Thanks, And when i can get that module? it´s free? i need someting to do it but for free LOL Link to comment Share on other sites More sharing options...
technoschool Posted January 29, 2014 Share Posted January 29, 2014 you can get clear understanding on https://support.google.com/webmasters/answer/1211158?hl=en Link to comment Share on other sites More sharing options...
vekia Posted February 5, 2014 Share Posted February 5, 2014 And when i can get that module? it´s free? i need someting to do it but for free LOL no it's not free, and i removed this SPAM! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now