@extends('layouts.main') @section('style') @endsection @section('content')
{{ $woohoo_product['name'] }}

{{ $woohoo_product['name'] }}

SKU: {{ $woohoo_product['sku'] }}

Instant Delivery via Email/SMS

Min: {{ $woohoo_product['currency']['symbol'] }}{{ $woohoo_product['price']['min'] }} Max: {{ $woohoo_product['currency']['symbol'] }}{{ $woohoo_product['price']['max'] }}
{{ $woohoo_product['currency']['symbol'] ?? '₹' }}
@php $min = (int) $woohoo_product['price']['min']; $max = (int) $woohoo_product['price']['max']; $range = $max - $min; $steps = min(10, $range); // max 10 buttons $stepValue = $steps > 1 ? round($range / ($steps - 1)) : $range; $dynamicAmounts = []; for ($i = 0; $i < $steps; $i++) { $val = $min + $i * $stepValue; if ($val <= $max) { $dynamicAmounts[] = $val; } } @endphp
@foreach ($dynamicAmounts as $val) @endforeach
@if ($woohoo_product['rewards_description'] != '') @endif
@csrf
{{-- order mode --}}
Max 200 characters
{{--
--}}
Gift Preview
Logo
gogifts.info@gmail.com
+91-8779863826
Woohoo Logo

Hi receiver,

You've got a {{ $woohoo_product['name'] }} from {{ auth()->user()->name ?? 'User' }}

Gift Image

Amount:

160.00

Card Number: xxxxxxxxxxxxxxxx

Pin: xxxxxx

* Validity: xx xx xxxx

* Show this barcode at the store to redeem the card
@foreach ($woohoo_product['themes'] ?? [] as $theme) @endforeach
@if (Auth::check()) @else Login For Buy @endif
{!! $woohoo_product['description'] ?? 'No description available.' !!}
@if ($woohoo_product['redemption_terms'] != '') @php $woohoo_product['redemption_terms'] = json_decode($woohoo_product['redemption_terms'], true); @endphp
    @foreach ($woohoo_product['redemption_terms'] as $key => $terms) @isset($terms['text'])
  1. {{ $terms['text'] }}
  2. @endisset @endforeach
@endif
@if ($woohoo_product['tnc'] != '') {!! json_decode($woohoo_product['tnc'], true)['content'] ?? 'Terms & conditions will be shown here.' !!} @endif
@endsection @section('script') @endsection