Jump to content

Help with schema


Mario_caldera

Recommended Posts

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...