This commit is contained in:
Ludovic CANDELLIER
2022-04-13 23:49:48 +02:00
parent 8afb3467f8
commit 2f77b5fc23
56 changed files with 948 additions and 336 deletions

View File

@@ -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>