@if (!$productVariations->isEmpty())
{{ trans('plugins/ecommerce::products.form.image') }} | @foreach ($productAttributeSets->where('is_selected', '<>', null)->whereIn('id', $productVariationsInfo->pluck('attribute_set_id')->all())->sortBy('id') as $attributeSet){{ $attributeSet->title }} | @endforeach @foreach ($productAttributeSets->where('is_selected', '<>', null)->whereNotIn('id', $productVariationsInfo->pluck('attribute_set_id')->all())->sortBy('id') as $attributeSet){{ $attributeSet->title }} | @endforeach{{ trans('plugins/ecommerce::products.form.price') }} | {{ trans('plugins/ecommerce::products.form.is_default') }} | @if (EcommerceHelper::isEnabledSupportDigitalProducts() && $product && $product->isTypeDigital()){{ $product->product_type->label() }} | @endif{{ trans('plugins/ecommerce::products.form.action') }} | |
---|---|---|---|---|---|---|---|
|
@foreach ($productVariationsInfo->where('variation_id', $variation->id)->sortBy('attribute_set_id') as $key => $item)
{{ $item->title }} | @endforeach @for($index = 0; $index < ($productAttributeSets->where('is_selected', '<>', null)->count() - $productVariationsInfo->where('variation_id', $variation->id)->count()); $index++)-- | @endfor
@if ($currentRelatedProduct)
{{ format_price($currentRelatedProduct->front_sale_price) }}
@if ($currentRelatedProduct->front_sale_price != $currentRelatedProduct->price)
|
@if (EcommerceHelper::isEnabledSupportDigitalProducts() && $product && $product->isTypeDigital()) | @if ($currentRelatedProduct) {{ $currentRelatedProduct->productFiles->count() }} @endif | @endif{{ trans('plugins/ecommerce::products.edit_variation_item') }} {{ trans('plugins/ecommerce::products.delete') }} |
{{ trans('plugins/ecommerce::products.variations_box_description') }}
@endif