From 5f7ba6dc003ff3b0e1c1ed13d3e314d07c037070 Mon Sep 17 00:00:00 2001 From: Karnovsky A Date: Tue, 5 Jul 2016 14:59:26 +0300 Subject: [PATCH] Special product block - fixes --- common/modules/product/widgets/views/products_block.php | 13 +++++++++---- frontend/views/catalog/product_item.php | 2 +- frontend/views/catalog/product_smart.php | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/common/modules/product/widgets/views/products_block.php b/common/modules/product/widgets/views/products_block.php index 85a6e91..7b47419 100644 --- a/common/modules/product/widgets/views/products_block.php +++ b/common/modules/product/widgets/views/products_block.php @@ -15,7 +15,10 @@ use yii\web\View; is_top) :?>
Toп
- +
imageUrl, 'product_list')?>
@@ -25,9 +28,11 @@ use yii\web\View;
Бренд: brand->name?>
categoriesNames)?>
-
variant ? $product->variant->price : 0?> грн.
- -
добавить к сравнению + variant) :?> +
variant->price?> грн.
+ + +
diff --git a/frontend/views/catalog/product_item.php b/frontend/views/catalog/product_item.php index 6ba5b38..88fe13b 100755 --- a/frontend/views/catalog/product_item.php +++ b/frontend/views/catalog/product_item.php @@ -18,6 +18,6 @@ use common\components\artboximage\ArtboxImageHelper;
variant->price?> грн.
- добавить к сравнению + \ No newline at end of file diff --git a/frontend/views/catalog/product_smart.php b/frontend/views/catalog/product_smart.php index 6b9ebc9..b63d4b6 100755 --- a/frontend/views/catalog/product_smart.php +++ b/frontend/views/catalog/product_smart.php @@ -18,6 +18,6 @@ use common\components\artboximage\ArtboxImageHelper;
variant->price?> грн.
- добавить к сравнению + \ No newline at end of file -- libgit2 0.21.4