Add merchandise, fix articletosell with src for images

This commit is contained in:
Ludovic CANDELLIER
2022-04-14 23:20:09 +02:00
parent 9c2b9cf02e
commit c2ef0c7b35
14 changed files with 69 additions and 23 deletions

View File

@@ -56,11 +56,10 @@
</script>
@endif
@stack('js')
<script>
function refreshBasketTop() {
$.get("{{ route('Shop.Basket.getSummary') }}", function(response) {
console.log("refreshBasketTop()");
console.log(response);
$('#count-basket').html(response.data.quantity);
$('#total-basket').html(response.data.total);
@@ -68,6 +67,8 @@
}
</script>
@stack('js')
</body>
</html>