@php //get all product of category $products = get_product_by_brand([ 'brand_id' => $brand->id, 'condition' => [ 'ec_products.status' => \Botble\Base\Enums\BaseStatusEnum::PUBLISHED, 'ec_products.is_variation' => 0, ], 'order_by' => [ 'ec_products.order' => 'ASC', 'ec_products.created_at' => 'DESC', ], 'paginate' => [ 'per_page' => 20, 'current_paged' => 1 ], ]); @endphp
{{ __('Fashion Collection') }}
{{ __('Show') }}:
20
{!! $products->links() !!}
@foreach ($products as $product)
@foreach ($product->images as $image)
first) class="active" @endif src="{{ RvMedia::getImageUrl($image, 'thumb') }}" alt=""> @endforeach
{{ $product->name }}
@if ( $product->front_sale_price )
{{ format_price($product->front_sale_price) }}
@endif
{{ format_price ($product->price) }}
@endforeach
{!! $products->links() !!}