@extends('admin.layouts.master-soyuz') @section('title',__('View All Variants - ')) @section('body') @component('admin.component.breadcumb',['thirdactive' => 'active']) @slot('heading') {{ __('View Variants') }} @endslot @slot('menu2') {{ __("View Variants") }} @endslot @slot('button')
@endslot @endcomponent{{ $error}}
@endforeach# | {{ __('Variant Detail') }} | {{ __("Pricing Details") }} | {{__('Added / Updated On')}} | {{__("Action")}} |
---|---|---|---|---|
# {{ $key+1 }} |
@if(count($pro->subvariants)>0)
@if(isset($sub->variantimages['main_image']))
@endif
@else
@endif
Variant Name: {{ $pro->name }} (@foreach($sub->main_attr_value as $k => $getvar) {{-- Getting Attribute Names --}} @php $getattrname = App\ProductAttributes::where('id',$k)->first()->attr_name @endphp {{-- Getting Attribute Values --}} @php $getvalname = App\ProductValues::where('id',$getvar)->first(); @endphp @if(strcasecmp($getvalname['values'], $getvalname['unit_value']) !=0 && $getvalname->unit_value != null ) @if($getvalname->proattr->attr_name == "Color" || $getvalname->proattr->attr_name == "Colour" || $getvalname->proattr->attr_name == "color" || $getvalname->proattr->attr_name == "colour") {{ $getvalname['values'] }} @else {{ $getvalname['values'] }}{{ $getvalname->unit_value }}, @endif @else {{ $getvalname['values']}}, @endif @endforeach) {{__("Additional Price:")}} {{ $sub->price }} {{ __('Min Qty. For Order:') }} {{ $sub->min_order_qty }} {{ __("Stock :") }} {{ $sub->stock }} | {{__("Max Qty. For Order")}}: {{ $sub->max_order_qty }} |
@if($pro->vender_offer_price !=null)
{{__('Discounted Price :')}} {{ $pro->offer_price }} {{__("Selling Price :")}} {{ $pro->price }} @else{{__("Selling Price :")}} {{ $pro->price }} @endif({{ __("Incl. Admin Commission in this rate") }}) |
{{ date('M jS Y',strtotime($sub->created_at)) }}, {{ date('h:i A',strtotime($sub->created_at)) }} {{ date('M jS Y',strtotime($sub->updated_at)) }} {{ date('h:i A',strtotime($sub->updated_at)) }} |
{{__("Do you really want to delete this variant? This process cannot be undone.")}}