From 311e3534c233cdc1d9265c04f9d52b2312bcede7 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 28 Nov 2016 16:13:37 +0200 Subject: [PATCH] micro data --- frontend/views/catalog/_product_item.php | 12 +++++++----- frontend/views/catalog/products.php | 6 ++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/views/catalog/_product_item.php b/frontend/views/catalog/_product_item.php index 39025a3..8e4a0a5 100755 --- a/frontend/views/catalog/_product_item.php +++ b/frontend/views/catalog/_product_item.php @@ -5,12 +5,12 @@ use yii\helpers\Html; use yii\helpers\Url; ?> -
+
- name, Url::to(['catalog/product', 'product' => $model->alias]), ['class'=>'btn-product-details','data-pjax'=>0] )?> + name, Url::to(['catalog/product', 'product' => $model->alias]), ['class'=>'btn-product-details','data-pjax'=>0, 'itemprop' => 'name'] )?>
-
+
variant->price_old){?>
@@ -69,7 +70,8 @@ use yii\helpers\Url;
Цена: - variant->price ?> + variant->price ?> + грн
diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index edd5d54..99486f5 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -81,16 +81,14 @@
-
- +

'h1'])?>

-