Browse Source

dakaixinyemian

NoteStar 5 năm trước cách đây
mục cha
commit
72414847bf

+ 2 - 2
addons/fecmall/furnilife_theme/app/appfront/theme/furnilife/catalog/category/index.php

@@ -130,14 +130,14 @@
 
                                     <div class="fl-product shop-grid-view-product">
                                         <div class="image">
-                                            <a href="<?= $product['url'] ?>">
+                                            <a target="_blank" href="<?= $product['url'] ?>">
                                                 <img src="<?= Yii::$service->image->getImgUrl('media/catalog/product'.$product['image']) ?>" class="img-fluid" alt="">
                                                 <img src="<?= Yii::$service->image->getImgUrl('media/catalog/product'.$product['image']) ?>" class="img-fluid" alt="">
                                             </a>
                                             
                                         </div>
                                         <div class="content">
-                                            <h2 class="product-title"> <a href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
+                                            <h2 class="product-title"> <a target="_blank" href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
                                             <?= Yii::$service->page->widget->render('category/review_star',[ 'reviw_rate_star_average' => $product['reviw_rate_star_average']]); ?>
                                             <?php
                                                 $diConfig = [

+ 2 - 2
addons/fecmall/furnilife_theme/app/appfront/theme/furnilife/catalogsearch/index/index.php

@@ -102,7 +102,7 @@
 
                                     <div class="fl-product shop-grid-view-product">
                                         <div class="image">
-                                            <a href="<?= $product['url'] ?>">
+                                            <a target="_blank" href="<?= $product['url'] ?>">
 
                                                 <img src="<?= Yii::$service->image->getImgUrl('media/catalog/product'.$product['image']) ?>" class="img-fluid" alt="">
                                                 <img src="<?= Yii::$service->image->getImgUrl('media/catalog/product'.$product['image']) ?>" class="img-fluid" alt="">
@@ -113,7 +113,7 @@
                                     </span>
                                         </div>
                                         <div class="content">
-                                            <h2 class="product-title"> <a href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
+                                            <h2 class="product-title"> <a target="_blank" href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
                                             <?php
                                                 $diConfig = [
                                                     'price' 		=> $product['price'],

+ 2 - 2
addons/fecmall/furnilife_theme/app/appfront/theme/furnilife/cms/home/index/product.php

@@ -5,14 +5,14 @@
     <?php foreach($parentThis['products'] as $product):  echo $i; $i++?>
     <div class="fl-product">
         <div class="image sale-product">
-            <a href="<?= $product['url'] ?>">
+            <a target="_blank" href="<?= $product['url'] ?>">
                 <img class=" img-fluid" src="<?= Yii::$service->product->image->getResize($product['image'],[224,224],false) ?>"   alt="">
                 <img class=" img-fluid" src="<?= Yii::$service->product->image->getResize($product['image'],[224,224],false) ?>"   alt="">
             </a>
             
         </div>
         <div class="content">
-            <h2 class="product-title"> <a href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
+            <h2 class="product-title"> <a target="_blank" href="<?= $product['url'] ?>"><?= $product['name'] ?></a></h2>
             <?php # review star
             $reviewStarView = [
                 'view'	=> 'catalog/product/index/review_star.php'