diff --git a/packages/Webkul/Core/src/Core.php b/packages/Webkul/Core/src/Core.php
index 065e5ee71..d216e50a8 100755
--- a/packages/Webkul/Core/src/Core.php
+++ b/packages/Webkul/Core/src/Core.php
@@ -239,13 +239,7 @@ class Core
*/
public function getChannelName($channel): string
{
- static $channelName;
-
- if ($channelName) {
- return $channelName;
- }
-
- return $channelName = $channel->name
+ return $channel->name
?? $channel->translate(app()->getLocale())->name
?? $channel->translate(config('app.fallback_locale'))->name;
}
diff --git a/resources/themes/shop/views/checkout/cart/coupon.blade.php b/resources/themes/shop/views/checkout/cart/coupon.blade.php
new file mode 100644
index 000000000..090740935
--- /dev/null
+++ b/resources/themes/shop/views/checkout/cart/coupon.blade.php
@@ -0,0 +1,119 @@
+@if ($cart)
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/cart/index.blade.php b/resources/themes/shop/views/checkout/cart/index.blade.php
new file mode 100644
index 000000000..6d7ebafb6
--- /dev/null
+++ b/resources/themes/shop/views/checkout/cart/index.blade.php
@@ -0,0 +1,272 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.cart.title') }}
+@stop
+
+@section('content-wrapper')
+
+ @if ($cart)
+
+ {{ __('shop::app.checkout.cart.title') }}
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!}
+
+ @include('shop::checkout.total.summary', ['cart' => $cart])
+
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!}
+
+
+
+ @include ('shop::products.view.cross-sells')
+
+ @else
+
+
+ {{ __('shop::app.checkout.cart.title') }}
+
+
+
+
+ {{ __('shop::app.checkout.cart.empty') }}
+
+
+
+ {{ __('shop::app.checkout.cart.continue-shopping') }}
+
+
+
+ @endif
+
+
+@endsection
+
+@push('scripts')
+ @include('shop::checkout.cart.coupon')
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php
new file mode 100644
index 000000000..363278219
--- /dev/null
+++ b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php
@@ -0,0 +1,114 @@
+getCart(); ?>
+
+@if ($cart)
+ items; ?>
+
+
+
+
+
+
+
+ {{ __('shop::app.header.cart') }}
+ ({{ $cart->items->count() }})
+
+
+
+
+
+
+
+
+
+
+
+ @foreach ($items as $item)
+
+
+
+ @php
+ $images = $item->product->getTypeInstance()->getBaseImage($item);
+ @endphp
+
+
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.name.before', ['item' => $item]) !!}
+
+
{{ $item->name }}
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.name.after', ['item' => $item]) !!}
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.options.before', ['item' => $item]) !!}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.options.after', ['item' => $item]) !!}
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.price.before', ['item' => $item]) !!}
+
+
{{ core()->currency($item->base_total) }}
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.price.after', ['item' => $item]) !!}
+
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.quantity.before', ['item' => $item]) !!}
+
+
Quantity - {{ $item->quantity }}
+
+ {!! view_render_event('bagisto.shop.checkout.cart-mini.item.quantity.after', ['item' => $item]) !!}
+
+
+
+ @endforeach
+
+
+
+
+
+
+
+@else
+
+
+
+
+ {{ __('shop::app.minicart.cart') }} ({{ __('shop::app.minicart.zero') }})
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/onepage.blade.php b/resources/themes/shop/views/checkout/onepage.blade.php
new file mode 100644
index 000000000..117026353
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage.blade.php
@@ -0,0 +1,615 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.onepage.title') }}
+@stop
+
+@section('content-wrapper')
+
+@endsection
+
+@push('scripts')
+ @include('shop::checkout.cart.coupon')
+
+
+
+
+
+@endpush
diff --git a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php
new file mode 100644
index 000000000..4ad841c6e
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php
@@ -0,0 +1,23 @@
+
+
+ {{ __('shop::app.checkout.onepage.password') }}
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.login-form.button_title') }}
+
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/onepage/customer-info.blade.php b/resources/themes/shop/views/checkout/onepage/customer-info.blade.php
new file mode 100644
index 000000000..40fbcba67
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage/customer-info.blade.php
@@ -0,0 +1,475 @@
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/onepage/payment.blade.php b/resources/themes/shop/views/checkout/onepage/payment.blade.php
new file mode 100644
index 000000000..487d31c7e
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage/payment.blade.php
@@ -0,0 +1,51 @@
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/onepage/review.blade.php b/resources/themes/shop/views/checkout/onepage/review.blade.php
new file mode 100644
index 000000000..43950ef85
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage/review.blade.php
@@ -0,0 +1,168 @@
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/onepage/shipping.blade.php b/resources/themes/shop/views/checkout/onepage/shipping.blade.php
new file mode 100644
index 000000000..e1a6dbab8
--- /dev/null
+++ b/resources/themes/shop/views/checkout/onepage/shipping.blade.php
@@ -0,0 +1,48 @@
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/checkout/success.blade.php b/resources/themes/shop/views/checkout/success.blade.php
new file mode 100644
index 000000000..c403360ad
--- /dev/null
+++ b/resources/themes/shop/views/checkout/success.blade.php
@@ -0,0 +1,27 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.success.title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
{{ __('shop::app.checkout.success.thanks') }}
+
+
{{ __('shop::app.checkout.success.order-id-info', ['order_id' => $order->increment_id]) }}
+
+
{{ __('shop::app.checkout.success.info') }}
+
+ {{ view_render_event('bagisto.shop.checkout.continue-shopping.before', ['order' => $order]) }}
+
+
+
+ {{ view_render_event('bagisto.shop.checkout.continue-shopping.after', ['order' => $order]) }}
+
+
+@endsection
diff --git a/resources/themes/shop/views/checkout/total/summary.blade.php b/resources/themes/shop/views/checkout/total/summary.blade.php
new file mode 100644
index 000000000..76a6b238b
--- /dev/null
+++ b/resources/themes/shop/views/checkout/total/summary.blade.php
@@ -0,0 +1,45 @@
+
+
{{ __('shop::app.checkout.total.order-summary') }}
+
+
+
+ {{ intval($cart->items_qty) }}
+ {{ __('shop::app.checkout.total.sub-total') }}
+ {{ __('shop::app.checkout.total.price') }}
+
+ {{ core()->currency($cart->base_sub_total) }}
+
+
+ @if ($cart->selected_shipping_rate)
+
+ {{ __('shop::app.checkout.total.delivery-charges') }}
+ {{ core()->currency($cart->selected_shipping_rate->base_price) }}
+
+ @endif
+
+ @if ($cart->base_tax_total)
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($cart, true) as $taxRate => $baseTaxAmount )
+
+ {{ __('shop::app.checkout.total.tax') }} {{ $taxRate }} %
+ {{ core()->currency($baseTaxAmount) }}
+
+ @endforeach
+ @endif
+
+
base_discount_amount && $cart->base_discount_amount > 0) style="display: block;" @else style="display: none;" @endif>
+
+ {{ __('shop::app.checkout.total.disc-amount') }}
+
+
+ -{{ core()->currency($cart->base_discount_amount) }}
+
+
+
+
+
+ {{ __('shop::app.checkout.total.grand-total') }}
+
+ {{ core()->currency($cart->base_grand_total) }}
+
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/cms/page.blade.php b/resources/themes/shop/views/cms/page.blade.php
new file mode 100644
index 000000000..fe29692bd
--- /dev/null
+++ b/resources/themes/shop/views/cms/page.blade.php
@@ -0,0 +1,17 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ $page->page_title }}
+@endsection
+
+@section('seo')
+
+
+
+
+
+@endsection
+
+@section('content-wrapper')
+ {!! DbView::make($page)->field('html_content')->render() !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/address/country-state.blade.php b/resources/themes/shop/views/customers/account/address/country-state.blade.php
new file mode 100644
index 000000000..ba1bfb6c1
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/address/country-state.blade.php
@@ -0,0 +1,74 @@
+
+
+@push('scripts')
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/address/create.blade.php b/resources/themes/shop/views/customers/account/address/create.blade.php
new file mode 100644
index 000000000..f7ecf22ef
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/address/create.blade.php
@@ -0,0 +1,124 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.create.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
{{ __('shop::app.customer.account.address.create.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.create.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.create.after') !!}
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/address/edit.blade.php b/resources/themes/shop/views/customers/account/address/edit.blade.php
new file mode 100644
index 000000000..aa7bcbd34
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/address/edit.blade.php
@@ -0,0 +1,125 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.edit.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+
{{ __('shop::app.customer.account.address.edit.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.edit.before', ['address' => $address]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!}
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/address/index.blade.php b/resources/themes/shop/views/customers/account/address/index.blade.php
new file mode 100644
index 000000000..b099f377b
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/address/index.blade.php
@@ -0,0 +1,112 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.index.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.list.before', ['addresses' => $addresses]) !!}
+
+
+ @if ($addresses->isEmpty())
+
{{ __('shop::app.customer.account.address.index.empty') }}
+
+
{{ __('shop::app.customer.account.address.index.add') }}
+ @else
+
+ @foreach ($addresses as $address)
+
+
+
{{ auth()->guard('customer')->user()->name }}
+
+
+ {{ $address->company_name }}
+
+
+
+ {{ $address->first_name }}
+
+
+
+ {{ $address->last_name }}
+
+
+
+ {{ $address->address1 }},
+
+
+
+ {{ $address->city }}
+
+
+
+ {{ $address->state }}
+
+
+
+ {{ core()->country_name($address->country) }} {{ $address->postcode }}
+
+
+
+ {{ __('shop::app.customer.account.address.index.contact') }}
+ : {{ $address->phone }}
+
+
+
+
+
+
+ @endforeach
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.list.after', ['addresses' => $addresses]) !!}
+
+
+@endsection
+
+@push('scripts')
+
+@endpush
diff --git a/resources/themes/shop/views/customers/account/compare/index.blade.php b/resources/themes/shop/views/customers/account/compare/index.blade.php
new file mode 100644
index 000000000..7b6de5e66
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/compare/index.blade.php
@@ -0,0 +1,29 @@
+@extends('shop::layouts.master')
+
+@include('shop::guest.compare.compare-products')
+
+@section('page_title')
+ {{ __('shop::app.customer.compare.compare_similar_items') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+ {!! view_render_event('bagisto.shop.customers.account.comparison.list.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.comparison.list.after') !!}
+
+
+
+
+
+@endsection
diff --git a/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php
new file mode 100644
index 000000000..583ebe97e
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php
@@ -0,0 +1,39 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.downloadable_products.title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.downloadable_products.title') }}
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!}
+
+
+
+
+ {!! app('Webkul\Shop\DataGrids\DownloadableProductDataGrid')->render() !!}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!}
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/index.blade.php b/resources/themes/shop/views/customers/account/index.blade.php
new file mode 100644
index 000000000..4097e93df
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/index.blade.php
@@ -0,0 +1,9 @@
+@extends('shop::layouts.master')
+
+@section('content-wrapper')
+
+ @include('shop::customers.account.partials.sidemenu')
+
Account Index Page
+
+
+@endsection
diff --git a/resources/themes/shop/views/customers/account/orders/index.blade.php b/resources/themes/shop/views/customers/account/orders/index.blade.php
new file mode 100644
index 000000000..6c53d4602
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/orders/index.blade.php
@@ -0,0 +1,39 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.order.index.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.index.title') }}
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.list.before') !!}
+
+
+
+
+ {!! app('Webkul\Shop\DataGrids\OrderDataGrid')->render() !!}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.list.after') !!}
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/orders/pdf.blade.php b/resources/themes/shop/views/customers/account/orders/pdf.blade.php
new file mode 100644
index 000000000..1826d8fe9
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/orders/pdf.blade.php
@@ -0,0 +1,324 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.invoice-id') }} -
+ #{{ $invoice->id }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.order-id') }} -
+ #{{ $invoice->order->increment_id }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.order-date') }} -
+ {{ core()->formatDate($invoice->order->created_at, 'd-m-Y') }}
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.bill-to') }}
+ @if ($invoice->order->shipping_address)
+ {{ __('shop::app.customer.account.order.view.ship-to') }}
+ @endif
+
+
+
+
+
+
+ {{ $invoice->order->billing_address->company_name ?? '' }}
+ {{ $invoice->order->billing_address->name }}
+ {{ $invoice->order->billing_address->address1 }}
+ {{ $invoice->order->billing_address->city }}
+ {{ $invoice->order->billing_address->state }}
+
+ {{ core()->country_name($invoice->order->billing_address->country) }}
+ {{ $invoice->order->billing_address->postcode }}
+
+ {{ __('shop::app.customer.account.order.view.contact') }} : {{ $invoice->order->billing_address->phone }}
+
+
+ @if ($invoice->order->shipping_address)
+
+ {{ $invoice->order->shipping_address->company_name ?? '' }}
+ {{ $invoice->order->shipping_address->name }}
+ {{ $invoice->order->shipping_address->address1 }}
+ {{ $invoice->order->shipping_address->city }}
+ {{ $invoice->order->shipping_address->state }}
+ {{ core()->country_name($invoice->order->shipping_address->country) }} {{ $invoice->order->shipping_address->postcode }}
+ {{ __('shop::app.customer.account.order.view.contact') }} : {{ $invoice->order->shipping_address->phone }}
+
+ @endif
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.payment-method') }}
+
+ @if ($invoice->order->shipping_address)
+ {{ __('shop::app.customer.account.order.view.shipping-method') }}
+ @endif
+
+
+
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $invoice->order->payment->method . '.title') }}
+
+ @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($invoice->order->payment->method); @endphp
+
+ @if (! empty($additionalDetails))
+
+
{{ $additionalDetails['title'] }}:
+
{{ $additionalDetails['value'] }}
+
+ @endif
+
+
+ @if ($invoice->order->shipping_address)
+
+ {{ $invoice->order->shipping_title }}
+
+ @endif
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($invoice->items as $item)
+
+ {{ $item->child ? $item->child->sku : $item->sku }}
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+ {{ core()->formatPrice($item->price, $invoice->order->order_currency_code) }}
+
+ {{ $item->qty }}
+
+ {{ core()->formatPrice($item->total, $invoice->order->order_currency_code) }}
+
+ {{ core()->formatPrice($item->tax_amount, $invoice->order->order_currency_code) }}
+
+ {{ core()->formatPrice(($item->total + $item->tax_amount), $invoice->order->order_currency_code) }}
+
+ @endforeach
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+ {{ core()->formatPrice($invoice->sub_total, $invoice->order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+ {{ core()->formatPrice($invoice->shipping_amount, $invoice->order->order_currency_code) }}
+
+
+ @if ($invoice->base_discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ -
+ {{ core()->formatPrice($invoice->discount_amount, $invoice->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+ {{ core()->formatPrice($invoice->tax_amount, $invoice->order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+ {{ core()->formatPrice($invoice->grand_total, $invoice->order->order_currency_code) }}
+
+
+
+
+
+
+
+
diff --git a/resources/themes/shop/views/customers/account/orders/view.blade.php b/resources/themes/shop/views/customers/account/orders/view.blade.php
new file mode 100644
index 000000000..78d34d5d1
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/orders/view.blade.php
@@ -0,0 +1,562 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.before', ['order' => $order]) !!}
+
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.placed-on') }}
+
+
+
+ {{ core()->formatDate($order->created_at, 'd M Y') }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.products-ordered') }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.item-status') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-percent') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($order->items as $item)
+
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.item-ordered', ['qty_ordered' => $item->qty_ordered]) }}
+
+
+
+ {{ $item->qty_invoiced ? __('shop::app.customer.account.order.view.item-invoice', ['qty_invoiced' => $item->qty_invoiced]) : '' }}
+
+
+
+ {{ $item->qty_shipped ? __('shop::app.customer.account.order.view.item-shipped', ['qty_shipped' => $item->qty_shipped]) : '' }}
+
+
+
+ {{ $item->qty_refunded ? __('shop::app.customer.account.order.view.item-refunded', ['qty_refunded' => $item->qty_refunded]) : '' }}
+
+
+
+ {{ $item->qty_canceled ? __('shop::app.customer.account.order.view.item-canceled', ['qty_canceled' => $item->qty_canceled]) : '' }}
+
+
+
+
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+
+
+
+ {{ number_format($item->tax_percent, 2) }}%
+
+
+
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->total + $item->tax_amount - $item->discount_amount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+ {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
+
+
+ @if ($order->haveStockableItems())
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+ {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($order->base_discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ @if ($order->coupon_code)
+ ({{ $order->coupon_code }})
+ @endif
+
+ -
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+ {{ core()->formatPrice($order->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+ {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-paid') }}
+ -
+ {{ core()->formatPrice($order->grand_total_invoiced, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-refunded') }}
+ -
+ {{ core()->formatPrice($order->grand_total_refunded, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-due') }}
+
+ -
+
+ @if($order->status !== 'canceled')
+ {{ core()->formatPrice($order->total_due, $order->order_currency_code) }}
+ @else
+ {{ core()->formatPrice(0.00, $order->order_currency_code) }}
+ @endif
+
+
+
+
+
+
+
+
+ @if ($order->invoices->count())
+
+
+ @foreach ($order->invoices as $invoice)
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($invoice->items as $item)
+
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+
+ {{ $item->name }}
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty }}
+
+
+
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+ {{ core()->formatPrice($invoice->sub_total, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+ {{ core()->formatPrice($invoice->shipping_amount, $order->order_currency_code) }}
+
+
+ @if ($order->base_discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ -
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+ {{ core()->formatPrice($invoice->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+ {{ core()->formatPrice($invoice->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+ @if ($order->shipments->count())
+
+
+ @foreach ($order->shipments as $shipment)
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.tracking-number') }}
+
+
+
+ {{ $shipment->track_number }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.individual-shipment', ['shipment_id' => $shipment->id]) }}
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+
+ @foreach ($shipment->items as $item)
+
+
+ {{ $item->sku }}
+ {{ $item->name }}
+ {{ $item->qty }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+ @if ($order->refunds->count())
+
+
+ @foreach ($order->refunds as $refund)
+
+
+
+ {{ __('shop::app.customer.account.order.view.individual-refund', ['refund_id' => $refund->id]) }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($refund->items as $item)
+
+ {{ $item->child ? $item->child->sku : $item->sku }}
+ {{ $item->name }}
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+ {{ $item->qty }}
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+ {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}
+
+ @endforeach
+
+ @if (! $refund->items->count())
+
+ {{ __('shop::app.common.no-result-found') }}
+
+ @endif
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+ {{ core()->formatPrice($refund->sub_total, $order->order_currency_code) }}
+
+
+ @if ($refund->shipping_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+ {{ core()->formatPrice($refund->shipping_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($refund->discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ -
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($refund->tax_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+ {{ core()->formatPrice($refund->tax_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.adjustment-refund') }}
+ -
+ {{ core()->formatPrice($refund->adjustment_refund, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.adjustment-fee') }}
+ -
+ {{ core()->formatPrice($refund->adjustment_fee, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+ {{ core()->formatPrice($refund->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.billing-address') }}
+
+
+
+ @include ('admin::sales.address', ['address' => $order->billing_address])
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.billing-address.after', ['order' => $order]) !!}
+
+
+
+ @if ($order->shipping_address)
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-address') }}
+
+
+
+ @include ('admin::sales.address', ['address' => $order->shipping_address])
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.shipping-address.after', ['order' => $order]) !!}
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-method') }}
+
+
+
+ {{ $order->shipping_title }}
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.shipping-method.after', ['order' => $order]) !!}
+
+
+ @endif
+
+
+
+ {{ __('shop::app.customer.account.order.view.payment-method') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+ @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp
+
+ @if (! empty($additionalDetails))
+
+
{{ $additionalDetails['title'] }}
+
{{ $additionalDetails['value'] }}
+
+ @endif
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.payment-method.after', ['order' => $order]) !!}
+
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.after', ['order' => $order]) !!}
+
+
+
+
+
+@endsection
diff --git a/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php
new file mode 100644
index 000000000..df0d6ad1f
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php
@@ -0,0 +1,62 @@
+
+
+@push('scripts')
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/profile/edit.blade.php b/resources/themes/shop/views/customers/account/profile/edit.blade.php
new file mode 100644
index 000000000..44e076f7a
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/profile/edit.blade.php
@@ -0,0 +1,132 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.profile.edit-profile.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+
+
{{ __('shop::app.customer.account.profile.edit-profile.title') }}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!}
+
+
+
+
+@endsection
diff --git a/resources/themes/shop/views/customers/account/profile/index.blade.php b/resources/themes/shop/views/customers/account/profile/index.blade.php
new file mode 100644
index 000000000..6ad256cd7
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/profile/index.blade.php
@@ -0,0 +1,114 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.profile.index.title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.before', ['customer' => $customer]) !!}
+
+
+
+
+ {!! view_render_event(
+ 'bagisto.shop.customers.account.profile.view.table.before', ['customer' => $customer])
+ !!}
+
+ {{ __('shop::app.customer.account.profile.fname') }}
+ {{ $customer->first_name }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.first_name.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.lname') }}
+ {{ $customer->last_name }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.last_name.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.gender') }}
+ {{ __($customer->gender) }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.gender.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.dob') }}
+ {{ $customer->date_of_birth }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.date_of_birth.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.email') }}
+ {{ $customer->email }}
+
+ {!! view_render_event(
+ 'bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer])
+ !!}
+
+ {{-- @if ($customer->subscribed_to_news_letter == 1)
+
+ {{ __('shop::app.footer.subscribe-newsletter') }}
+
+ {{ __('shop::app.subscription.unsubscribe') }}
+
+
+ @endif --}}
+
+
+
+
+
+ {{ __('shop::app.customer.account.address.index.delete') }}
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!}
+
+
+@endsection
diff --git a/resources/themes/shop/views/customers/account/reviews/index.blade.php b/resources/themes/shop/views/customers/account/reviews/index.blade.php
new file mode 100644
index 000000000..540a3b88d
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/reviews/index.blade.php
@@ -0,0 +1,80 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.review.index.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+
+
{{ __('shop::app.customer.account.review.index.title') }}
+
+ @if (count($reviews) > 1)
+
+ @endif
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!}
+
+
+ @if (! $reviews->isEmpty())
+ @foreach ($reviews as $review)
+
+
+ @endforeach
+
+
+ {{ $reviews->links() }}
+
+ @else
+
+ {{ __('customer::app.reviews.empty') }}
+
+ @endif
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php
new file mode 100644
index 000000000..b97c9e3bf
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php
@@ -0,0 +1,50 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.review.view.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+ @include('shop::customers.account.partials.sidemenu')
+
+
+
+
+
+ @if (count($reviews))
+ @foreach ($reviews as $review)
+
+
+ @endforeach
+ @else
+
+ {{ __('customer::app.reviews.empty') }}
+
+ @endif
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php
new file mode 100644
index 000000000..092db144d
--- /dev/null
+++ b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php
@@ -0,0 +1,92 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.wishlist.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+ @include('shop::customers.account.partials.sidemenu')
+
+ @inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+
+
+
+
+
{{ __('shop::app.customer.account.wishlist.title') }}
+
+ @if (count($items))
+
+ @endif
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!}
+
+
+
+ @if ($items->count())
+ @foreach ($items as $item)
+
+
+
+ @endforeach
+
+
+ {{ $items->links() }}
+
+ @else
+
+ {{ __('customer::app.wishlist.empty') }}
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.wishlist.list.after', ['wishlist' => $items]) !!}
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/session/index.blade.php b/resources/themes/shop/views/customers/session/index.blade.php
new file mode 100644
index 000000000..38bdbc9b1
--- /dev/null
+++ b/resources/themes/shop/views/customers/session/index.blade.php
@@ -0,0 +1,57 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.login-form.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ {{ __('shop::app.customer.login-text.no_account') }} -
{{ __('shop::app.customer.login-text.title') }}
+
+
+ {!! view_render_event('bagisto.shop.customers.login.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.login.after') !!}
+
+
+@stop
+
diff --git a/resources/themes/shop/views/customers/signup/forgot-password.blade.php b/resources/themes/shop/views/customers/signup/forgot-password.blade.php
new file mode 100644
index 000000000..f21a32a6e
--- /dev/null
+++ b/resources/themes/shop/views/customers/signup/forgot-password.blade.php
@@ -0,0 +1,61 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.forgot-password.page_title') }}
+@stop
+
+@push('css')
+
+@endpush
+
+@section('content-wrapper')
+
+
+
+ {!! view_render_event('bagisto.shop.customers.forget_password.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.forget_password.before') !!}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/customers/signup/index.blade.php b/resources/themes/shop/views/customers/signup/index.blade.php
new file mode 100644
index 000000000..72f74bd86
--- /dev/null
+++ b/resources/themes/shop/views/customers/signup/index.blade.php
@@ -0,0 +1,97 @@
+@extends('shop::layouts.master')
+@section('page_title')
+ {{ __('shop::app.customer.signup-form.page-title') }}
+@endsection
+@section('content-wrapper')
+
+
+
+
+ {{ __('shop::app.customer.signup-text.account_exists') }} -
{{ __('shop::app.customer.signup-text.title') }}
+
+
+ {!! view_render_event('bagisto.shop.customers.signup.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.signup.after') !!}
+
+@endsection
diff --git a/resources/themes/shop/views/customers/signup/reset-password.blade.php b/resources/themes/shop/views/customers/signup/reset-password.blade.php
new file mode 100644
index 000000000..feb0962ad
--- /dev/null
+++ b/resources/themes/shop/views/customers/signup/reset-password.blade.php
@@ -0,0 +1,52 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.reset-password.title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!}
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/admin/forget-password.blade.php b/resources/themes/shop/views/emails/admin/forget-password.blade.php
new file mode 100644
index 000000000..4e312d436
--- /dev/null
+++ b/resources/themes/shop/views/emails/admin/forget-password.blade.php
@@ -0,0 +1,38 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.forget-password.dear', ['name' => $user_name]) }},
+
+
+
+ {{ __('shop::app.mail.forget-password.info') }}
+
+
+
+
+ {{ __('shop::app.mail.forget-password.reset-password') }}
+
+
+
+
+ {{ __('shop::app.mail.forget-password.final-summary') }}
+
+
+
+ {{ __('shop::app.mail.forget-password.thanks') }}
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/admin/update-password.blade.php b/resources/themes/shop/views/emails/admin/update-password.blade.php
new file mode 100644
index 000000000..f1759daed
--- /dev/null
+++ b/resources/themes/shop/views/emails/admin/update-password.blade.php
@@ -0,0 +1,25 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+ {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }},
+
+
+
+ {{ __('shop::app.mail.update-password.info') }}
+
+
+
+ {{ __('shop::app.mail.update-password.thanks') }}
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/forget-password.blade.php b/resources/themes/shop/views/emails/customer/forget-password.blade.php
new file mode 100644
index 000000000..685346631
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/forget-password.blade.php
@@ -0,0 +1,34 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.forget-password.dear', ['name' => $user_name]) }},
+
+
+
+ {{ __('shop::app.mail.forget-password.info') }}
+
+
+
+
+ {{ __('shop::app.mail.forget-password.reset-password') }}
+
+
+
+
+ {{ __('shop::app.mail.forget-password.final-summary') }}
+
+
+
+ {{ __('shop::app.mail.forget-password.thanks') }}
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/new-customer.blade.php b/resources/themes/shop/views/emails/customer/new-customer.blade.php
new file mode 100644
index 000000000..8fcbfd931
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/new-customer.blade.php
@@ -0,0 +1,30 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.customer.new.dear', ['customer_name' => $customer['name']]) }},
+
+
+
+
+ {!! __('shop::app.mail.customer.new.summary') !!}
+
+
+
+
+ {!! __('shop::app.mail.customer.new.username-email') !!} - {{ $customer['email'] }}
+ {!! __('shop::app.mail.customer.new.password') !!} - {{ $password}}
+
+
+
+ {{ __('shop::app.mail.customer.new.thanks') }}
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/registration.blade.php b/resources/themes/shop/views/emails/customer/registration.blade.php
new file mode 100644
index 000000000..384fd29e7
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/registration.blade.php
@@ -0,0 +1,32 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.customer.registration.dear', ['customer_name' => $data['first_name']. ' ' .$data['last_name']]) }},
+
+
+
+ {!! __('shop::app.mail.customer.registration.greeting') !!}
+
+
+
+
+ {{ __('shop::app.mail.customer.registration.summary') }}
+
+
+
+ {{ __('shop::app.mail.customer.registration.thanks') }}
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/subscription-email.blade.php b/resources/themes/shop/views/emails/customer/subscription-email.blade.php
new file mode 100644
index 000000000..b7be2a8d2
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/subscription-email.blade.php
@@ -0,0 +1,26 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {!! __('shop::app.mail.customer.subscription.greeting') !!}
+
+
+
+ {!! __('shop::app.mail.customer.subscription.summary') !!}
+
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/update-password.blade.php b/resources/themes/shop/views/emails/customer/update-password.blade.php
new file mode 100644
index 000000000..4d616875f
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/update-password.blade.php
@@ -0,0 +1,21 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+ {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }},
+
+
+
+ {{ __('shop::app.mail.update-password.info') }}
+
+
+
+ {{ __('shop::app.mail.update-password.thanks') }}
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/customer/verification-email.blade.php b/resources/themes/shop/views/emails/customer/verification-email.blade.php
new file mode 100644
index 000000000..fda82f400
--- /dev/null
+++ b/resources/themes/shop/views/emails/customer/verification-email.blade.php
@@ -0,0 +1,26 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {!! __('shop::app.mail.customer.verification.heading') !!}
+
+
+
+ {!! __('shop::app.mail.customer.verification.summary') !!}
+
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/layouts/logo.blade.php b/resources/themes/shop/views/emails/layouts/logo.blade.php
new file mode 100644
index 000000000..2d435e7ab
--- /dev/null
+++ b/resources/themes/shop/views/emails/layouts/logo.blade.php
@@ -0,0 +1,5 @@
+@if ($logo = core()->getCurrentChannel()->logo_url)
+
+@else
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/layouts/master.blade.php b/resources/themes/shop/views/emails/layouts/master.blade.php
new file mode 100644
index 000000000..9451f8cf1
--- /dev/null
+++ b/resources/themes/shop/views/emails/layouts/master.blade.php
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ $header ?? '' }}
+
+
+
+ {{ $slot }}
+
+ {{ $subcopy ?? '' }}
+
+
+
+
diff --git a/resources/themes/shop/views/emails/sales/new-admin-order.blade.php b/resources/themes/shop/views/emails/sales/new-admin-order.blade.php
new file mode 100644
index 000000000..6009ab0d8
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-admin-order.blade.php
@@ -0,0 +1,221 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.order.heading') }}
+
+
+
+ {{ __('shop::app.mail.order.dear-admin', ['admin_name' => config('mail.from.name')]) }},
+
+
+
+ {!! __('shop::app.mail.order.greeting-admin', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.order.summary') }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+ @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp
+
+ @if (! empty($additionalDetails))
+
+
{{ $additionalDetails['title'] }}
+
{{ $additionalDetails['value'] }}
+
+ @endif
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($order->items as $item)
+
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty_ordered }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.subtotal') }}
+
+ {{ core()->formatBasePrice($order->base_sub_total) }}
+
+
+
+
+ {{ __('shop::app.mail.order.shipping-handling') }}
+
+ {{ core()->formatBasePrice($order->base_shipping_amount) }}
+
+
+
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, true) as $taxRate => $baseTaxAmount )
+
+ {{ __('shop::app.mail.order.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatBasePrice($baseTaxAmount) }}
+
+
+ @endforeach
+
+ @if ($order->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.discount') }}
+
+ {{ core()->formatBasePrice($order->base_discount_amount) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.grand-total') }}
+
+ {{ core()->formatBasePrice($order->base_grand_total) }}
+
+
+
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php b/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php
new file mode 100644
index 000000000..487d297ca
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php
@@ -0,0 +1,172 @@
+@component('shop::emails.layouts.master')
+
+
+ order; ?>
+ inventory_source; ?>
+
+
+
+
+ {{ __('shop::app.mail.shipment.inventory-heading', ['order_id' => $order->increment_id, 'shipment_id' => $shipment->id]) }}
+
+
+
+ {{ __('shop::app.mail.order.dear', ['customer_name' => $inventory->name]) }},
+
+
+
+ {!! __('shop::app.mail.shipment.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+
+ {{ $order->shipping_title }}
+
+
+
+ {{ __('shop::app.mail.shipment.carrier') }} : {{ $shipment->carrier_title }}
+
+
+
+ {{ __('shop::app.mail.shipment.tracking-number') }} : {{ $shipment->track_number }}
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($shipment->items as $item)
+
+ {{ $item->sku }}
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+ {{ $item->qty }}
+
+ @endforeach
+
+
+
+
+
+ {{--
--}}
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/sales/new-invoice.blade.php b/resources/themes/shop/views/emails/sales/new-invoice.blade.php
new file mode 100644
index 000000000..6a1b71ce5
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-invoice.blade.php
@@ -0,0 +1,211 @@
+@component('shop::emails.layouts.master')
+
+
+ order; ?>
+
+
+
+
+ {{ __('shop::app.mail.invoice.heading', ['order_id' => $order->increment_id, 'invoice_id' => $invoice->id]) }}
+
+
+
+ {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }},
+
+
+
+ {!! __('shop::app.mail.order.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.invoice.summary') }}
+
+
+
+ @if ($order->shipping_address)
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+ @endif
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($invoice->items as $item)
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }}
+ : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+ {{ $item->qty }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.subtotal') }}
+
+ {{ core()->formatPrice($invoice->sub_total, $invoice->order_currency_code) }}
+
+
+
+ @if ($order->shipping_address)
+
+ {{ __('shop::app.mail.order.shipping-handling') }}
+
+ {{ core()->formatPrice($invoice->shipping_amount, $invoice->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.tax') }}
+
+ {{ core()->formatPrice($invoice->tax_amount, $order->order_currency_code) }}
+
+
+
+ @if ($invoice->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.discount') }}
+
+ {{ core()->formatPrice($invoice->discount_amount, $invoice->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.grand-total') }}
+
+ {{ core()->formatPrice($invoice->grand_total, $invoice->order_currency_code) }}
+
+
+
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/emails/sales/new-order-comment.blade.php b/resources/themes/shop/views/emails/sales/new-order-comment.blade.php
new file mode 100644
index 000000000..0d8c19672
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-order-comment.blade.php
@@ -0,0 +1,35 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.order.comment.dear', ['customer_name' => $comment->order->customer_full_name]) }},
+
+
+
+
+
+ {{ $comment->comment }}
+
+
+
+
+
+ {!!
+ __('shop::app.mail.order.comment.help', [
+ 'support_email' => '' . config('mail.from.address'). ' '
+ ])
+ !!}
+
+
+
+ {{ __('shop::app.mail.order.comment.thanks') }}
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/emails/sales/new-order.blade.php b/resources/themes/shop/views/emails/sales/new-order.blade.php
new file mode 100644
index 000000000..2db328e2b
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-order.blade.php
@@ -0,0 +1,220 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.order.heading') }}
+
+
+
+ {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }},
+
+
+
+ {!! __('shop::app.mail.order.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.order.summary') }}
+
+
+
+ @if ($order->shipping_address)
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+ @endif
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+ @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp
+
+ @if (! empty($additionalDetails))
+
+
{{ $additionalDetails['title'] }}
+
{{ $additionalDetails['value'] }}
+
+ @endif
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($order->items as $item)
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+ {{ $item->qty_ordered }}
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.subtotal') }}
+
+ {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
+
+
+
+ @if ($order->shipping_address)
+
+ {{ __('shop::app.mail.order.shipping-handling') }}
+
+ {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
+
+
+ @endif
+
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount )
+
+ {{ __('shop::app.mail.order.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatPrice($taxAmount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+ @if ($order->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.discount') }}
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.grand-total') }}
+
+ {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.final-summary') }}
+
+
+
+ {!!
+ __('shop::app.mail.order.help', [
+ 'support_email' => '' . config('mail.from.address'). ' '
+ ])
+ !!}
+
+
+
+ {{ __('shop::app.mail.order.thanks') }}
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/emails/sales/new-refund.blade.php b/resources/themes/shop/views/emails/sales/new-refund.blade.php
new file mode 100644
index 000000000..993108341
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-refund.blade.php
@@ -0,0 +1,230 @@
+@component('shop::emails.layouts.master')
+
+
+ order; ?>
+
+
+
+
+ {{ __('shop::app.mail.refund.heading', ['order_id' => $order->increment_id, 'refund_id' => $refund->id]) }}
+
+
+
+ {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }},
+
+
+
+ {!! __('shop::app.mail.order.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.refund.summary') }}
+
+
+
+ @if ($order->shipping_address)
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+ @endif
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($refund->items as $item)
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty }}
+
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.subtotal') }}
+
+ {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code) }}
+
+
+
+ @if ($order->shipping_address)
+
+ {{ __('shop::app.mail.order.shipping-handling') }}
+
+ {{ core()->formatPrice($refund->shipping_amount, $refund->order_currency_code) }}
+
+
+ @endif
+
+ @if ($refund->tax_amount > 0)
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($refund, false) as $taxRate => $taxAmount)
+
+ {{ __('shop::app.mail.order.tax') }}
+
+ {{ core()->formatPrice($refund->tax_amount, $refund->order_currency_code) }}
+
+
+ @endforeach
+ @endif
+
+ @if ($refund->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.discount') }}
+
+ {{ core()->formatPrice($refund->discount_amount, $refund->order_currency_code) }}
+
+
+ @endif
+
+ @if ($refund->adjustment_refund > 0)
+
+ {{ __('shop::app.mail.refund.adjustment-refund') }}
+
+ {{ core()->formatPrice($refund->adjustment_refund, $refund->order_currency_code) }}
+
+
+ @endif
+
+ @if ($refund->adjustment_fee > 0)
+
+ {{ __('shop::app.mail.refund.adjustment-fee') }}
+
+ {{ core()->formatPrice($refund->adjustment_fee, $refund->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.grand-total') }}
+
+ {{ core()->formatPrice($refund->grand_total, $refund->order_currency_code) }}
+
+
+
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/emails/sales/new-shipment.blade.php b/resources/themes/shop/views/emails/sales/new-shipment.blade.php
new file mode 100644
index 000000000..10d93391d
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/new-shipment.blade.php
@@ -0,0 +1,174 @@
+@component('shop::emails.layouts.master')
+
+
+ order; ?>
+
+
+
+
+ {{ __('shop::app.mail.shipment.heading', ['order_id' => $order->increment_id, 'shipment_id' => $shipment->id]) }}
+
+
+
+ {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }},
+
+
+
+ {!! __('shop::app.mail.order.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.shipment.summary') }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.shipping') }}
+
+
+
+
+ {{ $order->shipping_title }}
+
+
+
+ {{ __('shop::app.mail.shipment.carrier') }} : {{ $shipment->carrier_title }}
+
+
+
+ {{ __('shop::app.mail.shipment.tracking-number') }} : {{ $shipment->track_number }}
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($shipment->items as $item)
+
+ {{ $item->sku }}
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+ {{ $item->qty }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php b/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php
new file mode 100644
index 000000000..b768036de
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php
@@ -0,0 +1,212 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.heading') }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.dear', ['customer_name' => config('mail.from.name')]) }},
+
+
+
+ {!! __('shop::app.mail.order.cancel.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.summary') }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($order->items as $item)
+
+
+ {{ $item->child ? $item->child->sku : $item->sku }}
+
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty_canceled }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.subtotal') }}
+
+ {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping-handling') }}
+
+ {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
+
+
+
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount )
+
+ {{ __('shop::app.mail.order.cancel.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatPrice($taxAmount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+ @if ($order->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.cancel.discount') }}
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.cancel.grand-total') }}
+
+ {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ {!!
+ __('shop::app.mail.order.cancel.help', [
+ 'support_email' => '' . config('mail.from.address'). ' '
+ ])
+ !!}
+
+
+
+ {{ __('shop::app.mail.order.cancel.thanks') }}
+
+
+
+@endcomponent
\ No newline at end of file
diff --git a/resources/themes/shop/views/emails/sales/order-cancel.blade.php b/resources/themes/shop/views/emails/sales/order-cancel.blade.php
new file mode 100644
index 000000000..494c2747c
--- /dev/null
+++ b/resources/themes/shop/views/emails/sales/order-cancel.blade.php
@@ -0,0 +1,212 @@
+@component('shop::emails.layouts.master')
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.heading') }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.dear', ['customer_name' => $order->customer_full_name]) }},
+
+
+
+ {!! __('shop::app.mail.order.cancel.greeting', [
+ 'order_id' => '#' . $order->increment_id . ' ',
+ 'created_at' => $order->created_at
+ ])
+ !!}
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.summary') }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping-address') }}
+
+
+
+ {{ $order->shipping_address->company_name ?? '' }}
+
+
+
+ {{ $order->shipping_address->name }}
+
+
+
+ {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
+
+
+
+ {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->shipping_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping') }}
+
+
+
+ {{ $order->shipping_title }}
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.billing-address') }}
+
+
+
+ {{ $order->billing_address->company_name ?? '' }}
+
+
+
+ {{ $order->billing_address->name }}
+
+
+
+ {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
+
+
+
+ {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
+
+
+
---
+
+
+ {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->billing_address->phone }}
+
+
+
+ {{ __('shop::app.mail.order.cancel.payment') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+ @foreach ($order->items as $item)
+
+
+ {{ $item->child ? $item->child->sku : $item->sku }}
+
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty_canceled }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.subtotal') }}
+
+ {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.shipping-handling') }}
+
+ {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
+
+
+
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount )
+
+ {{ __('shop::app.mail.order.cancel.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatPrice($taxAmount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+ @if ($order->discount_amount > 0)
+
+ {{ __('shop::app.mail.order.cancel.discount') }}
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.mail.order.cancel.grand-total') }}
+
+ {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ {{ __('shop::app.mail.order.cancel.final-summary') }}
+
+
+
+ {!!
+ __('shop::app.mail.order.cancel.help', [
+ 'support_email' => '' . config('mail.from.address'). ' '
+ ])
+ !!}
+
+
+
+ {{ __('shop::app.mail.order.cancel.thanks') }}
+
+
+
+@endcomponent
diff --git a/resources/themes/shop/views/error.blade.php b/resources/themes/shop/views/error.blade.php
new file mode 100644
index 000000000..d78938fdb
--- /dev/null
+++ b/resources/themes/shop/views/error.blade.php
@@ -0,0 +1,19 @@
+@extends('shop::layouts.master')
+@section('content-wrapper')
+
+
+
+
404
+
Page Not Found
+
+
GO TO HOME
+ {{-- pass the content dynamically --}}
+ Show the exception here or error message here.
+
+
+
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/errors/401.blade.php b/resources/themes/shop/views/errors/401.blade.php
new file mode 100644
index 000000000..f12e056c3
--- /dev/null
+++ b/resources/themes/shop/views/errors/401.blade.php
@@ -0,0 +1,38 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('admin::app.error.401.page-title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/errors/403.blade.php b/resources/themes/shop/views/errors/403.blade.php
new file mode 100644
index 000000000..6d61554d5
--- /dev/null
+++ b/resources/themes/shop/views/errors/403.blade.php
@@ -0,0 +1,38 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('admin::app.error.403.page-title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/errors/404.blade.php b/resources/themes/shop/views/errors/404.blade.php
new file mode 100644
index 000000000..6f34dee9c
--- /dev/null
+++ b/resources/themes/shop/views/errors/404.blade.php
@@ -0,0 +1,40 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('admin::app.error.404.page-title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/errors/500.blade.php b/resources/themes/shop/views/errors/500.blade.php
new file mode 100644
index 000000000..2ae0f5a41
--- /dev/null
+++ b/resources/themes/shop/views/errors/500.blade.php
@@ -0,0 +1,40 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('admin::app.error.500.page-title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/errors/503.blade.php b/resources/themes/shop/views/errors/503.blade.php
new file mode 100644
index 000000000..40d93e596
--- /dev/null
+++ b/resources/themes/shop/views/errors/503.blade.php
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
+
+ {{ __('admin::app.error.in-maitainace') }}
+
+
+
+ {{ core()->getCurrentChannel()->maintenance_mode_text ?: __('admin::app.error.right-back') }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/guest/compare/compare-products.blade.php b/resources/themes/shop/views/guest/compare/compare-products.blade.php
new file mode 100644
index 000000000..85fe7368a
--- /dev/null
+++ b/resources/themes/shop/views/guest/compare/compare-products.blade.php
@@ -0,0 +1,342 @@
+@php
+ $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository');
+ $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily();
+
+ $locale = request()->get('locale') ?: app()->getLocale();
+
+ $attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson();
+@endphp
+
+@push('scripts')
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/guest/compare/index.blade.php b/resources/themes/shop/views/guest/compare/index.blade.php
new file mode 100644
index 000000000..08cd183db
--- /dev/null
+++ b/resources/themes/shop/views/guest/compare/index.blade.php
@@ -0,0 +1,11 @@
+@extends('shop::layouts.master')
+
+@include('shop::guest.compare.compare-products')
+
+@section('page_title')
+ {{ __('shop::app.customer.compare.compare_similar_items') }}
+@endsection
+
+@section('content-wrapper')
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/shop/views/guest/wishlist/index.blade.php b/resources/themes/shop/views/guest/wishlist/index.blade.php
new file mode 100644
index 000000000..be3b6a35b
--- /dev/null
+++ b/resources/themes/shop/views/guest/wishlist/index.blade.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/home/featured-products.blade.php b/resources/themes/shop/views/home/featured-products.blade.php
new file mode 100644
index 000000000..654a02043
--- /dev/null
+++ b/resources/themes/shop/views/home/featured-products.blade.php
@@ -0,0 +1,27 @@
+@if (count(app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts()))
+
+
+
+ {{ __('shop::app.home.featured-products') }}
+
+ _____
+
+
+
+
+ @foreach (app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts() as $productFlat)
+
+ @if (core()->getConfigData('catalog.products.homepage.out_of_stock_items'))
+ @include ('shop::products.list.card', ['product' => $productFlat])
+ @else
+ @if ($productFlat->isSaleable())
+ @include ('shop::products.list.card', ['product' => $productFlat])
+ @endif
+ @endif
+
+ @endforeach
+
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/home/index.blade.php b/resources/themes/shop/views/home/index.blade.php
new file mode 100644
index 000000000..b3021bcf3
--- /dev/null
+++ b/resources/themes/shop/views/home/index.blade.php
@@ -0,0 +1,53 @@
+@extends('shop::layouts.master')
+
+@php
+ $channel = core()->getCurrentChannel();
+
+ $homeSEO = $channel->home_seo;
+
+ if (isset($homeSEO)) {
+ $homeSEO = json_decode($channel->home_seo);
+
+ $metaTitle = $homeSEO->meta_title;
+
+ $metaDescription = $homeSEO->meta_description;
+
+ $metaKeywords = $homeSEO->meta_keywords;
+ }
+@endphp
+
+@section('page_title')
+ {{ isset($metaTitle) ? $metaTitle : "" }}
+@endsection
+
+@section('head')
+
+ @if (isset($homeSEO))
+ @isset($metaTitle)
+
+ @endisset
+
+ @isset($metaDescription)
+
+ @endisset
+
+ @isset($metaKeywords)
+
+ @endisset
+ @endif
+@endsection
+
+@section('content-wrapper')
+ {!! view_render_event('bagisto.shop.home.content.before') !!}
+
+ @if (! is_null($channel->home_page_content))
+ {!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!}
+ @else
+ @include('shop::home.slider', ['sliderData' => $sliderData])
+ @include('shop::home.featured-products')
+ @include('shop::home.new-products')
+ @endif
+
+ {{ view_render_event('bagisto.shop.home.content.after') }}
+
+@endsection
diff --git a/resources/themes/shop/views/home/new-products.blade.php b/resources/themes/shop/views/home/new-products.blade.php
new file mode 100644
index 000000000..5a31b168c
--- /dev/null
+++ b/resources/themes/shop/views/home/new-products.blade.php
@@ -0,0 +1,27 @@
+@if (count(app('Webkul\Product\Repositories\ProductRepository')->getNewProducts()))
+
+
+
+ {{ __('shop::app.home.new-products') }}
+
+ _____
+
+
+
+
+ @foreach (app('Webkul\Product\Repositories\ProductRepository')->getNewProducts() as $productFlat)
+
+ @if (core()->getConfigData('catalog.products.homepage.out_of_stock_items'))
+ @include ('shop::products.list.card', ['product' => $productFlat])
+ @else
+ @if ($productFlat->isSaleable())
+ @include ('shop::products.list.card', ['product' => $productFlat])
+ @endif
+ @endif
+
+ @endforeach
+
+
+
+
+@endif
diff --git a/resources/themes/shop/views/home/news-updates.blade.php b/resources/themes/shop/views/home/news-updates.blade.php
new file mode 100644
index 000000000..4cb478208
--- /dev/null
+++ b/resources/themes/shop/views/home/news-updates.blade.php
@@ -0,0 +1,15 @@
+
diff --git a/resources/themes/shop/views/home/slider.blade.php b/resources/themes/shop/views/home/slider.blade.php
new file mode 100644
index 000000000..40af4726f
--- /dev/null
+++ b/resources/themes/shop/views/home/slider.blade.php
@@ -0,0 +1,5 @@
+@if (count($sliderData))
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/index.blade.php b/resources/themes/shop/views/index.blade.php
new file mode 100644
index 000000000..5d0687bbe
--- /dev/null
+++ b/resources/themes/shop/views/index.blade.php
@@ -0,0 +1,13 @@
+@inject('rateHelper' , 'Webkul\Shipping\Helper\Rate')
+
+ @foreach ($rateHelper->collectRates() as $key=>$count)
+
+ ${{ core()->currency($count) }} {{ $key }}
+
+ @endforeach
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/layouts/footer/footer.blade.php b/resources/themes/shop/views/layouts/footer/footer.blade.php
new file mode 100644
index 000000000..493d12e3f
--- /dev/null
+++ b/resources/themes/shop/views/layouts/footer/footer.blade.php
@@ -0,0 +1,91 @@
+
diff --git a/resources/themes/shop/views/layouts/header/index.blade.php b/resources/themes/shop/views/layouts/header/index.blade.php
new file mode 100644
index 000000000..333b2899e
--- /dev/null
+++ b/resources/themes/shop/views/layouts/header/index.blade.php
@@ -0,0 +1,415 @@
+input('term');
+ $image_search = request()->input('image-search');
+
+ if (! is_null($term)) {
+ $serachQuery = 'term='.request()->input('term');
+ }
+?>
+
+
+
+@push('scripts')
+
+
+
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php
new file mode 100644
index 000000000..0e9e3085a
--- /dev/null
+++ b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php
@@ -0,0 +1,138 @@
+{!! view_render_event('bagisto.shop.layout.header.category.before') !!}
+
+getVisibleCategoryTree(core()->getCurrentChannel()->root_category_id) as $category) {
+ if ($category->slug) {
+ array_push($categories, $category);
+ }
+}
+
+?>
+
+
+
+{!! view_render_event('bagisto.shop.layout.header.category.after') !!}
+
+
+@push('scripts')
+
+
+
+
+
+
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/layouts/master.blade.php b/resources/themes/shop/views/layouts/master.blade.php
new file mode 100644
index 000000000..83f6c798b
--- /dev/null
+++ b/resources/themes/shop/views/layouts/master.blade.php
@@ -0,0 +1,129 @@
+
+
+
+
+
+ @yield('page_title')
+
+
+
+
+
+
+
+
+
+
+ @if ($favicon = core()->getCurrentChannel()->favicon_url)
+
+ @else
+
+ @endif
+
+ @yield('head')
+
+ @section('seo')
+ @if (! request()->is('/'))
+
+ @endif
+ @show
+
+ @stack('css')
+
+ {!! view_render_event('bagisto.shop.layout.head') !!}
+
+
+
+
+
+
+getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif style="scroll-behavior: smooth;">
+
+ {!! view_render_event('bagisto.shop.layout.body.before') !!}
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.layout.header.before') !!}
+
+ @include('shop::layouts.header.index')
+
+ {!! view_render_event('bagisto.shop.layout.header.after') !!}
+
+ @yield('slider')
+
+
+
+ {!! view_render_event('bagisto.shop.layout.content.before') !!}
+
+ @yield('content-wrapper')
+
+ {!! view_render_event('bagisto.shop.layout.content.after') !!}
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.layout.footer.before') !!}
+
+ @include('shop::layouts.footer.footer')
+
+ {!! view_render_event('bagisto.shop.layout.footer.after') !!}
+
+ @if (core()->getConfigData('general.content.footer.footer_toggle'))
+
+ @endif
+
+
+
+
+
+
+
+
+
+ @stack('scripts')
+
+ {!! view_render_event('bagisto.shop.layout.body.after') !!}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/partials/pagination.blade.php b/resources/themes/shop/views/partials/pagination.blade.php
new file mode 100644
index 000000000..7350ddb24
--- /dev/null
+++ b/resources/themes/shop/views/partials/pagination.blade.php
@@ -0,0 +1,50 @@
+@if ($paginator->hasPages())
+
+@endif
diff --git a/resources/themes/shop/views/products/add-buttons.blade.php b/resources/themes/shop/views/products/add-buttons.blade.php
new file mode 100644
index 000000000..2c4bcfa76
--- /dev/null
+++ b/resources/themes/shop/views/products/add-buttons.blade.php
@@ -0,0 +1,26 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+@php
+ $showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false;
+
+ $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false;
+@endphp
+
+
+
+
+ @if ($showWishlist)
+ @include('shop::products.wishlist')
+ @endif
+
+ @if ($showCompare)
+ @include('shop::products.compare', [
+ 'productId' => $product->id
+ ])
+ @endif
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/add-to-cart.blade.php b/resources/themes/shop/views/products/add-to-cart.blade.php
new file mode 100644
index 000000000..6887730ee
--- /dev/null
+++ b/resources/themes/shop/views/products/add-to-cart.blade.php
@@ -0,0 +1,12 @@
+{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!}
+
+@php
+ $width = (core()->getConfigData('catalog.products.storefront.buy_now_button_display') == 1) ? '49' : '95';
+@endphp
+
+isSaleable() ? 'disabled' : '' }}
+style="width: ;">
+ {{ ($product->type == 'booking') ? __('shop::app.products.book-now') : __('shop::app.products.add-to-cart') }}
+
+
+{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/add-to.blade.php b/resources/themes/shop/views/products/add-to.blade.php
new file mode 100644
index 000000000..88af2a27d
--- /dev/null
+++ b/resources/themes/shop/views/products/add-to.blade.php
@@ -0,0 +1,9 @@
+{!! view_render_event('bagisto.shop.products.add_to.before', ['product' => $product]) !!}
+
+
+ @include ('shop::products.add-to-cart', ['product' => $product])
+
+ @include('shop::products.wishlist')
+
+
+{!! view_render_event('bagisto.shop.products.add_to.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/buy-now.blade.php b/resources/themes/shop/views/products/buy-now.blade.php
new file mode 100644
index 000000000..74bba5273
--- /dev/null
+++ b/resources/themes/shop/views/products/buy-now.blade.php
@@ -0,0 +1,7 @@
+{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!}
+
+isSaleable(1) ? 'disabled' : '' }}>
+ {{ __('shop::app.products.buy-now') }}
+
+
+{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/compare.blade.php b/resources/themes/shop/views/products/compare.blade.php
new file mode 100644
index 000000000..6e371e981
--- /dev/null
+++ b/resources/themes/shop/views/products/compare.blade.php
@@ -0,0 +1,129 @@
+
+
+@push('scripts')
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/index.blade.php b/resources/themes/shop/views/products/index.blade.php
new file mode 100644
index 000000000..cd950fb94
--- /dev/null
+++ b/resources/themes/shop/views/products/index.blade.php
@@ -0,0 +1,135 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }}
+@stop
+
+@section('seo')
+ meta_description : \Illuminate\Support\Str::limit(strip_tags($category->description), 120, '') }}"/>
+
+
+
+ @if (core()->getConfigData('catalog.rich_snippets.categories.enable'))
+
+ @endif
+@stop
+
+@section('content-wrapper')
+ @inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository')
+
+
+ {!! view_render_event('bagisto.shop.products.index.before', ['category' => $category]) !!}
+
+
+
+ @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description']))
+ @include ('shop::products.list.layered-navigation')
+ @endif
+
+
display_mode == 'description_only') style="width: 100%" @endif>
+
+ @if (!is_null($category->image))
+
+ @endif
+
+
+ @if (in_array($category->display_mode, [null, 'description_only', 'products_and_description']))
+ @if ($category->description)
+
+ {!! $category->description !!}
+
+ @endif
+ @endif
+
+ @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description']))
+ getAll($category->id); ?>
+
+ @include ('shop::products.list.toolbar')
+
+ @if ($products->count())
+
+ @inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+ @if ($toolbarHelper->getCurrentMode() == 'grid')
+
+ @foreach ($products as $productFlat)
+
+ @include ('shop::products.list.card', ['product' => $productFlat])
+
+ @endforeach
+
+ @else
+
+ @foreach ($products as $productFlat)
+
+ @include ('shop::products.list.card', ['product' => $productFlat])
+
+ @endforeach
+
+ @endif
+
+ {!! view_render_event('bagisto.shop.products.index.pagination.before', ['category' => $category]) !!}
+
+
+ {{ $products->appends(request()->input())->links() }}
+
+
+ {!! view_render_event('bagisto.shop.products.index.pagination.after', ['category' => $category]) !!}
+
+ @else
+
+
+
{{ __('shop::app.products.whoops') }}
+
+
+ {{ __('shop::app.products.empty') }}
+
+
+
+ @endif
+ @endif
+
+
+
+ {!! view_render_event('bagisto.shop.products.index.after', ['category' => $category]) !!}
+
+@stop
+
+@push('scripts')
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/list/card.blade.php b/resources/themes/shop/views/products/list/card.blade.php
new file mode 100644
index 000000000..3acde17f7
--- /dev/null
+++ b/resources/themes/shop/views/products/list/card.blade.php
@@ -0,0 +1,36 @@
+{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!}
+
+
+
+ getProductBaseImage($product); ?>
+
+ @if ($product->new)
+
+ {{ __('shop::app.products.new') }}
+
+ @endif
+
+
+
+
+
+
+
+{!! view_render_event('bagisto.shop.products.list.card.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/list/layered-navigation.blade.php b/resources/themes/shop/views/products/list/layered-navigation.blade.php
new file mode 100644
index 000000000..96ebd303c
--- /dev/null
+++ b/resources/themes/shop/views/products/list/layered-navigation.blade.php
@@ -0,0 +1,219 @@
+@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository')
+
+@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository')
+
+@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository')
+
+getProductsRelatedFilterableAttributes($category);
+
+ $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category));
+ }
+
+ if (! count($filterAttributes) > 0) {
+ $filterAttributes = $attributeRepository->getFilterAttributes();
+ }
+?>
+
+
+
+ {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!}
+
+
+
+@push('scripts')
+
+
+
+
+
+@endpush
diff --git a/resources/themes/shop/views/products/list/toolbar.blade.php b/resources/themes/shop/views/products/list/toolbar.blade.php
new file mode 100644
index 000000000..44042ae84
--- /dev/null
+++ b/resources/themes/shop/views/products/list/toolbar.blade.php
@@ -0,0 +1,83 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!}
+
+
+
+{!! view_render_event('bagisto.shop.products.list.toolbar.after') !!}
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/price.blade.php b/resources/themes/shop/views/products/price.blade.php
new file mode 100644
index 000000000..bed2c056d
--- /dev/null
+++ b/resources/themes/shop/views/products/price.blade.php
@@ -0,0 +1,7 @@
+{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!}
+
+
+ {!! $product->getTypeInstance()->getPriceHtml() !!}
+
+
+{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/review.blade.php b/resources/themes/shop/views/products/review.blade.php
new file mode 100644
index 000000000..5c9491b1f
--- /dev/null
+++ b/resources/themes/shop/views/products/review.blade.php
@@ -0,0 +1,28 @@
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+
+{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!}
+
+@if ($total = $reviewHelper->getTotalReviews($product))
+
+
+ @for ($i = 1; $i <= 5; $i++)
+ @if($i <= round($reviewHelper->getAverageRating($product)))
+
+ @else
+
+ @endif
+ @endfor
+
+
+
+ {{
+ __('shop::app.products.total-rating', [
+ 'total_rating' => $reviewHelper->getAverageRating($product),
+ 'total_reviews' => $total,
+ ])
+ }}
+
+
+@endif
+
+{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!}
diff --git a/resources/themes/shop/views/products/reviews/create.blade.php b/resources/themes/shop/views/products/reviews/create.blade.php
new file mode 100644
index 000000000..53f8de210
--- /dev/null
+++ b/resources/themes/shop/views/products/reviews/create.blade.php
@@ -0,0 +1,117 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+
+
+
+ getProductBaseImage($product); ?>
+
+
+
+
+
+ @include('shop::products.price')
+
+
+
+
+
+
+
+
+@endsection
+
+
+@push('scripts')
+
+
+
+@endpush
diff --git a/resources/themes/shop/views/products/reviews/index.blade.php b/resources/themes/shop/views/products/reviews/index.blade.php
new file mode 100644
index 000000000..45ae15a7a
--- /dev/null
+++ b/resources/themes/shop/views/products/reviews/index.blade.php
@@ -0,0 +1,163 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.reviews.product-review-page-title') }} - {{ $product->name }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+
+ @inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+
+ getProductBaseImage($product); ?>
+
+
+
+
+
+
+
+ @if ($product->getTypeInstance()->haveSpecialPrice())
+ {{ core()->currency($product->getTypeInstance()->getSpecialPrice()) }}
+ @else
+ {{ core()->currency($product->getTypeInstance()->getMinimalPrice()) }}
+ @endif
+
+
+
+
+
+
+
+
+@endsection
+
+@push('scripts')
+
+
+
+@endpush
diff --git a/resources/themes/shop/views/products/sharelinks.blade.php b/resources/themes/shop/views/products/sharelinks.blade.php
new file mode 100644
index 000000000..fd0807215
--- /dev/null
+++ b/resources/themes/shop/views/products/sharelinks.blade.php
@@ -0,0 +1 @@
+
diff --git a/resources/themes/shop/views/products/view.blade.php b/resources/themes/shop/views/products/view.blade.php
new file mode 100644
index 000000000..946da0a51
--- /dev/null
+++ b/resources/themes/shop/views/products/view.blade.php
@@ -0,0 +1,299 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }}
+@stop
+
+@section('seo')
+ meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/>
+
+
+
+ @if (core()->getConfigData('catalog.rich_snippets.products.enable'))
+
+ @endif
+
+ getProductBaseImage($product); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@stop
+
+@section('content-wrapper')
+
+ {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!}
+
+
+
+
+
+ @include ('shop::products.view.related-products')
+
+ @include ('shop::products.view.up-sells')
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!}
+@endsection
+
+@push('scripts')
+
+
+
+
+
+
+@endpush
diff --git a/resources/themes/shop/views/products/view/attributes.blade.php b/resources/themes/shop/views/products/view/attributes.blade.php
new file mode 100644
index 000000000..e64fb55fb
--- /dev/null
+++ b/resources/themes/shop/views/products/view/attributes.blade.php
@@ -0,0 +1,45 @@
+@inject ('productViewHelper', 'Webkul\Product\Helpers\View')
+
+{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!}
+
+@if ($customAttributeValues = $productViewHelper->getAdditionalData($product))
+
+
+ {{ __('shop::app.products.specification') }}
+
+
+
+
+
+
+ @foreach ($customAttributeValues as $attribute)
+
+ @if ($attribute['label'])
+ {{ $attribute['label'] }}
+ @else
+ {{ $attribute['admin_name'] }}
+ @endif
+ @if ($attribute['type'] == 'file' && $attribute['value'])
+
+
+
+
+
+ @elseif ($attribute['type'] == 'image' && $attribute['value'])
+
+
+
+
+
+ @else
+ {{ $attribute['value'] }}
+ @endif
+
+ @endforeach
+
+
+
+
+@endif
+
+{!! view_render_event('bagisto.shop.products.view.attributes.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/bundle-options.blade.php b/resources/themes/shop/views/products/view/bundle-options.blade.php
new file mode 100644
index 000000000..12ca3e667
--- /dev/null
+++ b/resources/themes/shop/views/products/view/bundle-options.blade.php
@@ -0,0 +1,236 @@
+@if ($product->type == 'bundle')
+
+ {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!}
+
+ @push('scripts')
+
+
+
+
+
+ @endpush
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/configurable-options.blade.php b/resources/themes/shop/views/products/view/configurable-options.blade.php
new file mode 100644
index 000000000..10c05b6cc
--- /dev/null
+++ b/resources/themes/shop/views/products/view/configurable-options.blade.php
@@ -0,0 +1,333 @@
+@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type))
+
+ @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption')
+
+ {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!}
+
+ @push('scripts')
+
+
+
+ getConfigurationConfig($product) ?>
+
+
+ @endpush
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/cross-sells.blade.php b/resources/themes/shop/views/products/view/cross-sells.blade.php
new file mode 100644
index 000000000..f7b3e03b8
--- /dev/null
+++ b/resources/themes/shop/views/products/view/cross-sells.blade.php
@@ -0,0 +1,36 @@
+@foreach ($cart->items as $item)
+ product;
+
+ if ($product->cross_sells()->count()) {
+ $products[] = $product;
+ $products = array_unique($products);
+ }
+ ?>
+@endforeach
+
+@if (isset($products))
+
+
+
+
+ {{ __('shop::app.products.cross-sell-title') }}
+
+
+
+
+ @foreach($products as $product)
+
+ @foreach ($product->cross_sells()->paginate(2) as $cross_sell_product)
+
+ @include ('shop::products.list.card', ['product' => $cross_sell_product])
+
+ @endforeach
+
+ @endforeach
+
+
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/downloadable.blade.php b/resources/themes/shop/views/products/view/downloadable.blade.php
new file mode 100644
index 000000000..7f41196f7
--- /dev/null
+++ b/resources/themes/shop/views/products/view/downloadable.blade.php
@@ -0,0 +1,50 @@
+@if ($product->type == 'downloadable')
+ {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!}
+
+
+
+ @if ($product->downloadable_samples->count())
+
+
{{ __('shop::app.products.samples') }}
+
+
+
+ @endif
+
+ @if ($product->downloadable_links->count())
+
+
{{ __('shop::app.products.links') }}
+
+
+
+
@{{ errors.first('links[]') }}
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!}
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/gallery.blade.php b/resources/themes/shop/views/products/view/gallery.blade.php
new file mode 100644
index 000000000..39a5c0c0b
--- /dev/null
+++ b/resources/themes/shop/views/products/view/gallery.blade.php
@@ -0,0 +1,219 @@
+@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist')
+
+getGalleryImages($product);
+
+ $videos = productvideo()->getVideos($product);
+
+ $images = array_merge($images, $videos);
+?>
+
+
+{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!}
+
+
+
+
+
+
+
+
+ @include ('shop::products.view.product-add')
+
+
+
+{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!}
+
+@push('scripts')
+
+
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/grouped-products.blade.php b/resources/themes/shop/views/products/view/grouped-products.blade.php
new file mode 100644
index 000000000..1f2b36dcc
--- /dev/null
+++ b/resources/themes/shop/views/products/view/grouped-products.blade.php
@@ -0,0 +1,38 @@
+@if ($product->type == 'grouped')
+ {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!}
+
+
+ @if ($product->grouped_products->count())
+
+
+
+ {{ __('shop::app.products.name') }}
+ {{ __('shop::app.products.qty') }}
+
+ @foreach ($product->grouped_products as $groupedProduct)
+ @if($groupedProduct->associated_product->getTypeInstance()->isSaleable())
+
+
+ {{ $groupedProduct->associated_product->name }}
+
+ @include ('shop::products.price', ['product' => $groupedProduct->associated_product])
+
+
+
+
+
+
+
+ @endif
+ @endforeach
+
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!}
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/product-add.blade.php b/resources/themes/shop/views/products/view/product-add.blade.php
new file mode 100644
index 000000000..cb621c137
--- /dev/null
+++ b/resources/themes/shop/views/products/view/product-add.blade.php
@@ -0,0 +1,11 @@
+{!! view_render_event('bagisto.shop.products.view.product-add.before', ['product' => $product]) !!}
+
+
+ @include ('shop::products.add-to-cart', ['product' => $product])
+
+ @if (core()->getConfigData('catalog.products.storefront.buy_now_button_display'))
+ @include ('shop::products.buy-now')
+ @endif
+
+
+{!! view_render_event('bagisto.shop.products.view.product-add.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/related-products.blade.php b/resources/themes/shop/views/products/view/related-products.blade.php
new file mode 100644
index 000000000..722b4bf05
--- /dev/null
+++ b/resources/themes/shop/views/products/view/related-products.blade.php
@@ -0,0 +1,24 @@
+related_products()->get();
+?>
+
+@if ($relatedProducts->count())
+
+
+
+ {{ __('shop::app.products.related-product-title') }}
+
+
+
+
+
+ @foreach ($relatedProducts as $related_product)
+
+ @include ('shop::products.list.card', ['product' => $related_product])
+
+ @endforeach
+
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/reviews.blade.php b/resources/themes/shop/views/products/view/reviews.blade.php
new file mode 100644
index 000000000..fbd627628
--- /dev/null
+++ b/resources/themes/shop/views/products/view/reviews.blade.php
@@ -0,0 +1,98 @@
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+
+{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!}
+
+@if ($total = $reviewHelper->getTotalReviews($product))
+
+
+
+
+
+
+
+ {{ $reviewHelper->getAverageRating($product) }}
+
+
+
+ @for ($i = 1; $i <= 5; $i++)
+
+ @if($i <= round($reviewHelper->getAverageRating($product)))
+
+ @else
+
+ @endif
+
+ @endfor
+
+
+
+ {{ __('shop::app.products.total-reviews', ['total' => $total]) }}
+
+
+
+
+ @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
+
+ {{ __('shop::app.products.write-review-btn') }}
+
+ @endif
+
+
+
+
+
+ @foreach ($reviewHelper->getReviews($product)->paginate(10) as $review)
+
+
+ {{ $review->title }}
+
+
+
+ @for ($i = 1; $i <= 5; $i++)
+
+ @if($i <= $review->rating)
+
+ @else
+
+ @endif
+
+ @endfor
+
+
+
+ {{ $review->comment }}
+
+
+
+
+ {{ __('shop::app.products.by', ['name' => $review->name]) }},
+
+
+
+ {{ core()->formatDate($review->created_at, 'F d, Y') }}
+
+
+
+ @endforeach
+
+
+ {{ __('shop::app.products.view-all') }}
+
+
+
+
+@else
+ @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
+
+
+
+ @endif
+@endif
+
+{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!}
diff --git a/resources/themes/shop/views/products/view/stock.blade.php b/resources/themes/shop/views/products/view/stock.blade.php
new file mode 100644
index 000000000..391462011
--- /dev/null
+++ b/resources/themes/shop/views/products/view/stock.blade.php
@@ -0,0 +1,13 @@
+{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!}
+
+
+ @if ( $product->haveSufficientQuantity(1) === true )
+ {{ __('shop::app.products.in-stock') }}
+ @elseif ( $product->haveSufficientQuantity(1) > 0 )
+ {{ __('shop::app.products.available-for-order') }}
+ @else
+ {{ __('shop::app.products.out-of-stock') }}
+ @endif
+
+
+{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/view/up-sells.blade.php b/resources/themes/shop/views/products/view/up-sells.blade.php
new file mode 100644
index 000000000..0f85e80e2
--- /dev/null
+++ b/resources/themes/shop/views/products/view/up-sells.blade.php
@@ -0,0 +1,28 @@
+{!! view_render_event('bagisto.shop.products.view.up-sells.after', ['product' => $product]) !!}
+
+up_sells()->get();
+?>
+
+@if ($productUpSells->count())
+
+
+
+ {{ __('shop::app.products.up-sell-title') }}
+
+
+
+
+
+ @foreach ($productUpSells as $up_sell_product)
+
+ @include ('shop::products.list.card', ['product' => $up_sell_product])
+
+ @endforeach
+
+
+
+
+@endif
+
+{!! view_render_event('bagisto.shop.products.view.up-sells.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/shop/views/products/wishlist.blade.php b/resources/themes/shop/views/products/wishlist.blade.php
new file mode 100644
index 000000000..a91b33d2c
--- /dev/null
+++ b/resources/themes/shop/views/products/wishlist.blade.php
@@ -0,0 +1,21 @@
+@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist')
+
+@auth('customer')
+ {!! view_render_event('bagisto.shop.products.wishlist.before') !!}
+
+ getWishlistProduct($product))
+ class="add-to-wishlist already"
+ title="{{ __('shop::app.customer.account.wishlist.remove-wishlist-text') }}"
+ @else
+ class="add-to-wishlist"
+ title="{{ __('shop::app.customer.account.wishlist.add-wishlist-text') }}"
+ @endif
+ id="wishlist-changer"
+ style="margin-right: 15px;"
+ href="{{ route('customer.wishlist.add', $product->product_id) }}">
+
+
+
+ {!! view_render_event('bagisto.shop.products.wishlist.after') !!}
+@endauth
diff --git a/resources/themes/shop/views/search/search.blade.php b/resources/themes/shop/views/search/search.blade.php
new file mode 100644
index 000000000..1f6543788
--- /dev/null
+++ b/resources/themes/shop/views/search/search.blade.php
@@ -0,0 +1,87 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.search.page-title') }}
+@endsection
+
+@section('content-wrapper')
+ @if (request('image-search'))
+
+ @endif
+
+ @if (! $results)
+ {{ __('shop::app.search.no-results') }}
+ @endif
+
+ @if ($results)
+
+ @if ($results->isEmpty())
+
+
{{ __('shop::app.products.whoops') }}
+ {{ __('shop::app.search.no-results') }}
+
+ @else
+
+
+ {{ $results->total() }}
+
+ {{ ($results->total() == 1) ? __('shop::app.search.found-result') : __('shop::app.search.found-results') }}
+
+
+
+
+ @foreach ($results as $productFlat)
+
+ @include('shop::products.list.card', ['product' => $productFlat->product])
+
+ @endforeach
+
+
+ @include('ui::datagrid.pagination')
+ @endif
+
+ @endif
+@endsection
+
+@push('scripts')
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/UI/header.blade.php b/resources/themes/velocity/views/UI/header.blade.php
new file mode 100644
index 000000000..86dede849
--- /dev/null
+++ b/resources/themes/velocity/views/UI/header.blade.php
@@ -0,0 +1,575 @@
+@push('scripts')
+
+@endpush
+
+@php
+ $cart = cart()->getCart();
+
+ $cartItemsCount = trans('shop::app.minicart.zero');
+
+ if ($cart) {
+ $cartItemsCount = $cart->items->count();
+ }
+@endphp
+
+@push('scripts')
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/UI/particals.blade.php b/resources/themes/velocity/views/UI/particals.blade.php
new file mode 100644
index 000000000..ba03388ed
--- /dev/null
+++ b/resources/themes/velocity/views/UI/particals.blade.php
@@ -0,0 +1,475 @@
+@push('scripts')
+
+
+
+
+
+@endpush
+
+@include('velocity::UI.header')
+
+@push('scripts')
+
+
+
+
+
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/cart/coupon.blade.php b/resources/themes/velocity/views/checkout/cart/coupon.blade.php
new file mode 100644
index 000000000..6d4ad411d
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/cart/coupon.blade.php
@@ -0,0 +1,117 @@
+@if ($cart)
+
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/cart/index.blade.php b/resources/themes/velocity/views/checkout/cart/index.blade.php
new file mode 100644
index 000000000..f8ed0ca57
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/cart/index.blade.php
@@ -0,0 +1,311 @@
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.cart.title') }}
+@stop
+
+@section('content-wrapper')
+
+@endsection
+
+@push('css')
+
+@endpush
+
+@push('scripts')
+ @include('shop::checkout.cart.coupon')
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php b/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php
new file mode 100644
index 000000000..df0db3e4b
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/onepage.blade.php b/resources/themes/velocity/views/checkout/onepage.blade.php
new file mode 100644
index 000000000..0e2f0e847
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage.blade.php
@@ -0,0 +1,762 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.onepage.title') }}
+@stop
+
+@section('content-wrapper')
+
+@endsection
+
+@push('scripts')
+ @include('shop::checkout.cart.coupon')
+
+
+
+
+
+@endpush
diff --git a/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php
new file mode 100644
index 000000000..89c9a00aa
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php
@@ -0,0 +1,24 @@
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php
new file mode 100644
index 000000000..5d1790cda
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php
@@ -0,0 +1,243 @@
+
+
+
+
+
+ @if ($cart->haveStockableItems())
+
+
+
+ @endif
+
diff --git a/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php
new file mode 100644
index 000000000..92732accc
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php
@@ -0,0 +1,541 @@
+@php
+ $isCustomer = auth()->guard('customer')->check();
+@endphp
+
+ @if (isset($shipping) && $shipping)
+
+
+ {{ __('shop::app.checkout.onepage.first-name') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[first_name]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.last-name') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[last_name]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.email') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[email]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.address1') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[address1][]') }}
+
+
+
+ @if (
+ core()->getConfigData('customer.settings.address.street_lines')
+ && core()->getConfigData('customer.settings.address.street_lines') > 1
+ )
+ @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++)
+
+
+
+ @endfor
+ @endif
+
+
+
+ {{ __('shop::app.checkout.onepage.city') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[city]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.country') }}
+
+
+
+
+
+
+
+ @{{ country.name }}
+
+
+
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[country]') }}
+
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.state') }}
+
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.select-state') }}
+
+
+ @{{ state.default_name }}
+
+
+
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[state]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.postcode') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[postcode]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.phone') }}
+
+
+
+
+
+ @{{ errors.first('address-form.shipping[phone]') }}
+
+
+
+ @auth('customer')
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.save_as_address') }}
+
+
+
+ @endauth
+
+ @elseif (isset($billing) && $billing)
+
+
+ {{ __('shop::app.checkout.onepage.company-name') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[company_name]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.first-name') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[first_name]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.last-name') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[last_name]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.email') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[email]') }}
+
+
+
+ {{-- for customer login checkout --}}
+ @if (! $isCustomer)
+ @include('shop::checkout.onepage.customer-checkout')
+ @endif
+
+
+
+ {{ __('shop::app.checkout.onepage.address1') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[address1][]') }}
+
+
+
+ @if (
+ core()->getConfigData('customer.settings.address.street_lines')
+ && core()->getConfigData('customer.settings.address.street_lines') > 1
+ )
+ @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++)
+
+
+
+ @endfor
+ @endif
+
+
+
+ {{ __('shop::app.checkout.onepage.city') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[city]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.country') }}
+
+
+
+
+
+
+
+ @{{ country.name }}
+
+
+
+
+
+
+
+
+ @{{ errors.first('address-form.billing[country]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.state') }}
+
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.select-state') }}
+
+
+ @{{ state.default_name }}
+
+
+
+
+
+
+
+ @{{ errors.first('address-form.billing[state]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.postcode') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[postcode]') }}
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.phone') }}
+
+
+
+
+
+ @{{ errors.first('address-form.billing[phone]') }}
+
+
+
+ @if ($cart->haveStockableItems())
+
+
+ validateForm('address-form'), 0)" />
+
+
+ {{ __('shop::app.checkout.onepage.use_for_shipping') }}
+
+
+
+ @endif
+
+ @auth('customer')
+
+
+
+
+
+ {{ __('shop::app.checkout.onepage.save_as_address') }}
+
+
+
+ @endauth
+ @endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/onepage/payment.blade.php b/resources/themes/velocity/views/checkout/onepage/payment.blade.php
new file mode 100644
index 000000000..be0f4af35
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/payment.blade.php
@@ -0,0 +1,67 @@
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/onepage/review.blade.php b/resources/themes/velocity/views/checkout/onepage/review.blade.php
new file mode 100644
index 000000000..c4a089206
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/review.blade.php
@@ -0,0 +1,176 @@
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/onepage/shipping.blade.php b/resources/themes/velocity/views/checkout/onepage/shipping.blade.php
new file mode 100644
index 000000000..044e8bd91
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/onepage/shipping.blade.php
@@ -0,0 +1,60 @@
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/checkout/success.blade.php b/resources/themes/velocity/views/checkout/success.blade.php
new file mode 100644
index 000000000..d67def693
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/success.blade.php
@@ -0,0 +1,32 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.checkout.success.title') }}
+@stop
+
+@section('content-wrapper')
+
+
+
{{ __('shop::app.checkout.success.thanks') }}
+
+
+ {{ __('shop::app.checkout.success.order-id-info', ['order_id' => $order->increment_id]) }}
+
+
+
+ {{ __('shop::app.checkout.success.info') }}
+
+
+ {{ view_render_event('bagisto.shop.checkout.continue-shopping.before', ['order' => $order]) }}
+
+
+
+ {{ view_render_event('bagisto.shop.checkout.continue-shopping.after', ['order' => $order]) }}
+
+
+
+@endsection
diff --git a/resources/themes/velocity/views/checkout/total/summary.blade.php b/resources/themes/velocity/views/checkout/total/summary.blade.php
new file mode 100644
index 000000000..5153fbbe2
--- /dev/null
+++ b/resources/themes/velocity/views/checkout/total/summary.blade.php
@@ -0,0 +1,60 @@
+
+
{{ __('velocity::app.checkout.cart.cart-summary') }}
+
+
+ {{ __('velocity::app.checkout.sub-total') }}
+ {{ core()->currency($cart->base_sub_total) }}
+
+
+ @if ($cart->selected_shipping_rate)
+
+ {{ __('shop::app.checkout.total.delivery-charges') }}
+ {{ core()->currency($cart->selected_shipping_rate->base_price) }}
+
+ @endif
+
+ @if ($cart->base_tax_total)
+ @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($cart, true) as $taxRate => $baseTaxAmount )
+
+ {{ __('shop::app.checkout.total.tax') }} {{ $taxRate }} %
+ {{ core()->currency($baseTaxAmount) }}
+
+ @endforeach
+ @endif
+
+ @if (
+ $cart->base_discount_amount
+ && $cart->base_discount_amount > 0
+ )
+
+
+ {{ __('shop::app.checkout.total.disc-amount') }}
+
+ -{{ core()->currency($cart->base_discount_amount) }}
+
+
+ @endif
+
+
+ {{ __('shop::app.checkout.total.grand-total') }}
+
+ {{ core()->currency($cart->base_grand_total) }}
+
+
+
+
+ @php
+ $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0;
+ @endphp
+
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/cms/page.blade.php b/resources/themes/velocity/views/cms/page.blade.php
new file mode 100644
index 000000000..088b3a453
--- /dev/null
+++ b/resources/themes/velocity/views/cms/page.blade.php
@@ -0,0 +1,25 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ $page->page_title }}
+@endsection
+
+@section('head')
+ @isset($page->meta_title)
+
+ @endisset
+
+ @isset($page->meta_description)
+
+ @endisset
+
+ @isset($page->meta_keywords)
+
+ @endisset
+@endsection
+
+@section('content-wrapper')
+
+ {!! DbView::make($page)->field('html_content')->render() !!}
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/address/country-state.blade.php b/resources/themes/velocity/views/customers/account/address/country-state.blade.php
new file mode 100644
index 000000000..6776aa123
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/address/country-state.blade.php
@@ -0,0 +1,98 @@
+
+
+@push('scripts')
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/address/create.blade.php b/resources/themes/velocity/views/customers/account/address/create.blade.php
new file mode 100644
index 000000000..f4843b1e4
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/address/create.blade.php
@@ -0,0 +1,114 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.create.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
{{ __('shop::app.customer.account.address.create.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.create.before') !!}
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.create.after') !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/address/edit.blade.php b/resources/themes/velocity/views/customers/account/address/edit.blade.php
new file mode 100644
index 000000000..e4c168e26
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/address/edit.blade.php
@@ -0,0 +1,114 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.edit.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
{{ __('shop::app.customer.account.address.edit.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.edit.before', ['address' => $address]) !!}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/address/index.blade.php b/resources/themes/velocity/views/customers/account/address/index.blade.php
new file mode 100644
index 000000000..243272120
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/address/index.blade.php
@@ -0,0 +1,99 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.address.index.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+ @if ($addresses->isEmpty())
+
+
+
+ {{ __('shop::app.customer.account.address.index.add') }}
+
+ @endif
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.list.before', ['addresses' => $addresses]) !!}
+
+
+ @if ($addresses->isEmpty())
+
{{ __('shop::app.customer.account.address.index.empty') }}
+ @else
+
+ @foreach ($addresses as $address)
+
+ @endforeach
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.address.list.after', ['addresses' => $addresses]) !!}
+@endsection
+
+@push('scripts')
+
+@endpush
+
+@if ($addresses->isEmpty())
+
+@endif
diff --git a/resources/themes/velocity/views/customers/account/compare/index.blade.php b/resources/themes/velocity/views/customers/account/compare/index.blade.php
new file mode 100644
index 000000000..8c669d10e
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/compare/index.blade.php
@@ -0,0 +1,19 @@
+@extends('shop::customers.account.index')
+
+@include('velocity::guest.compare.compare-products')
+
+@section('page_title')
+ {{ __('velocity::app.customer.compare.compare_similar_items') }}
+@endsection
+
+@push('css')
+
+@endpush
+
+@section('page-detail-wrapper')
+
+@endsection
diff --git a/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php b/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php
new file mode 100644
index 000000000..659886d1e
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php
@@ -0,0 +1,28 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.downloadable_products.title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
+ {{ __('shop::app.customer.account.downloadable_products.title') }}
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!}
+
+
+
+
+ {!! app('Webkul\Shop\DataGrids\DownloadableProductDataGrid')->render() !!}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/index.blade.php b/resources/themes/velocity/views/customers/account/index.blade.php
new file mode 100644
index 000000000..7e7f0cb69
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/index.blade.php
@@ -0,0 +1,46 @@
+@extends('shop::layouts.master')
+
+@section('content-wrapper')
+
+
+
+
+ @yield('page-detail-wrapper')
+
+
+@endsection
+
+@push('scripts')
+
+@endpush
diff --git a/resources/themes/velocity/views/customers/account/orders/index.blade.php b/resources/themes/velocity/views/customers/account/orders/index.blade.php
new file mode 100644
index 000000000..e283ab63b
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/orders/index.blade.php
@@ -0,0 +1,31 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.order.index.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.index.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.list.before') !!}
+
+
+
+
+ {!! app('Webkul\Shop\DataGrids\OrderDataGrid')->render() !!}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.list.after') !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/orders/view.blade.php b/resources/themes/velocity/views/customers/account/orders/view.blade.php
new file mode 100644
index 000000000..fd64e3675
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/orders/view.blade.php
@@ -0,0 +1,582 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }}
+@endsection
+
+@push('css')
+
+@endpush
+
+@section('page-detail-wrapper')
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.before', ['order' => $order]) !!}
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.placed-on') }}
+
+
+
+ {{ core()->formatDate($order->created_at, 'd M Y') }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.products-ordered') }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.item-status') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-percent') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+ @foreach ($order->items as $item)
+
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+
+ {{ $item->name }}
+
+ @if (isset($item->additional['attributes']))
+
+
+ @foreach ($item->additional['attributes'] as $attribute)
+ {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach
+
+
+ @endif
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.item-ordered', ['qty_ordered' => $item->qty_ordered]) }}
+
+
+
+ {{ $item->qty_invoiced ? __('shop::app.customer.account.order.view.item-invoice', ['qty_invoiced' => $item->qty_invoiced]) : '' }}
+
+
+
+ {{ $item->qty_shipped ? __('shop::app.customer.account.order.view.item-shipped', ['qty_shipped' => $item->qty_shipped]) : '' }}
+
+
+
+ {{ $item->qty_refunded ? __('shop::app.customer.account.order.view.item-refunded', ['qty_refunded' => $item->qty_refunded]) : '' }}
+
+
+
+ {{ $item->qty_canceled ? __('shop::app.customer.account.order.view.item-canceled', ['qty_canceled' => $item->qty_canceled]) : '' }}
+
+
+
+
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+
+
+
+ {{ number_format($item->tax_percent, 2) }}%
+
+
+
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->total + $item->tax_amount - $item->discount_amount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+
+ {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
+
+
+ @if ($order->haveStockableItems())
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+
+ {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($order->base_discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ @if ($order->coupon_code)
+ ({{ $order->coupon_code }})
+ @endif
+ -
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+
+ {{ core()->formatPrice($order->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+
+ {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-paid') }}
+ -
+
+ {{ core()->formatPrice($order->grand_total_invoiced, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-refunded') }}
+ -
+
+ {{ core()->formatPrice($order->grand_total_refunded, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.total-due') }}
+ -
+
+
+ @if($order->status !== 'canceled')
+ {{ core()->formatPrice($order->total_due, $order->order_currency_code) }}
+ @else
+ {{ core()->formatPrice(0.00, $order->order_currency_code) }}
+ @endif
+
+
+
+
+
+
+
+
+ @if ($order->invoices->count())
+
+
+ @foreach ($order->invoices as $invoice)
+
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($invoice->items as $item)
+
+
+ {{ $item->getTypeInstance()->getOrderedItem($item)->sku }}
+
+
+
+ {{ $item->name }}
+
+
+
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+
+
+
+ {{ $item->qty }}
+
+
+
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+
+ {{ core()->formatPrice($invoice->sub_total, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+
+ {{ core()->formatPrice($invoice->shipping_amount, $order->order_currency_code) }}
+
+
+ @if ($order->base_discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ -
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+
+ {{ core()->formatPrice($invoice->tax_amount, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+
+ {{ core()->formatPrice($invoice->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+ @if ($order->shipments->count())
+
+
+ @foreach ($order->shipments as $shipment)
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.tracking-number') }}
+
+
+
+ {{ $shipment->track_number }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.individual-shipment', ['shipment_id' => $shipment->id]) }}
+
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+
+
+
+
+
+ @foreach ($shipment->items as $item)
+
+
+ {{ $item->sku }}
+ {{ $item->name }}
+ {{ $item->qty }}
+
+
+ @endforeach
+
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+ @if ($order->refunds->count())
+
+
+ @foreach ($order->refunds as $refund)
+
+
+
+ {{ __('shop::app.customer.account.order.view.individual-refund', ['refund_id' => $refund->id]) }}
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.SKU') }}
+ {{ __('shop::app.customer.account.order.view.product-name') }}
+ {{ __('shop::app.customer.account.order.view.price') }}
+ {{ __('shop::app.customer.account.order.view.qty') }}
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ {{ __('shop::app.customer.account.order.view.tax-amount') }}
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+
+
+
+
+
+ @foreach ($refund->items as $item)
+
+ {{ $item->child ? $item->child->sku : $item->sku }}
+ {{ $item->name }}
+ {{ core()->formatPrice($item->price, $order->order_currency_code) }}
+ {{ $item->qty }}
+ {{ core()->formatPrice($item->total, $order->order_currency_code) }}
+ {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }}
+ {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}
+
+ @endforeach
+
+ @if (! $refund->items->count())
+
+ {{ __('shop::app.common.no-result-found') }}
+
+ @endif
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.subtotal') }}
+ -
+
+ {{ core()->formatPrice($refund->sub_total, $order->order_currency_code) }}
+
+
+ @if ($refund->shipping_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.shipping-handling') }}
+ -
+
+ {{ core()->formatPrice($refund->shipping_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($refund->discount_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.discount') }}
+ -
+
+ {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
+
+ @endif
+
+ @if ($refund->tax_amount > 0)
+
+ {{ __('shop::app.customer.account.order.view.tax') }}
+ -
+
+ {{ core()->formatPrice($refund->tax_amount, $order->order_currency_code) }}
+
+ @endif
+
+
+ {{ __('shop::app.customer.account.order.view.adjustment-refund') }}
+ -
+
+ {{ core()->formatPrice($refund->adjustment_refund, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.adjustment-fee') }}
+ -
+
+ {{ core()->formatPrice($refund->adjustment_fee, $order->order_currency_code) }}
+
+
+
+ {{ __('shop::app.customer.account.order.view.grand-total') }}
+ -
+
+ {{ core()->formatPrice($refund->grand_total, $order->order_currency_code) }}
+
+
+
+
+
+
+ @endforeach
+
+
+ @endif
+
+
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.billing-address') }}
+
+
+
+ @include ('admin::sales.address', ['address' => $order->billing_address])
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.billing-address.after', ['order' => $order]) !!}
+
+
+
+ @if ($order->shipping_address)
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-address') }}
+
+
+
+ @include ('admin::sales.address', ['address' => $order->shipping_address])
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.shipping-address.after', ['order' => $order]) !!}
+
+
+
+
+
+ {{ __('shop::app.customer.account.order.view.shipping-method') }}
+
+
+
+ {{ $order->shipping_title }}
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.shipping-method.after', ['order' => $order]) !!}
+
+
+ @endif
+
+
+
+ {{ __('shop::app.customer.account.order.view.payment-method') }}
+
+
+
+ {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
+
+ @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp
+
+ @if (! empty($additionalDetails))
+
+
{{ $additionalDetails['title'] }}
+
{{ $additionalDetails['value'] }}
+
+ @endif
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.payment-method.after', ['order' => $order]) !!}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.orders.view.after', ['order' => $order]) !!}
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php b/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php
new file mode 100644
index 000000000..d0bab2b38
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php
@@ -0,0 +1,74 @@
+
+
+@push('css')
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/profile/edit.blade.php b/resources/themes/velocity/views/customers/account/profile/edit.blade.php
new file mode 100644
index 000000000..14c70dd45
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/profile/edit.blade.php
@@ -0,0 +1,212 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.profile.index.title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
{{ __('shop::app.customer.account.profile.index.title') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!}
+
+
+
+
+ @csrf
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.before', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.fname') }}
+
+
+
+
+ @{{ errors.first('first_name') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.first_name.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.lname') }}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.last_name.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.gender') }}
+
+
+
+
+
+ gender == "") selected @endif>
+ gender == "Other")
+ selected="selected"
+ @endif>
+ {{ __('velocity::app.shop.gender.other') }}
+
+
+ gender == "Male")
+ selected="selected"
+ @endif>
+ {{ __('velocity::app.shop.gender.male') }}
+
+
+ gender == "Female")
+ selected="selected"
+ @endif>
+ {{ __('velocity::app.shop.gender.female') }}
+
+
+
+
+
+
+
+
@{{ errors.first('gender') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.gender.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.dob') }}
+
+
+
+
+
+
+ @{{ errors.first('date_of_birth') }}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.date_of_birth.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.email') }}
+
+
+
+
+ @{{ errors.first('email') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.email.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('shop::app.customer.account.profile.phone') }}
+
+
+
+
+ @{{ errors.first('phone') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.phone.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('velocity::app.shop.general.enter-current-password') }}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.oldpassword.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('velocity::app.shop.general.new-password') }}
+
+
+
+
+
+
+ @{{ errors.first('password') }}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.password.after', ['customer' => $customer]) !!}
+
+
+
+ {{ __('velocity::app.shop.general.confirm-new-password') }}
+
+
+
+
+
+
+ @{{ errors.first('password_confirmation') }}
+
+
+
+
+ @if (core()->getConfigData('customer.settings.newsletter.subscription'))
+
+ subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif style="width: auto;">
+ {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}
+
+ @endif
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['customer' => $customer]) !!}
+
+
+ {{ __('velocity::app.shop.general.update') }}
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/profile/index.blade.php b/resources/themes/velocity/views/customers/account/profile/index.blade.php
new file mode 100644
index 000000000..10d9a2c1b
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/profile/index.blade.php
@@ -0,0 +1,116 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.profile.index.title') }}
+@endsection
+
+@push('css')
+
+@endpush
+
+
+@section('page-detail-wrapper')
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.before', ['customer' => $customer]) !!}
+
+
+
+
+
+ {!! view_render_event(
+ 'bagisto.shop.customers.account.profile.view.table.before', ['customer' => $customer])
+ !!}
+
+
+ {{ __('shop::app.customer.account.profile.fname') }}
+ {{ $customer->first_name }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.first_name.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.lname') }}
+ {{ $customer->last_name }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.last_name.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.gender') }}
+ {{ $customer->gender ?? '-' }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.gender.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.dob') }}
+ {{ $customer->date_of_birth ?? '-' }}
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.table.date_of_birth.after', ['customer' => $customer]) !!}
+
+
+ {{ __('shop::app.customer.account.profile.email') }}
+ {{ $customer->email }}
+
+
+ {!! view_render_event(
+ 'bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer])
+ !!}
+
+
+
+
+
+ {{ __('shop::app.customer.account.address.index.delete') }}
+
+
+
+ @csrf
+
+
+ {{ __('shop::app.customer.account.address.index.enter-password') }}
+
+
+
+
+
+ {{ __('admin::app.users.users.password') }}
+
+ @{{ errors.first('password') }}
+
+
+
+
+ {{ __('shop::app.customer.account.address.index.delete') }}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!}
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/reviews/index.blade.php b/resources/themes/velocity/views/customers/account/reviews/index.blade.php
new file mode 100644
index 000000000..9affd9951
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/reviews/index.blade.php
@@ -0,0 +1,118 @@
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.review.index.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
+
+
+
+
+
+
{{ __('shop::app.customer.account.review.index.title') }}
+
+ @if (count($reviews) > 1)
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!}
+
+
+ @if (! $reviews->isEmpty())
+ @foreach ($reviews as $review)
+
+
+ @php
+ $image = productimage()->getProductBaseImage($review->product);
+ @endphp
+
+
+
+
+
+
+
+
+
+
+
{{ $review->title }}
+
+
{{ $review->comment }}
+
+
+
+
+
+ @endforeach
+
+
+ {{ $reviews->links() }}
+
+ {{--
--}}
+ @else
+
+ {{ __('customer::app.reviews.empty') }}
+
+ @endif
+
+
+
+ {!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!}
+@endsection
+
+@push('scripts')
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php
new file mode 100644
index 000000000..aa8bf2f6c
--- /dev/null
+++ b/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php
@@ -0,0 +1,63 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+@extends('shop::customers.account.index')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.wishlist.page-title') }}
+@endsection
+
+@section('page-detail-wrapper')
+
+
{{ __('shop::app.customer.account.wishlist.title') }}
+
+ @if (count($items))
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!}
+
+
+
+ @if ($items->count())
+ @foreach ($items as $item)
+ @php
+ $currentMode = $toolbarHelper->getCurrentMode();
+ $moveToCartText = __('shop::app.customer.account.wishlist.move-to-cart');
+ @endphp
+
+ @include ('shop::products.list.card', [
+ 'list' => true,
+ 'checkmode' => true,
+ 'moveToCart' => true,
+ 'wishlistMoveRoute' => route('customer.wishlist.move', $item->id),
+ 'addToCartForm' => true,
+ 'removeWishlist' => true,
+ 'reloadPage' => true,
+ 'itemId' => $item->id,
+ 'item' => $item,
+ 'product' => $item->product,
+ 'additionalAttributes' => true,
+ 'btnText' => $moveToCartText,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+ @endforeach
+
+
+ {{ $items->links() }}
+
+ @else
+
+ {{ __('customer::app.wishlist.empty') }}
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.customers.account.wishlist.list.after', ['wishlist' => $items]) !!}
+@endsection
diff --git a/resources/themes/velocity/views/customers/session/index.blade.php b/resources/themes/velocity/views/customers/session/index.blade.php
new file mode 100644
index 000000000..9242d3077
--- /dev/null
+++ b/resources/themes/velocity/views/customers/session/index.blade.php
@@ -0,0 +1,105 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.login-form.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ {!! view_render_event('bagisto.shop.customers.login.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.login.after') !!}
+
+@endsection
diff --git a/resources/themes/velocity/views/customers/signup/forgot-password.blade.php b/resources/themes/velocity/views/customers/signup/forgot-password.blade.php
new file mode 100644
index 000000000..bf4e8c14e
--- /dev/null
+++ b/resources/themes/velocity/views/customers/signup/forgot-password.blade.php
@@ -0,0 +1,71 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.forgot-password.page_title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+
+
+
+
+ {{ __('velocity::app.customer.forget-password.recover-password')}}
+
+
+
+ {{ __('velocity::app.customer.forget-password.recover-password-text')}}
+
+
+ {!! view_render_event('bagisto.shop.customers.forget_password.before') !!}
+
+
+
+ {{ csrf_field() }}
+
+ {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.before') !!}
+
+
+
+ {{ __('shop::app.customer.forgot-password.email') }}
+
+
+
+
+
+ @{{ errors.first('email') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!}
+
+
+ {{ __('shop::app.customer.forgot-password.submit') }}
+
+
+
+ {!! view_render_event('bagisto.shop.customers.forget_password.after') !!}
+
+
+
+
+@endsection
diff --git a/resources/themes/velocity/views/customers/signup/index.blade.php b/resources/themes/velocity/views/customers/signup/index.blade.php
new file mode 100644
index 000000000..bc5dfbd1b
--- /dev/null
+++ b/resources/themes/velocity/views/customers/signup/index.blade.php
@@ -0,0 +1,160 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.signup-form.page-title') }}
+@endsection
+
+@section('content-wrapper')
+
+@endsection
diff --git a/resources/themes/velocity/views/customers/signup/reset-password.blade.php b/resources/themes/velocity/views/customers/signup/reset-password.blade.php
new file mode 100644
index 000000000..db4a7b74d
--- /dev/null
+++ b/resources/themes/velocity/views/customers/signup/reset-password.blade.php
@@ -0,0 +1,101 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.reset-password.title') }}
+@endsection
+
+@section('content-wrapper')
+
+
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!}
+
+
+
+
+
+ {{ __('shop::app.customer.reset-password.title')}}
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!}
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/errors/404.blade.php b/resources/themes/velocity/views/errors/404.blade.php
new file mode 100644
index 000000000..456cb893d
--- /dev/null
+++ b/resources/themes/velocity/views/errors/404.blade.php
@@ -0,0 +1,54 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('admin::app.error.404.page-title') }}
+@stop
+
+@section('body-header')
+@endsection
+
+@section('full-content-wrapper')
+
+
+
+
+
+ {{ __('velocity::app.error.page-lost-short') }}
+
+
+
+ {{ __('velocity::app.error.page-lost-description') }}
+
+
+
+
+
+
+@endsection
+
+@section('footer')
+@show
diff --git a/resources/themes/velocity/views/guest/compare/compare-products.blade.php b/resources/themes/velocity/views/guest/compare/compare-products.blade.php
new file mode 100644
index 000000000..296dae42f
--- /dev/null
+++ b/resources/themes/velocity/views/guest/compare/compare-products.blade.php
@@ -0,0 +1,332 @@
+@php
+ $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository');
+ $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily();
+
+ $locale = request()->get('locale') ?: app()->getLocale();
+
+ $attributeOptionTranslations = app('\Webkul\Attribute\Repositories\AttributeOptionTranslationRepository')->where('locale', $locale)->get()->toJson();
+@endphp
+
+@push('scripts')
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/guest/compare/index.blade.php b/resources/themes/velocity/views/guest/compare/index.blade.php
new file mode 100644
index 000000000..78b233fee
--- /dev/null
+++ b/resources/themes/velocity/views/guest/compare/index.blade.php
@@ -0,0 +1,11 @@
+@extends('shop::layouts.master')
+
+@include('shop::guest.compare.compare-products')
+
+@section('page_title')
+ {{ __('velocity::app.customer.compare.compare_similar_items') }}
+@endsection
+
+@section('content-wrapper')
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/guest/wishlist/index.blade.php b/resources/themes/velocity/views/guest/wishlist/index.blade.php
new file mode 100644
index 000000000..4ca8b61e4
--- /dev/null
+++ b/resources/themes/velocity/views/guest/wishlist/index.blade.php
@@ -0,0 +1,13 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.customer.account.wishlist.page-title') }}
+@endsection
+
+@section('content-wrapper')
+ @push('scripts')
+
+ @endpush
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php
new file mode 100644
index 000000000..690b19f69
--- /dev/null
+++ b/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php
@@ -0,0 +1,73 @@
+@php
+ $isRendered = false;
+ $advertisementFour = null;
+@endphp
+
+@if ($velocityMetaData && $velocityMetaData->advertisement)
+ @php
+ $advertisement = json_decode($velocityMetaData->advertisement, true);
+
+ if (isset($advertisement[4]) && is_array($advertisement[4])) {
+ $advertisementFour = array_values(array_filter($advertisement[4]));
+ }
+ @endphp
+
+ @if ($advertisementFour)
+ @php
+ $isRendered = true;
+ @endphp
+
+
+
+ @if ( isset($advertisementFour[0]))
+
+
+
+ @endif
+
+
+ @if ( isset($advertisementFour[1]))
+
+
+
+ @endif
+
+ @if ( isset($advertisementFour[2]))
+
+
+
+ @endif
+
+
+ @if ( isset($advertisementFour[3]))
+
+
+
+ @endif
+
+
+ @endif
+@endif
+
+@if (! $isRendered)
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php
new file mode 100644
index 000000000..ee81fb7ab
--- /dev/null
+++ b/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php
@@ -0,0 +1,73 @@
+@php
+ $isRendered = false;
+ $advertisementOne = null;
+@endphp
+
+@if ($velocityMetaData && $velocityMetaData->advertisement)
+ @php
+ $advertisement = json_decode($velocityMetaData->advertisement, true);
+ if (isset($advertisement[1])) {
+ $advertisementOne = $advertisement[1];
+ }
+ @endphp
+
+ @if ($advertisementOne)
+ @php
+ $isRendered = true;
+ @endphp
+
+
+ @endif
+@endif
+
+@if (! $isRendered)
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php
new file mode 100644
index 000000000..964ad2989
--- /dev/null
+++ b/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php
@@ -0,0 +1,62 @@
+@php
+ $isRendered = false;
+ $advertisementThree = null;
+@endphp
+
+@if ($velocityMetaData && $velocityMetaData->advertisement)
+ @php
+ $advertisement = json_decode($velocityMetaData->advertisement, true);
+
+ if (isset($advertisement[3]) && is_array($advertisement[3])) {
+ $advertisementThree = array_values(array_filter($advertisement[3]));
+ }
+ @endphp
+
+ @if ($advertisementThree)
+ @php
+ $isRendered = true;
+ @endphp
+
+
+
+ @if ( isset($advertisementThree[0]))
+
+
+
+ @endif
+
+
+ @if ( isset($advertisementThree[1]))
+
+
+
+ @endif
+ @if ( isset($advertisementThree[2]))
+
+
+
+ @endif
+
+
+
+ @endif
+@endif
+
+@if (! $isRendered)
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php
new file mode 100644
index 000000000..fbb88d695
--- /dev/null
+++ b/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php
@@ -0,0 +1,50 @@
+@php
+ $isRendered = false;
+ $advertisementTwo = null;
+@endphp
+
+@if ($velocityMetaData && $velocityMetaData->advertisement)
+ @php
+ $advertisement = json_decode($velocityMetaData->advertisement, true);
+
+ if (isset($advertisement[2]) && is_array($advertisement[2])) {
+ $advertisementTwo = array_values(array_filter($advertisement[2]));
+ }
+ @endphp
+
+ @if ($advertisementTwo)
+ @php
+ $isRendered = true;
+ @endphp
+
+
+
+ @if ( isset($advertisementTwo[0]))
+
+
+
+ @endif
+
+ @if ( isset($advertisementTwo[1]))
+
+
+
+ @endif
+
+
+ @endif
+@endif
+
+@if (! $isRendered)
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/category-with-custom-option.blade.php b/resources/themes/velocity/views/home/category-with-custom-option.blade.php
new file mode 100644
index 000000000..71f8e7cb2
--- /dev/null
+++ b/resources/themes/velocity/views/home/category-with-custom-option.blade.php
@@ -0,0 +1,166 @@
+@php
+ $categoryRepository = app('Webkul\Category\Repositories\CategoryRepository');
+
+ $category[0] = $categoryRepository->findByPath($category[0]);
+ $category[1] = $categoryRepository->findByPath($category[1]);
+ $category[2] = $categoryRepository->findByPath($category[2]);
+ $category[3] = $categoryRepository->findByPath($category[3]);
+@endphp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @foreach ($category as $categoryItem)
+
+
+
+
+
+
+
+ @endforeach
+
+
diff --git a/resources/themes/velocity/views/home/category.blade.php b/resources/themes/velocity/views/home/category.blade.php
new file mode 100644
index 000000000..760a46bad
--- /dev/null
+++ b/resources/themes/velocity/views/home/category.blade.php
@@ -0,0 +1,5 @@
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/customer-reviews.blade.php b/resources/themes/velocity/views/home/customer-reviews.blade.php
new file mode 100644
index 000000000..954cb8d16
--- /dev/null
+++ b/resources/themes/velocity/views/home/customer-reviews.blade.php
@@ -0,0 +1,82 @@
+@php
+ $reviews = app('Webkul\Velocity\Helpers\Helper')->getShopRecentReviews(4);
+ $reviewCount = count($reviews);
+@endphp
+
+
+ @if ($reviewCount)
+
+
+
+ @foreach ($reviews as $key => $review)
+
+
+
+
+
+
+ {{ strtoupper(substr( $review['name'], 0, 1 )) }}
+
+
+
+
+
+ {{ $review['name'] }}
+
+
+
+
+
+
+
+
+
+
+
+
{{ $review['comment'] }}
+
+
+
+
+ @endforeach
+
+ @endif
+
+
+@push('scripts')
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/featured-products.blade.php b/resources/themes/velocity/views/home/featured-products.blade.php
new file mode 100644
index 000000000..d7a1cd137
--- /dev/null
+++ b/resources/themes/velocity/views/home/featured-products.blade.php
@@ -0,0 +1,13 @@
+@php
+ $count = core()->getConfigData('catalog.products.homepage.no_of_featured_product_homepage');
+ $count = $count ? $count : 10;
+ $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr';
+@endphp
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php
new file mode 100644
index 000000000..0da129418
--- /dev/null
+++ b/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php
@@ -0,0 +1,67 @@
+@foreach ($products as $product)
+
+
+
+ {{-- sale-button --}}
+ @if ($product['actual-price'] > $product['selling-price'])
+
Sale
+ @endif
+
+ {{-- product image --}}
+
+
+
+
+
+
{{ $product['productName'] }}
+
+
+
+ {{ $product['currency-icon'] }}{{ $product['selling-price'] }}
+
+
+ @if ($product['actual-price'] > $product['selling-price'])
+
+ {{ $product['currency-icon'] }}{{ $product['actual-price'] }}
+
+
+
+ {{ (($product['actual-price'] - $product['selling-price']) * 100) / $product['actual-price'] }}%
+
+ @endif
+
+
+
+ @if ($product['review-count'])
+
+
+
+
+
+
+ {{ $product['review-count'] }} reviews
+
+ @else
+
+ Be the first to write a review
+
+ @endif
+
+
+
+
+ ADD TO CART
+
+ {{-- --}}
+
+
+
+
+
+
+@endforeach
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php
new file mode 100644
index 000000000..6212c2895
--- /dev/null
+++ b/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php
@@ -0,0 +1,28 @@
+
+@foreach ($products as $product)
+
+
+
+
+
+
+
{{ $product['productName'] }}
+
+
+ {{ $product['currency-icon'] }}{{ $product['selling-price'] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+@endforeach
diff --git a/resources/themes/velocity/views/home/hot-categories.blade.php b/resources/themes/velocity/views/home/hot-categories.blade.php
new file mode 100644
index 000000000..79de54d30
--- /dev/null
+++ b/resources/themes/velocity/views/home/hot-categories.blade.php
@@ -0,0 +1,10 @@
+
+
+
+
+
+ @foreach ($category as $slug)
+
+ @endforeach
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/home/index.blade.php b/resources/themes/velocity/views/home/index.blade.php
new file mode 100644
index 000000000..fda9c1b70
--- /dev/null
+++ b/resources/themes/velocity/views/home/index.blade.php
@@ -0,0 +1,74 @@
+@extends('shop::layouts.master')
+
+@inject ('productRatingHelper', 'Webkul\Product\Helpers\Review')
+
+@php
+ $channel = core()->getCurrentChannel();
+
+ $homeSEO = $channel->home_seo;
+
+ if (isset($homeSEO)) {
+ $homeSEO = json_decode($channel->home_seo);
+
+ $metaTitle = $homeSEO->meta_title;
+
+ $metaDescription = $homeSEO->meta_description;
+
+ $metaKeywords = $homeSEO->meta_keywords;
+ }
+@endphp
+
+@section('page_title')
+ {{ isset($metaTitle) ? $metaTitle : "" }}
+@endsection
+
+@section('head')
+
+ @if (isset($homeSEO))
+ @isset($metaTitle)
+
+ @endisset
+
+ @isset($metaDescription)
+
+ @endisset
+
+ @isset($metaKeywords)
+
+ @endisset
+ @endif
+@endsection
+
+@push('css')
+
+@endpush
+
+@section('content-wrapper')
+ @include('shop::home.slider')
+@endsection
+
+@section('full-content-wrapper')
+
+
+ {!! view_render_event('bagisto.shop.home.content.before') !!}
+
+ @if ($velocityMetaData)
+ {!! DbView::make($velocityMetaData)->field('home_page_content')->render() !!}
+ @else
+ @include('shop::home.advertisements.advertisement-four')
+ @include('shop::home.featured-products')
+ @include('shop::home.advertisements.advertisement-three')
+ @include('shop::home.new-products')
+ @include('shop::home.advertisements.advertisement-two')
+ @endif
+
+ {{ view_render_event('bagisto.shop.home.content.after') }}
+
+
+@endsection
+
diff --git a/resources/themes/velocity/views/home/new-products.blade.php b/resources/themes/velocity/views/home/new-products.blade.php
new file mode 100644
index 000000000..c90525b94
--- /dev/null
+++ b/resources/themes/velocity/views/home/new-products.blade.php
@@ -0,0 +1,20 @@
+@php
+ $count = core()->getConfigData('catalog.products.homepage.no_of_new_product_homepage');
+ $count = $count ? $count : 10;
+ $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr';
+@endphp
+
+{!! view_render_event('bagisto.shop.new-products.before') !!}
+
+
+
+
+{!! view_render_event('bagisto.shop.new-products.after') !!}
diff --git a/resources/themes/velocity/views/home/popular-categories.blade.php b/resources/themes/velocity/views/home/popular-categories.blade.php
new file mode 100644
index 000000000..82b5feb91
--- /dev/null
+++ b/resources/themes/velocity/views/home/popular-categories.blade.php
@@ -0,0 +1,10 @@
+
+
+
+
+
+ @foreach ($category as $slug)
+
+ @endforeach
+
+
diff --git a/resources/themes/velocity/views/home/product-policy.blade.php b/resources/themes/velocity/views/home/product-policy.blade.php
new file mode 100644
index 000000000..d5bab81b0
--- /dev/null
+++ b/resources/themes/velocity/views/home/product-policy.blade.php
@@ -0,0 +1,5 @@
+
+
+ {!! $velocityMetaData->product_policy !!}
+
+
diff --git a/resources/themes/velocity/views/home/slider.blade.php b/resources/themes/velocity/views/home/slider.blade.php
new file mode 100644
index 000000000..bad23e2cd
--- /dev/null
+++ b/resources/themes/velocity/views/home/slider.blade.php
@@ -0,0 +1,69 @@
+@php
+ $direction = core()->getCurrentLocale()->direction;
+@endphp
+
+@if ($velocityMetaData && $velocityMetaData->slider)
+
+@endif
+
+@push('scripts')
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/footer/copy-right.blade.php b/resources/themes/velocity/views/layouts/footer/copy-right.blade.php
new file mode 100644
index 000000000..432017c80
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/copy-right.blade.php
@@ -0,0 +1,9 @@
+
diff --git a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php
new file mode 100644
index 000000000..0dcdd540d
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php
@@ -0,0 +1,6 @@
+
+
diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php
new file mode 100644
index 000000000..213b15a26
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php
@@ -0,0 +1,22 @@
+
+
+
+ @if ($velocityMetaData)
+ {!! $velocityMetaData->footer_left_content !!}
+ @else
+ {!! __('velocity::app.admin.meta-data.footer-left-raw-content') !!}
+ @endif
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php
new file mode 100644
index 000000000..1fa2db348
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php
@@ -0,0 +1,57 @@
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php
new file mode 100644
index 000000000..4c81267b6
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php
@@ -0,0 +1,29 @@
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php b/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php
new file mode 100644
index 000000000..dbac17c65
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/footer/index.blade.php b/resources/themes/velocity/views/layouts/footer/index.blade.php
new file mode 100644
index 000000000..71eebfb6e
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/index.blade.php
@@ -0,0 +1,17 @@
+
+
+
diff --git a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php
new file mode 100644
index 000000000..6658c3459
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php
@@ -0,0 +1,37 @@
+@if (
+ $velocityMetaData
+ && $velocityMetaData->subscription_bar_content
+ || core()->getConfigData('customer.settings.newsletter.subscription')
+)
+
+
+ @if ($velocityMetaData && $velocityMetaData->subscription_bar_content)
+ {!! $velocityMetaData->subscription_bar_content !!}
+ @endif
+
+ @if (core()->getConfigData('customer.settings.newsletter.subscription'))
+
+ @endif
+
+
+@endif
diff --git a/resources/themes/velocity/views/layouts/footer/top-brands.blade.php b/resources/themes/velocity/views/layouts/footer/top-brands.blade.php
new file mode 100644
index 000000000..650ed3cf0
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/footer/top-brands.blade.php
@@ -0,0 +1,33 @@
+@php
+ $brandname = app('Webkul\Velocity\Helpers\Helper');
+ $topBrandsCollection = $brandname->getBrandsWithCategories();
+@endphp
+
+@if (! empty($topBrandsCollection))
+
+
+ @if ($topBrandsCollection)
+
+
{{ __('velocity::app.shop.general.top-brands') }}
+
+
+
+ @foreach($topBrandsCollection as $categoryName => $brandsCollection)
+
+ {{ $categoryName }} :
+
+
+ @foreach ($brandsCollection as $brandIndex => $brand )
+ {{$brand}}
+ @if ($brandIndex + 1 !== sizeof($brandsCollection))
+ |
+ @endif
+ @endforeach
+
+
+ @endforeach
+
+ @endif
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/header/index.blade.php b/resources/themes/velocity/views/layouts/header/index.blade.php
new file mode 100644
index 000000000..fe58600d6
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/header/index.blade.php
@@ -0,0 +1,22 @@
+
+
+@push('scripts')
+
+@endpush
diff --git a/resources/themes/velocity/views/layouts/master.blade.php b/resources/themes/velocity/views/layouts/master.blade.php
new file mode 100644
index 000000000..1897dd941
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/master.blade.php
@@ -0,0 +1,128 @@
+
+
+
+
+ {{-- title --}}
+ @yield('page_title')
+
+ {{-- meta data --}}
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.layout.head') !!}
+
+ {{-- for extra head data --}}
+ @yield('head')
+
+ {{-- seo meta data --}}
+ @section('seo')
+
+ @show
+
+ {{-- fav icon --}}
+ @if ($favicon = core()->getCurrentChannel()->favicon_url)
+
+ @else
+
+ @endif
+
+ {{-- all styles --}}
+ @include('shop::layouts.styles')
+
+
+ getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif>
+ {!! view_render_event('bagisto.shop.layout.body.before') !!}
+
+ @include('shop::UI.particals')
+
+ {{-- main app --}}
+
+
+
+
+
+ @section('body-header')
+ @include('shop::layouts.top-nav.index')
+
+ {!! view_render_event('bagisto.shop.layout.header.before') !!}
+
+ @include('shop::layouts.header.index')
+
+ {!! view_render_event('bagisto.shop.layout.header.after') !!}
+
+
+ @php
+ $velocityContent = app('Webkul\Velocity\Repositories\ContentRepository')->getAllContents();
+ @endphp
+
+
+
+
+
+
+
+
+
+
+
+ {!! view_render_event('bagisto.shop.layout.content.before') !!}
+
+ @yield('content-wrapper')
+
+ {!! view_render_event('bagisto.shop.layout.content.after') !!}
+
+
+
+
+
+
+ @show
+
+
+
+ {!! view_render_event('bagisto.shop.layout.full-content.before') !!}
+
+ @yield('full-content-wrapper')
+
+ {!! view_render_event('bagisto.shop.layout.full-content.after') !!}
+
+
+
+
+
+
+
+
+
+ {{-- footer --}}
+ @section('footer')
+ {!! view_render_event('bagisto.shop.layout.footer.before') !!}
+
+ @include('shop::layouts.footer.index')
+
+ {!! view_render_event('bagisto.shop.layout.footer.after') !!}
+ @show
+
+ {!! view_render_event('bagisto.shop.layout.body.after') !!}
+
+
+
+ {{-- all scripts --}}
+ @include('shop::layouts.scripts')
+
+
diff --git a/resources/themes/velocity/views/layouts/scripts.blade.php b/resources/themes/velocity/views/layouts/scripts.blade.php
new file mode 100644
index 000000000..56d645a15
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/scripts.blade.php
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+@stack('scripts')
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/styles.blade.php b/resources/themes/velocity/views/layouts/styles.blade.php
new file mode 100644
index 000000000..e69b0004f
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/styles.blade.php
@@ -0,0 +1,13 @@
+
+
+@if (core()->getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl')
+
+@endif
+
+
+
+@stack('css')
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/top-nav/index.blade.php b/resources/themes/velocity/views/layouts/top-nav/index.blade.php
new file mode 100644
index 000000000..fcb3493a6
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/top-nav/index.blade.php
@@ -0,0 +1,9 @@
+
+
+ @include('velocity::layouts.top-nav.locale-currency')
+
+
+
+ @include('velocity::layouts.top-nav.login-section')
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php b/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php
new file mode 100644
index 000000000..fd7ebd6d7
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php
@@ -0,0 +1,104 @@
+@php
+ $searchQuery = request()->input();
+
+ if ($searchQuery && ! empty($searchQuery)) {
+ $searchQuery = implode('&', array_map(
+ function ($v, $k) {
+ if (is_array($v)) {
+ if (is_array($v)) {
+ $key = array_keys($v)[0];
+
+ return $k. "[$key]=" . implode('&' . $k . '[]=', $v);
+ } else {
+ return $k. '[]=' . implode('&' . $k . '[]=', $v);
+ }
+ } else {
+ return $k . '=' . $v;
+ }
+ },
+ $searchQuery,
+ array_keys($searchQuery)
+ ));
+ } else {
+ $searchQuery = false;
+ }
+@endphp
+
+{!! view_render_event('bagisto.shop.layout.header.locale.before') !!}
+
+
+ @php
+ $localeImage = null;
+ @endphp
+
+ @foreach (core()->getCurrentChannel()->locales as $locale)
+ @if ($locale->code == app()->getLocale())
+ @php
+ $localeImage = $locale->locale_image;
+ @endphp
+ @endif
+ @endforeach
+
+
+ @if ($localeImage)
+
+ @elseif (app()->getLocale() == 'en')
+
+ @endif
+
+
+
getCurrentChannel()->locales) == 1)
+ disabled="disabled"
+ @endif>
+
+ @foreach (core()->getCurrentChannel()->locales as $locale)
+ @if (isset($searchQuery) && $searchQuery)
+ code == app()->getLocale() ? 'selected' : '' }}>
+ {{ $locale->name }}
+
+ @else
+ code == app()->getLocale() ? 'selected' : '' }}>{{ $locale->name }}
+ @endif
+ @endforeach
+
+
+
+
+
+
+
+
+{!! view_render_event('bagisto.shop.layout.header.locale.after') !!}
+
+{!! view_render_event('bagisto.shop.layout.header.currency-item.before') !!}
+
+ @if (core()->getCurrentChannel()->currencies->count() > 1)
+
+
+
+ @foreach (core()->getCurrentChannel()->currencies as $currency)
+ @if (isset($searchQuery) && $searchQuery)
+ code == core()->getCurrentCurrencyCode() ? 'selected' : '' }}>{{ $currency->code }}
+ @else
+ code == core()->getCurrentCurrencyCode() ? 'selected' : '' }}>{{ $currency->code }}
+ @endif
+ @endforeach
+
+
+
+
+
+
+
+
+ @endif
+
+{!! view_render_event('bagisto.shop.layout.header.currency-item.after') !!}
diff --git a/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php b/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php
new file mode 100644
index 000000000..1ee8cde56
--- /dev/null
+++ b/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php
@@ -0,0 +1,134 @@
+{!! view_render_event('bagisto.shop.layout.header.account-item.before') !!}
+
+{!! view_render_event('bagisto.shop.layout.header.account-item.after') !!}
+
+@push('scripts')
+
+
+
+@endpush
+
diff --git a/resources/themes/velocity/views/products/add-to-cart.blade.php b/resources/themes/velocity/views/products/add-to-cart.blade.php
new file mode 100644
index 000000000..2ef856f65
--- /dev/null
+++ b/resources/themes/velocity/views/products/add-to-cart.blade.php
@@ -0,0 +1,80 @@
+{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!}
+
+
+ @if (isset($showCompare) && $showCompare)
+
+ @endif
+
+ @if (! (isset($showWishlist) && !$showWishlist) && core()->getConfigData('general.content.shop.wishlist_option'))
+ @include('shop::products.wishlist', [
+ 'addClass' => $addWishlistClass ?? ''
+ ])
+ @endif
+
+
+ @if (isset($form) && !$form)
+
isSaleable() ? 'disabled' : '' }}
+ class="theme-btn {{ $addToCartBtnClass ?? '' }}">
+
+ @if (! (isset($showCartIcon) && !$showCartIcon))
+ shopping_cart
+ @endif
+
+ {{ ($product->type == 'booking') ? __('shop::app.products.book-now') : __('shop::app.products.add-to-cart') }}
+
+ @elseif(isset($addToCartForm) && !$addToCartForm)
+
+
+ @csrf
+
+
+
+ isSaleable() ? 'disabled' : '' }}
+ class="btn btn-add-to-cart {{ $addToCartBtnClass ?? '' }}">
+
+ @if (! (isset($showCartIcon) && !$showCartIcon))
+ shopping_cart
+ @endif
+
+
+ {{ ($product->type == 'booking') ? __('shop::app.products.book-now') : $btnText ?? __('shop::app.products.add-to-cart') }}
+
+
+
+ @else
+
isSaleable() ? 'false' : 'true' }}
+ show-cart-icon={{ ! (isset($showCartIcon) && ! $showCartIcon) }}
+ btn-text="{{ (! isset($moveToCart) && $product->type == 'booking') ? __('shop::app.products.book-now') : $btnText ?? __('shop::app.products.add-to-cart') }}">
+
+ @endif
+
+
+
+{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/buy-now.blade.php b/resources/themes/velocity/views/products/buy-now.blade.php
new file mode 100644
index 000000000..8bc1844b8
--- /dev/null
+++ b/resources/themes/velocity/views/products/buy-now.blade.php
@@ -0,0 +1,7 @@
+{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!}
+
+isSaleable(1) ? 'disabled' : '' }}>
+ {{ __('shop::app.products.buy-now') }}
+
+
+{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/index.blade.php b/resources/themes/velocity/views/products/index.blade.php
new file mode 100644
index 000000000..aaf5877c6
--- /dev/null
+++ b/resources/themes/velocity/views/products/index.blade.php
@@ -0,0 +1,176 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository')
+
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }}
+@stop
+
+@section('seo')
+
+
+
+ @if (core()->getConfigData('catalog.rich_snippets.categories.enable'))
+
+ @endif
+@stop
+
+@push('css')
+
+@endpush
+
+@php
+ $isProductsDisplayMode = in_array(
+ $category->display_mode, [
+ null,
+ 'products_only',
+ 'products_and_description'
+ ]
+ );
+
+ $isDescriptionDisplayMode = in_array(
+ $category->display_mode, [
+ null,
+ 'description_only',
+ 'products_and_description'
+ ]
+ );
+@endphp
+
+@section('content-wrapper')
+
+@stop
+
+@push('scripts')
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/list/card.blade.php b/resources/themes/velocity/views/products/list/card.blade.php
new file mode 100644
index 000000000..7f43fd6ed
--- /dev/null
+++ b/resources/themes/velocity/views/products/list/card.blade.php
@@ -0,0 +1,198 @@
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+@push('css')
+
+@endpush
+
+@php
+ if (isset($checkmode) && $checkmode && $toolbarHelper->getCurrentMode() == "list") {
+ $list = true;
+ }
+
+ if (isset($item)) {
+ $productBaseImage = productimage()->getProductImage($item);
+ } else {
+ $productBaseImage = productimage()->getProductBaseImage($product);
+ }
+
+ $totalReviews = $reviewHelper->getTotalReviews($product);
+ $avgRatings = ceil($reviewHelper->getAverageRating($product));
+
+ $galleryImages = productimage()->getGalleryImages($product);
+ $priceHTML = view('shop::products.price', ['product' => $product])->render();
+
+ $product->__set('priceHTML', $priceHTML);
+ $product->__set('avgRating', $avgRatings);
+ $product->__set('totalReviews', $totalReviews);
+ $product->__set('galleryImages', $galleryImages);
+ $product->__set('shortDescription', $product->short_description);
+ $product->__set('firstReviewText', trans('velocity::app.products.be-first-review'));
+ $product->__set('addToCartHtml', view('shop::products.add-to-cart', [
+ 'product' => $product,
+ 'addWishlistClass' => ! (isset($list) && $list) ? '' : '',
+
+ 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1"
+ ? true : false,
+
+ 'btnText' => null,
+ 'moveToCart' => null,
+ 'addToCartBtnClass' => '',
+ ])->render());
+
+@endphp
+
+{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!}
+ @if (isset($list) && $list)
+
+ @else
+
+
+
+
+
+ {{-- --}}
+
+
+
+ @if ($product->new)
+
+ {{ __('shop::app.products.new') }}
+
+ @endif
+
+
+
+
+
+ @include ('shop::products.price', ['product' => $product])
+
+
+ @if ($totalReviews)
+
+
+
+ {{ __('velocity::app.products.ratings', ['totalRatings' => $totalReviews ]) }}
+
+
+ @else
+
+ {{ __('velocity::app.products.be-first-review') }}
+
+ @endif
+
+
+ @include ('shop::products.add-to-cart', [
+ 'product' => $product,
+ 'btnText' => $btnText ?? null,
+ 'moveToCart' => $moveToCart ?? null,
+ 'wishlistMoveRoute' => $wishlistMoveRoute ?? null,
+ 'reloadPage' => $reloadPage ?? null,
+ 'addToCartForm' => $addToCartForm ?? false,
+ 'addToCartBtnClass' => $addToCartBtnClass ?? '',
+ 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1"
+ ? true : false,
+ ])
+
+
+
+ @endif
+
+{!! view_render_event('bagisto.shop.products.list.card.after', ['product' => $product]) !!}
diff --git a/resources/themes/velocity/views/products/list/layered-navigation.blade.php b/resources/themes/velocity/views/products/list/layered-navigation.blade.php
new file mode 100644
index 000000000..137ad209d
--- /dev/null
+++ b/resources/themes/velocity/views/products/list/layered-navigation.blade.php
@@ -0,0 +1,257 @@
+@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository')
+@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository')
+@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository')
+
+getProductsRelatedFilterableAttributes($category);
+
+ $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category));
+ }
+
+ if (! count($filterAttributes) > 0) {
+ $filterAttributes = $attributeRepository->getFilterAttributes();
+ }
+?>
+
+
+
+ {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!}
+
+
+
+@push('scripts')
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/list/recently-viewed.blade.php b/resources/themes/velocity/views/products/list/recently-viewed.blade.php
new file mode 100644
index 000000000..8c1ea1606
--- /dev/null
+++ b/resources/themes/velocity/views/products/list/recently-viewed.blade.php
@@ -0,0 +1,11 @@
+@php
+ $direction = core()->getCurrentLocale()->direction;
+@endphp
+
+
+
diff --git a/resources/themes/velocity/views/products/list/toolbar.blade.php b/resources/themes/velocity/views/products/list/toolbar.blade.php
new file mode 100644
index 000000000..080c7007c
--- /dev/null
+++ b/resources/themes/velocity/views/products/list/toolbar.blade.php
@@ -0,0 +1,162 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!}
+
+{!! view_render_event('bagisto.shop.products.list.toolbar.after') !!}
+
+@push('scripts')
+
+
+
+@endpush
diff --git a/resources/themes/velocity/views/products/price.blade.php b/resources/themes/velocity/views/products/price.blade.php
new file mode 100644
index 000000000..bed2c056d
--- /dev/null
+++ b/resources/themes/velocity/views/products/price.blade.php
@@ -0,0 +1,7 @@
+{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!}
+
+
+ {!! $product->getTypeInstance()->getPriceHtml() !!}
+
+
+{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/reviews/create.blade.php b/resources/themes/velocity/views/products/reviews/create.blade.php
new file mode 100644
index 000000000..d52609fdc
--- /dev/null
+++ b/resources/themes/velocity/views/products/reviews/create.blade.php
@@ -0,0 +1,99 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }}
+@endsection
+
+@section('content-wrapper')
+
+
+
+ @include ('shop::products.view.small-view', ['product' => $product])
+
+
+
+
+ {{ __('shop::app.reviews.write-review') }}
+
+
+
+
+ @csrf
+
+
+
+ {{ __('admin::app.customers.reviews.rating') }}
+
+
+
+ @{{ errors.first('rating') }}
+
+
+
+
+
+ {{ __('shop::app.reviews.title') }}
+
+
+
+
+ @{{ errors.first('title') }}
+
+
+
+ @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user())
+
+
+ {{ __('shop::app.reviews.name') }}
+
+
+
+ @{{ errors.first('name') }}
+
+
+ @endif
+
+
+
+ {{ __('admin::app.customers.reviews.comment') }}
+
+
+
+
+ @{{ errors.first('comment') }}
+
+
+
+
+
+ {{ __('velocity::app.products.submit-review') }}
+
+
+
+
+
+ @if ($showRecentlyViewed)
+ @include ('shop::products.list.recently-viewed', [
+ 'addClass' => 'col-lg-3 col-md-12'
+ ])
+ @endif
+
+
+
+@endsection
diff --git a/resources/themes/velocity/views/products/reviews/index.blade.php b/resources/themes/velocity/views/products/reviews/index.blade.php
new file mode 100644
index 000000000..4f002a904
--- /dev/null
+++ b/resources/themes/velocity/views/products/reviews/index.blade.php
@@ -0,0 +1,41 @@
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.reviews.product-review-page-title') }}
+@endsection
+
+@php
+ $ratings = [
+ '', '', '', ''
+ ];
+
+ $ratings = [
+ 10, 30, 20, 15, 25
+ ];
+
+ $totalReviews = 25;
+ $totalRatings = array_sum($ratings);
+
+@endphp
+
+@push('css')
+
+@endpush
+
+@section('content-wrapper')
+
+
+ @include ('shop::products.view.small-view', ['product' => $product])
+
+
+
Rating and Reviews
+
+ @include ('shop::products.view.reviews')
+
+
+
+@endsection
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view.blade.php b/resources/themes/velocity/views/products/view.blade.php
new file mode 100644
index 000000000..943b0a54a
--- /dev/null
+++ b/resources/themes/velocity/views/products/view.blade.php
@@ -0,0 +1,344 @@
+@extends('shop::layouts.master')
+
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper')
+
+@php
+ $total = $reviewHelper->getTotalReviews($product);
+
+ $avgRatings = $reviewHelper->getAverageRating($product);
+ $avgStarRating = round($avgRatings);
+
+ $productImages = [];
+ $images = productimage()->getGalleryImages($product);
+
+ foreach ($images as $key => $image) {
+ array_push($productImages, $image['medium_image_url']);
+ }
+@endphp
+
+@section('page_title')
+ {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }}
+@stop
+
+@section('seo')
+ meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/>
+
+
+
+ @if (core()->getConfigData('catalog.rich_snippets.products.enable'))
+
+ @endif
+
+ getProductBaseImage($product, $images); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+@stop
+
+@push('css')
+
+@endpush
+
+@section('full-content-wrapper')
+ {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!}
+
+
+
+
+ @include('shop::products.view.related-products')
+ @include('shop::products.view.up-sells')
+
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!}
+@endsection
+
+@push('scripts')
+
+
+
+
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/attributes.blade.php b/resources/themes/velocity/views/products/view/attributes.blade.php
new file mode 100644
index 000000000..d66e74f28
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/attributes.blade.php
@@ -0,0 +1,50 @@
+@inject ('productViewHelper', 'Webkul\Product\Helpers\View')
+
+{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!}
+ @php
+ $customAttributeValues = $productViewHelper->getAdditionalData($product);
+ @endphp
+
+ @if ($customAttributeValues)
+
+
+
+ {{ __('velocity::app.products.more-infomation') }}
+
+
+
+
+
+
+
+ @foreach ($customAttributeValues as $attribute)
+
+ @if ($attribute['label'])
+ {{ $attribute['label'] }}
+ @else
+ {{ $attribute['admin_name'] }}
+ @endif
+
+ @if ($attribute['type'] == 'file' && $attribute['value'])
+
+
+
+
+
+ @elseif ($attribute['type'] == 'image' && $attribute['value'])
+
+
+
+
+
+ @else
+ {{ $attribute['value'] }}
+ @endif
+
+ @endforeach
+
+
+
+ @endif
+
+{!! view_render_event('bagisto.shop.products.view.attributes.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/bundle-options.blade.php b/resources/themes/velocity/views/products/view/bundle-options.blade.php
new file mode 100644
index 000000000..1dfefed08
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/bundle-options.blade.php
@@ -0,0 +1,249 @@
+@if ($product->type == 'bundle')
+ @push('css')
+
+ @endpush
+
+ {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!}
+
+ @push('scripts')
+
+
+
+
+
+ @endpush
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/configurable-options.blade.php b/resources/themes/velocity/views/products/view/configurable-options.blade.php
new file mode 100644
index 000000000..b9f3874f8
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/configurable-options.blade.php
@@ -0,0 +1,353 @@
+@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type))
+
+ @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption')
+
+ @php
+ $config = $configurableOptionHelper->getConfigurationConfig($product);
+ $galleryImages = productimage()->getGalleryImages($product);
+ @endphp
+
+ {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!}
+
+
+
+ {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!}
+
+ @push('scripts')
+
+
+
+ @endpush
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/cross-sells.blade.php b/resources/themes/velocity/views/products/view/cross-sells.blade.php
new file mode 100644
index 000000000..f095c431b
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/cross-sells.blade.php
@@ -0,0 +1,61 @@
+@foreach ($cart->items as $item)
+ product;
+
+ if ($product->cross_sells()->count()) {
+ $products[] = $product;
+ $products = array_unique($products);
+ }
+ ?>
+@endforeach
+
+@if (isset($products))
+
+
+
+
+
+
+ @foreach($products as $product)
+ @foreach ($product->cross_sells()->paginate(2) as $index => $crossSellProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $crossSellProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+ @endforeach
+
+
+
+
+
+
+ @foreach($products as $product)
+ @foreach ($product->cross_sells()->paginate(2) as $index => $crossSellProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $crossSellProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+ @endforeach
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/description.blade.php b/resources/themes/velocity/views/products/view/description.blade.php
new file mode 100644
index 000000000..ab76a8a0b
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/description.blade.php
@@ -0,0 +1,19 @@
+{!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!}
+
+
+
+
+ {{ __('velocity::app.products.details') }}
+
+
+
+
+
+
+
+ {!! $product->description !!}
+
+
+
+
+{!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/downloadable.blade.php b/resources/themes/velocity/views/products/view/downloadable.blade.php
new file mode 100644
index 000000000..ba76b7af4
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/downloadable.blade.php
@@ -0,0 +1,64 @@
+@if ($product->type == 'downloadable')
+ {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!}
+
+
+
+ @if ($product->downloadable_samples->count())
+
+
{{ __('shop::app.products.samples') }}
+
+
+
+ @endif
+
+ @if ($product->downloadable_links->count())
+
+
{{ __('shop::app.products.links') }}
+
+
+ @foreach ($product->downloadable_links as $link)
+
+
+
+ @endif
+
+ @endforeach
+
+
+
@{{ errors.first('links[]') }}
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!}
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/gallery.blade.php b/resources/themes/velocity/views/products/view/gallery.blade.php
new file mode 100644
index 000000000..ed9788a7a
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/gallery.blade.php
@@ -0,0 +1,177 @@
+@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist')
+
+@php
+ $images = productimage()->getGalleryImages($product);
+ $videos = productvideo()->getVideos($product);
+
+ $videoData = $imageData = [];
+
+ foreach ($videos as $key => $video) {
+ $videoData[$key]['type'] = $video['type'];
+ $videoData[$key]['large_image_url'] = $videoData[$key]['small_image_url']= $videoData[$key]['medium_image_url']= $videoData[$key]['original_image_url'] = $video['video_url'];
+ }
+
+ foreach ($images as $key => $image) {
+ $imageData[$key]['type'] = '';
+ $imageData[$key]['large_image_url'] = $image['large_image_url'];
+ $imageData[$key]['small_image_url'] = $image['small_image_url'];
+ $imageData[$key]['medium_image_url'] = $image['medium_image_url'];
+ $imageData[$key]['original_image_url'] = $image['original_image_url'];
+ }
+
+ $images = array_merge($imageData, $videoData);
+@endphp
+
+{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!}
+
+
+
+{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!}
+
+
+
+@push('scripts')
+
+@endpush
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/grouped-products.blade.php b/resources/themes/velocity/views/products/view/grouped-products.blade.php
new file mode 100644
index 000000000..06ca41b48
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/grouped-products.blade.php
@@ -0,0 +1,38 @@
+@if ($product->type == 'grouped')
+ {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!}
+
+
+ @if ($product->grouped_products->count())
+
+
+
+ {{ __('shop::app.products.name') }}
+ {{ __('shop::app.products.qty') }}
+
+ @foreach ($product->grouped_products as $groupedProduct)
+ @if($groupedProduct->associated_product->getTypeInstance()->isSaleable())
+
+
+ {{ $groupedProduct->associated_product->name }}
+
+ @include ('shop::products.price', ['product' => $groupedProduct->associated_product])
+
+
+
+
+
+
+
+ @endif
+ @endforeach
+
+
+ @endif
+
+
+ {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!}
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/related-products.blade.php b/resources/themes/velocity/views/products/view/related-products.blade.php
new file mode 100644
index 000000000..af9fd1759
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/related-products.blade.php
@@ -0,0 +1,49 @@
+related_products()->get();
+?>
+
+@if ($relatedProducts->count())
+
+
+
+
+
+ @foreach ($relatedProducts as $index => $relatedProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $relatedProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+
+
+
+
+
+
+ @foreach ($relatedProducts as $index => $relatedProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $relatedProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/reviews.blade.php b/resources/themes/velocity/views/products/view/reviews.blade.php
new file mode 100644
index 000000000..b45d02b57
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/reviews.blade.php
@@ -0,0 +1,208 @@
+@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
+@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper')
+
+@php
+ $reviews = $reviewHelper->getReviews($product)->paginate(10);
+
+ if (! isset($total)) {
+ $total = $reviewHelper->getTotalReviews($product);
+ $avgRatings = $reviewHelper->getAverageRating($product);
+ $avgStarRating = round($avgRatings);
+ }
+
+ $percentageRatings = $reviewHelper->getPercentageRating($product);
+@endphp
+
+{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!}
+
+ @if ($total)
+ @if (isset($accordian) && $accordian)
+
+ {{-- customer ratings --}}
+
+
+ {{ __('velocity::app.products.customer-rating') }}
+
+
+
+
+
+
+
+
+
{{ $avgRatings }} {{ __('shop::app.reviews.star') }}
+
+
+
+
+ {{ __('shop::app.reviews.ratingreviews', [
+ 'rating' => $avgRatings,
+ 'review' => $total])
+ }}
+
+
+ @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
+
+ {{ __('velocity::app.products.write-your-review') }}
+
+ @endif
+
+
+
+
+ @for ($i = 5; $i >= 1; $i--)
+
+
+
{{ $i }} {{ __('shop::app.reviews.star') }}
+
+
+
+
{{ $percentageRatings[$i] }} %
+
+ @endfor
+
+
+
+
+
+ @else
+
+
+
+
{{ $avgRatings }} {{ __('shop::app.reviews.star') }}
+
+
+
+
+ {{ __('shop::app.reviews.ratingreviews', [
+ 'rating' => $avgRatings,
+ 'review' => $total])
+ }}
+
+
+ @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
+
+ {{ __('velocity::app.products.write-your-review') }}
+
+ @endif
+
+
+
+
+ @for ($i = 5; $i >= 1; $i--)
+
+
+
{{ $i }} Star
+
+
+
+
{{ $percentageRatings[$i] }} %
+
+ @endfor
+
+
+
+
+ @endif
+
+ @if (isset($accordian) && $accordian)
+
+ {{-- customer reviews --}}
+
+
+ {{ __('velocity::app.products.reviews-title') }}
+
+
+
+
+
+
+ @foreach ($reviews as $review)
+
+
{{ $review->title }}
+
+
+
+
+ {{ $review->comment }}
+
+
+
+ {{ __('velocity::app.products.review-by') }} -
+
+
+ {{ $review->name }},
+
+
+ {{ core()->formatDate($review->created_at, 'F d, Y') }}
+
+
+
+ @endforeach
+
+
{{ __('velocity::app.products.view-all-reviews') }}
+
+
+ @else
+
+ {{ __('velocity::app.products.reviews-title') }}
+
+
+
+ @foreach ($reviews as $review)
+
+
{{ $review->title }}
+
+
+
+
+ {{ $review->comment }}
+
+
+
+ @if ("{{ $review->name }}")
+ {{ __('velocity::app.products.review-by') }} -
+
+
+ {{ $review->name }},
+
+ @endif
+
+ {{ core()->formatDate($review->created_at, 'F d, Y') }}
+
+
+
+ @endforeach
+
+ @endif
+
+ @else
+ @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
+
+ @endif
+ @endif
+
+{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/small-view.blade.php b/resources/themes/velocity/views/products/view/small-view.blade.php
new file mode 100644
index 000000000..26a7aa7a6
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/small-view.blade.php
@@ -0,0 +1,13 @@
+@php
+ $productBaseImage = productimage()->getProductBaseImage($product);
+@endphp
+
+
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/stock.blade.php b/resources/themes/velocity/views/products/view/stock.blade.php
new file mode 100644
index 000000000..bb694f6b4
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/stock.blade.php
@@ -0,0 +1,17 @@
+{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!}
+
+
+
+ @if ( $product->haveSufficientQuantity(1) === true )
+ {{ __('shop::app.products.in-stock') }}
+ @elseif ( $product->haveSufficientQuantity(1) > 0 )
+ {{ __('shop::app.products.available-for-order') }}
+ @else
+ {{ __('shop::app.products.out-of-stock') }}
+ @endif
+
+
+
+{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/view/up-sells.blade.php b/resources/themes/velocity/views/products/view/up-sells.blade.php
new file mode 100644
index 000000000..ec527b146
--- /dev/null
+++ b/resources/themes/velocity/views/products/view/up-sells.blade.php
@@ -0,0 +1,49 @@
+up_sells()->get();
+?>
+
+@if ($productUpSells->count())
+
+
+
+
+
+ @foreach ($productUpSells as $index => $upSellProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $upSellProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+
+
+
+
+
+
+ @foreach ($productUpSells as $index => $upSellProduct)
+
+ @include ('shop::products.list.card', [
+ 'product' => $upSellProduct,
+ 'addToCartBtnClass' => 'small-padding',
+ ])
+
+ @endforeach
+
+
+@endif
\ No newline at end of file
diff --git a/resources/themes/velocity/views/products/wishlist.blade.php b/resources/themes/velocity/views/products/wishlist.blade.php
new file mode 100644
index 000000000..66573a0a1
--- /dev/null
+++ b/resources/themes/velocity/views/products/wishlist.blade.php
@@ -0,0 +1,39 @@
+@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist')
+
+{!! view_render_event('bagisto.shop.products.wishlist.before') !!}
+
+ @auth('customer')
+ @php
+ /* search wishlist on the basis of product's id so that wishlist id can be catched */
+ $wishlist = $wishListHelper->getWishlistProduct($product);
+
+ /* link making */
+ $href = isset($route) ? $route : ($wishlist ? route('customer.wishlist.remove', $wishlist->id) : route('customer.wishlist.add', $product->product_id));
+
+ /* title */
+ $title = $wishlist ? __('velocity::app.shop.wishlist.remove-wishlist-text') : __('velocity::app.shop.wishlist.add-wishlist-text');
+ @endphp
+
+
+
+
+
+ @if (isset($text))
+ {!! $text !!}
+ @endif
+
+ @endauth
+
+ @guest('customer')
+
+
+
+ @endauth
+
+{!! view_render_event('bagisto.shop.products.wishlist.after') !!}
\ No newline at end of file
diff --git a/resources/themes/velocity/views/search/search.blade.php b/resources/themes/velocity/views/search/search.blade.php
new file mode 100644
index 000000000..962f820e1
--- /dev/null
+++ b/resources/themes/velocity/views/search/search.blade.php
@@ -0,0 +1,155 @@
+@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar')
+
+@extends('shop::layouts.master')
+
+@section('page_title')
+ {{ __('shop::app.search.page-title') }}
+@endsection
+
+@push('css')
+
+@endpush
+
+@section('content-wrapper')
+
+
+
+@endsection
+
+@push('scripts')
+
+
+
+
+
+@endpush
\ No newline at end of file