From bd406ee61ba7fffe349c2d73fd2d9453fe9c3722 Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Thu, 23 Jun 2016 18:09:31 +0300 Subject: [PATCH] 123 --- frontend/views/catalog/product.php | 16 ++++++++++------ frontend/views/catalog/product_item.php | 12 ++++++------ frontend/views/catalog/products.php | 4 ++-- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index eb85ffa..4508b37 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -99,8 +99,9 @@ $this->registerJs ("
+
-

'h1'])?>

+

'h1'])?>

enabledVariantsGrouped as $variantGroup) :?>
name2?>
    @@ -124,16 +125,19 @@ $this->registerJs ("
    +
    код:
    цвет:
    - 0 грн. - 0 грн. + 0 грн. + 0 грн. +
    Купить
    +
      @@ -175,9 +179,9 @@ $this->registerJs ("
  • Описание -
    +
    description ?> -
    +
  • video) && strpos($product->video, '.jpg') === FALSE && strpos($product->video, '.png') === FALSE) :?>
  • Видео @@ -192,7 +196,7 @@ $this->registerJs ("
- +
diff --git a/frontend/views/catalog/product_item.php b/frontend/views/catalog/product_item.php index 389f5d3..55f9c5c 100755 --- a/frontend/views/catalog/product_item.php +++ b/frontend/views/catalog/product_item.php @@ -2,7 +2,7 @@ /** @var \common\modules\product\models\Product $product */ use yii\helpers\Url; ?> -
  • +
  • '; + echo '
    '; echo '

    '; // есть скидка if ($product->enabledVariants[0]->price_old != 0 && $product->enabledVariants[0]->price_old != $product->enabledVariants[0]->price) { - echo ''.$product->enabledVariants[0]->price_old.' грн. '; + echo ''.$product->enabledVariants[0]->price_old.' грн. '; } echo $product->enabledVariants[0]->price.' грн.

    '; - + echo ''; echo '
    '; ?> diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index a2b6788..aa33b1a 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -159,8 +159,8 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[
    -
    -

    'h1'])?>

    +
    +

    'h1'])?>

    -- libgit2 0.21.4