From
@if ($product->currentPrice() == $product->msrp)
${{ Midhas::formatPrice($product->msrp) }}
${{ Midhas::formatPrice($product->currentPrice()) }}
Qty
@php $qtyInCart = 1; if (auth()->check() && auth()->user()->cart) { $cartId = auth()->user()->cart->id; } elseif (session()->has('cart_id')) { $cartId = session('cart_id'); } else { $cartId = null; } if ($cartId) { $cartItem = \App\Models\CartItems::where('cart_id', $cartId) ->where('product_id', $product->id) ->first(); if ($cartItem) { $qtyInCart = $cartItem->quantity; } } @endphp| {{ $specs->specs->name }} | {{ $specs->value }} |
|---|
{{ $product->product_description }}
--}}Payment
Review
--}}