fixed user dashboard for store owner (store settings, store reports)/ fixed login/register page/
This commit is contained in:
@@ -64,6 +64,15 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
</style>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136108155-1"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-136108155-1');
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -87,7 +96,6 @@
|
||||
<script src="{{ asset('public/assets/js/crew-designer.js') }}"></script>
|
||||
<script>
|
||||
$(function(){
|
||||
myCart();
|
||||
$(".hide-row").hide();
|
||||
|
||||
// $(window).scroll(function() {
|
||||
@@ -172,18 +180,6 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
function myCart(){
|
||||
$.ajax({ //create an ajax request to load_page.php
|
||||
|
||||
type: "GET",
|
||||
url: "{{url('cartcount')}}",
|
||||
dataType: "html",
|
||||
success: function(response){
|
||||
$("#my-cart-count").html(response);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function setModalMaxHeight(element) {
|
||||
this.$element = $(element);
|
||||
this.$content = this.$element.find('.modal-content');
|
||||
|
||||
@@ -18,9 +18,10 @@
|
||||
<a href="{{ url('teamstore') }}"><span style="text-transform:uppercase;">Team Store</span></a>
|
||||
|
||||
</li>
|
||||
<li style="font-size: 14px;">
|
||||
|
||||
<a href="{{ url('cart') }}"><span style="text-transform:uppercase;">My Cart</span> <i class="fa fa-shopping-cart"></i> <span class="badge" id="my-cart-count">0</span></a>
|
||||
<li style="font-size: 14px;">
|
||||
<a href="{{ url('cart') }}"><span style="text-transform:uppercase;">My Cart</span> <i class="fa fa-shopping-cart"></i>
|
||||
<span class="badge" id="my-cart-count">{{ \App\Http\Controllers\MainController::getCountCart() }}</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
@@ -35,7 +36,6 @@
|
||||
<li>
|
||||
<a href="#" data-toggle="modal" data-target="#modalLogin" title="Register">Register</a>
|
||||
</li>
|
||||
|
||||
@else
|
||||
<li>
|
||||
<a href="{{ url('/auth/login') }}" title="Login">Sign in</a>
|
||||
@@ -70,10 +70,7 @@
|
||||
</li> -->
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user