NoteStar 5 tahun lalu
induk
melakukan
1a42b2c0b5

+ 11 - 0
addons/fecmall/furnilife_theme/app/appfront/theme/furnilife/assets/css/fec.css

@@ -985,4 +985,15 @@ h2.product-name a {
 .btncolor{
     background: #fd9fd5;
     color: #fff;
+}
+.CS_go{
+    display: block;
+    width: 30% ;
+    height: 30px;
+    margin: 10px 0px;
+    border: 1px solid #333;
+    text-align: center;
+}
+.CS_go:hover{
+    border: 1px solid #fd9fd5;
 }

+ 3 - 1
addons/fecmall/furnilife_theme/app/appfront/theme/furnilife/checkout/cart/index.php

@@ -144,7 +144,9 @@ use fec\helpers\CRequest;
                     <div class="col-lg-6 col-12">
                         
                         <!--=======  Discount Coupon  =======-->
-                        
+                        <div class="discount-coupon">
+                            <a class="CS_go" href="javascript:history.go(-1)">Continue Shopping</a>
+                        </div>
                         <div class="discount-coupon">
                             <h4>Discount Coupon Code</h4>
                             <form action="#">

+ 57 - 6
addons/fecmall/furnilife_theme/app/apphtml5/theme/furnilife/assets/css/fec.css

@@ -1230,12 +1230,63 @@ width: 80%;}
     font-size: 0.5rem;
     margin-right: 0.5rem;
 }
-
-
-
-
-
-
+.foot_a{
+    padding:10px 0px;
+    padding-left: 5px;
+}
+.foot_a a{
+    font-size: 10px;
+    display: block;
+    width: 30%;
+    float: left;
+    padding: 2px;
+    height: 20px;
+    line-height: 20px;
+}
+#tc_box{
+    display: none;
+    width: 100%;
+    padding: 30px 0px;
+    position: absolute;
+    background: #fff;
+    z-index: 9999;
+    top: 20%;
+}
+.tc_box1{
+    width: 100%;
+    height: 40px;
+    line-height: 40px;
+    text-align: center;
+}
+.tc_box2{
+    width: 90%;
+    padding-left: 10%;
+    height: 40px;
+}
+.tc_box2 a{
+    display: block;
+    float: left;
+    width: 40%;
+    height: 30px;
+    line-height: 30px;
+    text-align: center;
+    background: #fd9fd5;
+    color: #fff;
+    margin-right: 20px;
+}
+#bgmb{
+    display: none;
+    position: absolute;
+    top: 0%;
+    left: 0%;
+    width: 100%;
+    height: 100%;
+    background-color: black;
+    z-index:9998;
+    -moz-opacity: 0.7;
+    opacity:.70;
+    filter: alpha(opacity=70);
+}
 
 
 

+ 23 - 1
addons/fecmall/furnilife_theme/app/apphtml5/theme/furnilife/catalog/product/index.php

@@ -207,6 +207,17 @@
         <?= Yii::$service->page->widget->render('product/buy_also_buy', ['products' => $buy_also_buy]); ?>
 	</div>
 </div>
+
+
+
+<div id="tc_box">
+    <div class="tc_box1">Add to Cart Sucessfully!</div>
+    <div class="tc_box2">
+        <a href="" id="close_tc">Continue Shopping</a></td>
+        <a href="<?= Yii::$service->url->getUrl("checkout/cart") ?>" >View My Cart</a>
+    </div>
+</div>
+<div id="bgmb"></div>
 <script>
 	// add to cart js	
 	<?php $this->beginBlock('add_to_cart') ?>
@@ -321,7 +332,11 @@
 						if(data.status == 'success'){
 							items_count = data.items_count;
 							$("#js_cart_items").html(items_count);
-							window.location.href="<?= Yii::$service->url->getUrl("checkout/cart") ?>";
+
+                            $("#tc_box").css("display","block");
+                            $("#bgmb").css("display","block");
+
+							//window.location.href="<?= Yii::$service->url->getUrl("checkout/cart") ?>";
 						}else{
 							content = data.content;
 							$(".addProductToCart").removeClass("dataUp");
@@ -333,6 +348,13 @@
 				});
 			}
 		});
+		
+		$("#close_tc").click(function () {
+            $("#tc_box").css("display","none");
+            $("#bgmb").css("display","none");
+        });
+		
+		
 	   // product favorite
 	   $("#divMyFavorite").click(function(){
 			if($(this).hasClass('act')){

+ 9 - 0
addons/fecmall/furnilife_theme/app/apphtml5/theme/furnilife/widgets/footer.php

@@ -9,7 +9,16 @@
 ?>
 
     <!--=======  footer navigation  =======-->
+<div class="container foot_a">
+    <a href="<?= Yii::$service->url->getUrl('faq');?>">FAQ</a>
+    <a href="<?= Yii::$service->url->getUrl('about-us');?>">About Us</a>
+    <a href="<?= Yii::$service->url->getUrl('customer/contacts');?>">Contact Us</a>
+    <a href="<?= Yii::$service->url->getUrl('return-policy');?>">Return Policy</a>
+    <a href="<?= Yii::$service->url->getUrl('rivacy-policy');?>">Privacy Policy</a>
+    <a href="<?= Yii::$service->url->getUrl('shipping-payment');?>">Shipping&Payment</a>
+</div>
 <div class="container">
+
                     <div class="widget-block text-xl-center">
                         <h4 class="html5_foot_title">JOIN OUR NEWSLETTER NOW</h4>
                         <!--=======  newsletter formq  =======-->