@extends('layouts.main') @section('page-id', '606dcff1531c5a951602027d') @php $multipleSize = $product->multiple_size * 1; @endphp @section('content') All Products / {{ $parentCategory->name }} / {{ $childCategory->name }} / {{ $product->name }} {{ $product->display_name ?? $product->name }} {{ $product->sub_title }} {{ ($product->alternative || $product->is_organic) ? 'Organic' : 'Conventional' }} @if ($product->alternative) is_organic) checked="checked" @endif @if($product->alternative === null) disabled @endif /> Toggle @endif @if (count($product->species)) Learn more @foreach ($product->species as $species) {{ $species->name }} - Species Guide @endforeach @endif Need Help? 01368 840 655 About {{ ($childCategory->template_type == 'straights') ? '' : ' the mix' }} {!! $product->formatted_description !!} @if($details->details) @if (array_key_exists('type', $details->details)) @else @endif @endif Term Time (years) @php $yearRange = explode('-', $details->duration); @endphp @for ($x = 0; $x < end($yearRange); $x++) @endfor {{ $details->duration }} Product Options This product is supplied in multiples of {{ $multipleSize }} {{ $product->multiple_unit }}{{ $product->multiple_unit !== "kg" ? " packs" : "" }} @csrf Select Unit: @if ($product->price_ac !== null) Ac @endif @if ($product->price_ha !== null) price_ac === null && $product->price_kg === null) ? ' checked="checked"' : '' !!}>Ha @endif @if ($product->price_kg !== null) price_ac === null ? 'checked="checked"' : '' !!}>Kg @endif Quantity: @if ($product->price_ac !== null && $product->price_ha !== null) You require {{ $costs['quantity'] }} {{ $product->multiple_unit }} and we will supply you {{ $costs['rounded_quantity'] }} {{ $product->multiple_unit }} @endif @if ($product->addons->isEmpty() === false) Optional add-ons: @foreach ($product->addons as $addon) @php $addonKey = array_search($addon->id, array_column($costs['addon_details'], 'id')); $addonDetails = $costs['addon_details'][$addonKey]; @endphp {{ $addon->name }} ( @if ($product->price_ac !== null) {{ ($addon->kg_per_ac + 0) }}kg/Acre {{ ($addon->kg_per_ac + 0) * 2 }}kg/Acre {{ ($addon->kg_per_ac + 0) * 3 }}kg/Acre ) £{{ number_format($addonDetails['unit_price_kg'], 2) }}/Kg @else {{ (number_format(($addonDetails['unit_size']), 2) + 0) }}kg {{ (number_format(($addonDetails['unit_size']), 2) + 0) * 2 }}kg {{ (number_format(($addonDetails['unit_size']), 2) + 0) * 3 }}kg ) £{{ number_format($addonDetails['unit_price_kg'], 2) }}/Kg @endif @endforeach @endif @if ($product->contains_clover) Clover Options: Remove Clover -£{{ $costs['clover_discount_per_unit'] }}/{{ $product->price_ac !== null ? 'Acre' : 'Kg' }} @endif Please note these products are supplied in multiples of {{ $multipleSize }} {{ $product->multiple_unit }}{{ $product->multiple_unit !== "kg" ? " packs" : "s" }} & your order has been rounded accordingly. Subtotal £{{ $costs['sub_total'] }} VAT £{{ $costs['vat_total'] }} Total £{{ $costs['total'] }} @if ($product->is_out_of_stock) Out of Stock @if ($product->out_of_stock_message) {{ $product->out_of_stock_message }} @endif @else @endif @if ($product->testimonial) {{ $product->testimonial->title }} {{ $product->testimonial->body }} - {{ $product->testimonial->by }} @if ($product->testimonial->image) @else @endif @endif @if (count($product->species)) Learn more @foreach ($product->species as $species) {{ $species->name }} - Species Guide @endforeach @endif Need Help? 01368 840 655 @endsection @section('custom_scripts') @endsection
{!! $product->formatted_description !!}
This product is supplied in multiples of {{ $multipleSize }} {{ $product->multiple_unit }}{{ $product->multiple_unit !== "kg" ? " packs" : "" }}
You require {{ $costs['quantity'] }} {{ $product->multiple_unit }} and we will supply you {{ $costs['rounded_quantity'] }} {{ $product->multiple_unit }}
{{ $product->out_of_stock_message }}
{{ $product->testimonial->body }}
- {{ $product->testimonial->by }}