From b66d47083ed32b522440739183c1f99898362c11 Mon Sep 17 00:00:00 2001 From: sLorenzini Date: Wed, 11 Dec 2013 17:34:17 +0100 Subject: [PATCH] // update schema.org on product-list --- themes/default-bootstrap/product-list.tpl | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/themes/default-bootstrap/product-list.tpl b/themes/default-bootstrap/product-list.tpl index 30c05c5e4..14ef8803c 100644 --- a/themes/default-bootstrap/product-list.tpl +++ b/themes/default-bootstrap/product-list.tpl @@ -76,7 +76,8 @@
+ itemscope + itemtype="http://schema.org/Offer"> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} @@ -258,10 +259,10 @@ html += '
' + $(element).find('.left-block').html() + '
'; html += '
'; html += '
'+ $(element).find('.product-flags').html() + '
'; - html += '
'+ $(element).find('h5').html() + '
'; + html += '
'+ $(element).find('h5').html() + '
'; var rating = $(element).find('.comments_note').html(); // check : rating if (rating != null) { - html += '
'+ rating + '
'; + html += '
'+ rating + '
'; } html += '

'+ $(element).find('.product-desc').html() + '

'; var colorList = $(element).find('.color-list-container').html(); @@ -300,17 +301,17 @@ html += '
' + $(element).find('.left-block').html() + '
'; html += '
'; html += '
'+ $(element).find('.product-flags').html() + '
'; - html += '
'+ $(element).find('h5').html() + '
'; + html += '
'+ $(element).find('h5').html() + '
'; var rating = $(element).find('.comments_note').html(); // check : rating if (rating != null) { - html += '
'+ rating + '
'; + html += '
'+ rating + '
'; } - html += '

'+ $(element).find('.product-desc').html() + '

'; + html += '

'+ $(element).find('.product-desc').html() + '

'; var price = $(element).find('.content_price').html(); // check : catalog mode is enabled if (price != null) { html += '
'+ price + '
'; } - html += '
'+ $(element).find('.button-container').html() +'
'; + html += '
'+ $(element).find('.button-container').html() +'
'; var colorList = $(element).find('.color-list-container').html(); if (colorList != null) { html += '
'+ colorList +'
';