Post by kaspopol » Tue Apr 26, 2016 8:33 pm

Please anyone can help me to edit my product.tpl, so google could read as rich snippets.
i use opencart v.1.5.1 x and i use custom theme template not default.
this is my web site http://www.humijayatech.com
Thank You , i hope someone could help me

this is my prdouct.tpl :

<?php echo $header; ?>
<?php $grid = 12; if($column_left != '') { $grid = $grid-3; } if($column_right != '') { $grid = $grid-3; } ?>
<?php echo $content_top; ?>
<!-- Content Center -->

<div id="content-center">

<!-- Breadcrumb -->

<div class="breadcrumb">

<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
<?php } ?>
<h2><?php echo $heading_title; ?></h2>

</div>

<!-- End Breadcrumb -->

<?php echo $column_left; ?>

<div class="grid-<?php echo $grid; ?> float-left">

<div class="product-info">
<?php if ($thumb || $images) { ?>
<div class="left">
<?php if ($thumb) { ?>
<div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="fancybox" rel="fancybox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /></a></div>
<?php } ?>
<?php if ($images) { ?>
<div class="image-additional">
<?php foreach ($images as $image) { ?>
<a href="<?php echo $image['popup']; ?>" title="<?php echo $heading_title; ?>" class="fancybox" rel="fancybox"><img src="<?php echo $image['thumb']; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" /></a>
<?php } ?>
</div>
<?php } ?>
</div>
<?php } ?>
<div class="right">
<div class="description">
<?php if ($manufacturer) { ?>
<span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br />
<?php } ?>
<span><?php echo $text_model; ?></span> <?php echo $model; ?><br />

<span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div>

bla bla bla... not enough space

Newbie

Posts

Joined
Tue Apr 26, 2016 8:22 pm

Post by victorj » Sun May 08, 2016 4:51 am

First check if there are rich supported rich snippets for your site, and if so wich ones you want to use.
id there are, search extensions tore, there are some that give rich snippets

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Eigen productie en snelle levering.
https://123-deurrubbers.com


User avatar
Newbie

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by Dunald » Fri Jan 06, 2017 5:31 am

Hi!
I can not find a (free) exstension with Rich Snippet and IMAGES.
Any idea how to solve this?
I use 1.5.5.1

Newbie

Posts

Joined
Tue Mar 15, 2011 9:05 pm
Who is online

Users browsing this forum: Bing [Bot] and 34 guests