diff --git a/common/modules/product/widgets/views/product_smart.php b/common/modules/product/widgets/views/product_smart.php index dbdd477..d0ed55f 100755 --- a/common/modules/product/widgets/views/product_smart.php +++ b/common/modules/product/widgets/views/product_smart.php @@ -2,7 +2,7 @@ /** @var \common\modules\product\models\Product $product */ use yii\helpers\Url; ?> -
  • +
    + +registerJs($js, View::POS_READY); +?> \ No newline at end of file diff --git a/composer.json b/composer.json index 2ad5a4f..a6fa326 100755 --- a/composer.json +++ b/composer.json @@ -41,7 +41,8 @@ "kartik-v/yii2-widget-fileinput": "@dev", "maxmirazh33/yii2-uploadable-cropable-image": "*", "iutbay/yii2-imagecache": "*", - "yurkinx/yii2-image": "dev-master" + "yurkinx/yii2-image": "dev-master", + "sersid/yii2-owl-carousel-asset": "*" }, "require-dev": { "yiisoft/yii2-codeception": "*", diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index 759f2c0..c20dea5 100755 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -25,6 +25,7 @@ class AppAsset extends AssetBundle ]; public $depends = [ 'yii\web\JqueryAsset', + 'sersid\owlcarousel\Asset' //'yii\web\YiiAsset', //'yii\bootstrap\BootstrapAsset', ]; -- libgit2 0.21.4