From c3de90f926ae3cf41dcd767491aa7a8a5d83ef0d Mon Sep 17 00:00:00 2001 From: Hector Jusforgues Date: Wed, 20 Feb 2013 03:54:54 +0700 Subject: [PATCH 1/3] Update app/code/core/Mage/Catalog/view/frontend/product/view.phtml add product Rich Snippet http://www.schema.org/Product --- app/code/core/Mage/Catalog/view/frontend/product/view.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/core/Mage/Catalog/view/frontend/product/view.phtml b/app/code/core/Mage/Catalog/view/frontend/product/view.phtml index 6220bd7d28d8c..02948309a8421 100644 --- a/app/code/core/Mage/Catalog/view/frontend/product/view.phtml +++ b/app/code/core/Mage/Catalog/view/frontend/product/view.phtml @@ -41,7 +41,7 @@ })(jQuery);
getMessagesBlock()->getGroupedHtml() ?>
-
+
getOptions()): ?> @@ -53,7 +53,7 @@
-

productAttribute($_product, $_product->getName(), 'name') ?>

+

productAttribute($_product, $_product->getName(), 'name') ?>

canEmailToFriend()): ?> @@ -90,7 +90,7 @@

__('Quick Overview') ?>

productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?>
+ class="std" itemprop="description">productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?>
From 6e31eaeae3dbb3928627568c1b2e72058e23a675 Mon Sep 17 00:00:00 2001 From: Hector Jusforgues Date: Wed, 20 Feb 2013 04:01:28 +0700 Subject: [PATCH 2/3] Update app/code/core/Mage/Catalog/view/frontend/product/view/media.phtml Add image Rich Snippet code for product --- .../core/Mage/Catalog/view/frontend/product/view/media.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/core/Mage/Catalog/view/frontend/product/view/media.phtml b/app/code/core/Mage/Catalog/view/frontend/product/view/media.phtml index 728c428305a38..463f3ef3e4a4a 100644 --- a/app/code/core/Mage/Catalog/view/frontend/product/view/media.phtml +++ b/app/code/core/Mage/Catalog/view/frontend/product/view/media.phtml @@ -37,7 +37,7 @@ getImage() != 'no_selection' && $_product->getImage()): ?>

helper('Mage_Catalog_Helper_Image')->init($_product, 'image').'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />'; + $_img = ''.$this->escapeHtml($this->getImageLabel()).''; echo $_helper->productAttribute($_product, $_img, 'image'); ?>

@@ -64,7 +64,7 @@

getBaseImageUrl($_product).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />'; + $_img = ''.$this->escapeHtml($this->getImageLabel()).''; echo $_helper->productAttribute($_product, $_img, 'image'); ?>

From 25abaf52926d4b3eb0e76f7228591c0d7dc47dbd Mon Sep 17 00:00:00 2001 From: Hector Jusforgues Date: Wed, 20 Feb 2013 04:11:30 +0700 Subject: [PATCH 3/3] Update app/code/core/Mage/Catalog/view/frontend/product/price.phtml --- .../core/Mage/Catalog/view/frontend/product/price.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/core/Mage/Catalog/view/frontend/product/price.phtml b/app/code/core/Mage/Catalog/view/frontend/product/price.phtml index 1e3a82de1e7d7..6fd312655b8e9 100644 --- a/app/code/core/Mage/Catalog/view/frontend/product/price.phtml +++ b/app/code/core/Mage/Catalog/view/frontend/product/price.phtml @@ -403,7 +403,7 @@ } ?> -
+
class="minimal-price"> __('Starting at:') ?> @@ -411,7 +411,7 @@ displayBothPrices()): ?> helper('Mage_Tax_Helper_Data')->__('Excl. Tax:') ?> - + currency($_exclTax, true, false) ?> @@ -428,7 +428,7 @@ $_showPrice = $_exclTax; } ?> - + currency($_showPrice, true, false) ?>