@php use Botble\Base\Facades\BaseHelper; use Botble\Ecommerce\Facades\EcommerceHelper; use Botble\Theme\Facades\Theme; $selectedAttrs = $selectedAttrs ?? []; $isOutOfStock = method_exists($product, 'isOutOfStock') ? $product->isOutOfStock() : false; @endphp
{{ $product->name }}
{{ $product->name }}
@include(EcommerceHelper::viewPath('includes.product-price'), [ 'product' => $product, 'priceClassName' => 'price-new text-primary fw-semibold price-on-sale', 'priceOriginalClassName' => 'price-old text-caption-01 cl-text-3', ])
@if ($product->variations->isNotEmpty()) {!! render_product_swatches($product, ['selected' => $selectedAttrs]) !!} @endif {!! render_product_options($product) !!}

{{ __('Quantity:') }}

@include(Theme::getThemeNamespace('views.ecommerce.includes.cart-quantity'), [ 'product' => $product, 'isOutOfStock' => $isOutOfStock, ]) @if (EcommerceHelper::isCartEnabled()) @endif
@if (EcommerceHelper::isQuickBuyButtonEnabled()) @endif