@extends('shop.app') @section('content')
Sort by
@foreach($products as $product)
@if($product->calculateDiscount() != 0)

{{$product->calculateDiscount()}}

@endif Image

{{$product->getName()}}

{{$product->finalPrice()}} BAM
@endforeach
@foreach($products as $product)

New

Image

{{$product->attributeValue('name')}}

@if($product->getSalePrice())
{{$product->getPrice()}} BAM {{$product->getSalePrice()}} BAM
@else {{$product->getPrice()}}BAM @endif

{{$product->attributeValue('decsription')}}

Dodaj u korpu
@endforeach
@endsection