From 70b5a3488ea899de049e37dff036e077892494da Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 28 Nov 2016 14:31:28 +0200 Subject: [PATCH] micro data product --- frontend/views/catalog/product.php | 17 +++++++++-------- frontend/views/layouts/main.php | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 558ac54..eefb666 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -42,7 +42,7 @@
-
+

'h1' ]) ?>

Код:variant->sku ?>
@@ -68,7 +68,8 @@ imageUrl, 'product_show',[ 'alt'=>$product->name." фото 1" , - 'title' => $product->name." фото 1" + 'title' => $product->name." фото 1", + 'itemprop' => 'image' ]) ?> @@ -105,7 +106,7 @@
-
+
@@ -309,12 +310,12 @@
variant->price_old){?> - variant->price_old ?> + variant->price_old ?>  грн. - variant->price ?> + variant->price ?>  грн.
@@ -418,10 +419,10 @@ averageRating )) { ?> -
+
- рейтинг: averageRating->value?>   - голосов: + рейтинг: averageRating->value?>   + голосов: comments); ?> diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index d0558eb..8fce7fd 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -130,7 +130,7 @@ use common\models\Event;
- + -- libgit2 0.21.4