wip 3d
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
|
||||
</head>
|
||||
|
||||
<body id="index">
|
||||
<body class="bg-green-dark">
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="container bg-white" style="min-height: 100vh;">
|
||||
<main>
|
||||
@include("Shop.layout.partials.header")
|
||||
<div class="content-wrapper">
|
||||
@@ -58,6 +58,16 @@
|
||||
|
||||
@stack('js')
|
||||
|
||||
<script>
|
||||
function refreshBasketTop() {
|
||||
$.get("{{ route('Shop.Basket.getSummary') }}", function(response) {
|
||||
console.log(response);
|
||||
$('#count-basket').html(response.data.quantity);
|
||||
$('#total-basket').html(response.data.total);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user