@extends('layouts.app') @section('title', 'Assisted Purchase') @push('styles') @endpush @section('content')
Loading...

Loading...

Assisted Purchase

Let our AI-powered shopping assistant help you purchase items from any Indian e-commerce store.

@if(request('submitted') == '1')
@endif
Fetch Product Details from URL

Paste a product URL (Amazon, Flipkart, etc.). We'll fetch the title, price, and description for your assisted purchase request.

Upload Product Image or Screenshot

Upload a product image, screenshot, or photo. Our AI will extract product name, price, brand, and details from the image. You can upload screenshots from your phone, computer, or any product photo.

Supported: Screenshots (PNG, JPG), Photos (JPG, PNG, WebP) - Max 10MB
Preview

Assisted Purchase
Create New Purchase Request
This field will be automatically filled after fetching product details
This field will be automatically filled after fetching product details
This field will be automatically filled after fetching product details
Price is required. Please fetch product details first. Submit cannot be completed without price.
Overhead percentage will be calculated based on price
Final amount including overhead
Please fetch product details first. Submit cannot be completed without product name and price.
Pending Purchases
@php $pendingRequests = collect(); if (!empty($requests) && is_iterable($requests)) { foreach ($requests as $item) { if (isset($item->status) && strtolower(trim($item->status)) === 'pending') { $pendingRequests->push($item); } } } @endphp @forelse($pendingRequests as $r) @php $itemMeta = is_array($r->meta) ? $r->meta : (json_decode($r->meta ?? '{}', true) ?: []); $priceText = trim((string) ($r->price_range ?? '')); $amount = (float) preg_replace('/[^\d.]/', '', $priceText); $size = $itemMeta['selected_size'] ?? ''; $payUrl = !empty($r->can_pay) ? route('kuser.assisted-purchase.pay', \Illuminate\Support\Facades\Crypt::encrypt($r->id)) : ''; @endphp
@if($r->store) {{ $r->store }} @endif {{ $r->title }} @if($size)Size: {{ $size }} | @endif Qty: 1 @if($r->created_at) | {{ $r->created_at->format('d M Y') }}@endif @if($priceText !== '')
{{ $priceText }}
@endif
@empty @endforelse
Completed Purchases
@php $completedRequests = collect(); if (!empty($requests) && is_iterable($requests)) { foreach ($requests as $item) { if (isset($item->status) && strtolower(trim($item->status)) === 'completed') { $completedRequests->push($item); } } } @endphp @forelse($completedRequests as $r) @include('kuser.partials.assisted-request-row', ['r' => $r]) @empty
@endforelse
@include('kuser.partials.surface-styles') @endsection @push('scripts') @endpush