HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/zipwire/zipwire.nl/resources/views/shop/partials/shoppingCart/content.blade.php
<div class="grid-col col-7 shoppingcartItemList">
    @if(!empty($items))
        <ul>
            @foreach($items as $item)
                <li>
                    <h3>{{$item->getProduct()->title}}</h3>
                    <a href="#" onclick="ShoppingCart.removeItemFromShoppingcart({{$item->getId()}})">x</a>
                    @if(count($item->getProduct()->images) > 0) <img src="{{$item->getProduct()->images[0]["small_image_url"]}}"/> @endif
                    {{floatval($item->getProduct()->price/100)}}
                    <a href="#" onclick="ShoppingCart.setItemAmountInShoppingcart({{$item->getId()}}, {{$item->getAmount()-1}})">-</a> {{$item->getAmount()}} <a href="#" onclick="ShoppingCart.setItemAmountInShoppingcart({{$item->getId()}}, {{$item->getAmount()+1}})">+</a> |
                    &euro;{{($item->getTotal()/100)}}</li>
            @endforeach
        </ul>
    @else
        Er zijn geen producten in je winkelwagen
    @endif
    <a href="#" onclick="ShoppingCart.addProductToShoppingcart()">Voeg een (random) product toe</a>

</div>
<div class="grid-col col-4 shoppingCartInfoBar">
    <h3>Besteloverzicht</h3>
    @if($subTotal == $subTotalWithDiscounts)
        <h5>Subtotaal:   {{$subTotal / 100}}</h5>
    @else
        Subtotaal: {{$subTotalWithDiscounts / 100}} <s>{{$subTotal / 100}}</s></h5>
    @endif
</div>