diff --git a/resources/themes/shop/views/checkout/cart/coupon.blade.php b/resources/themes/shop/views/checkout/cart/coupon.blade.php deleted file mode 100644 index 090740935..000000000 --- a/resources/themes/shop/views/checkout/cart/coupon.blade.php +++ /dev/null @@ -1,119 +0,0 @@ -@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 deleted file mode 100644 index 6d7ebafb6..000000000 --- a/resources/themes/shop/views/checkout/cart/index.blade.php +++ /dev/null @@ -1,272 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.cart.title') }} -@stop - -@section('content-wrapper') -
- @if ($cart) -
- {{ __('shop::app.checkout.cart.title') }} -
- -
-
-
- -
- @csrf - @foreach ($cart->items as $key => $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - - if (is_null ($item->product->url_key)) { - if (! is_null($item->product->parent)) { - $url_key = $item->product->parent->url_key; - } - } else { - $url_key = $item->product->url_key; - } - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.name.before', ['item' => $item]) !!} - - - - {!! view_render_event('bagisto.shop.checkout.cart.item.name.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.item.price.before', ['item' => $item]) !!} - -
- {{ core()->currency($item->base_price) }} -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.price.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.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.item.options.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.before', ['item' => $item]) !!} - -
- @if ($item->product->getTypeInstance()->showQuantityBox() === true) - - - @endif - - - {{ __('shop::app.checkout.cart.remove-link') }} - - @auth('customer') - @php - $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; - @endphp - - @if ($showWishlist) - - @if ($item->parent_id != 'null' ||$item->parent_id != null) - {{ __('shop::app.checkout.cart.move-to-wishlist') }} - @else - {{ __('shop::app.checkout.cart.move-to-wishlist') }} - @endif - - @endif - @endauth -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.after', ['item' => $item]) !!} - - @if (! cart()->isItemHaveQuantity($item)) -
- * {{ __('shop::app.checkout.cart.quantity-error') }} -
- @endif -
- -
- @endforeach -
- - {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} - -
- {{ __('shop::app.checkout.cart.continue-shopping') }} - -
- @if ($cart->hasProductsWithQuantityBox()) - - @endif - - @if (! cart()->hasError()) - @php - $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; - @endphp - - - - @endif -
-
- - {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} -
-
- -
- {!! 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 deleted file mode 100644 index 363278219..000000000 --- a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -getCart(); ?> - -@if ($cart) - items; ?> - - - - - -@else - - -@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 deleted file mode 100644 index 117026353..000000000 --- a/resources/themes/shop/views/checkout/onepage.blade.php +++ /dev/null @@ -1,615 +0,0 @@ -@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 deleted file mode 100644 index 4ad841c6e..000000000 --- a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php +++ /dev/null @@ -1,23 +0,0 @@ -
-
- - - -
- -
- - - -
-
\ 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 deleted file mode 100644 index 40fbcba67..000000000 --- a/resources/themes/shop/views/checkout/onepage/customer-info.blade.php +++ /dev/null @@ -1,475 +0,0 @@ -
- -
-
- {{ __('shop::app.checkout.onepage.billing-address') }} - - - {{ __('shop::app.checkout.onepage.new-address') }} - -
-
-
-
- - -
    -
  • - @{{ addresses.company_name }} -
  • - -
  • - @{{ allAddress.first_name }} @{{ allAddress.last_name }}, -
  • - -
  • - @{{ addresses.address1 }}, -
  • - -
  • - @{{ addresses.city }}, -
  • - -
  • - @{{ addresses.state }}, -
  • - -
  • - @{{ addresses.country }} @{{ addresses.postcode }} -
  • - -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
-
-
- - @{{ errors.first('address-form.billing[address_id]') }} - -
-
- - @if ($cart->haveStockableItems()) -
- - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - -
- @endif -
- -
- -
-

{{ __('shop::app.checkout.onepage.billing-address') }}

- - @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth -
- -
- - - - - - @{{ errors.first('address-form.billing[email]') }} - -
- - {{-- for customer login checkout --}} - @if (! auth()->guard('customer')->check()) - @include('shop::checkout.onepage.customer-checkout') - @endif - -
- - - - - - @{{ errors.first('address-form.billing[company_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[last_name]') }} - -
- -
- - - - - - @{{ 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 - -
- - - - - - @{{ errors.first('address-form.billing[city]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[country]') }} - -
- -
- - - - - - - - @{{ errors.first('address-form.billing[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[phone]') }} - -
- - @if ($cart->haveStockableItems()) -
- - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - -
- @endif - - @auth('customer') -
- - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - -
- @endauth - -
- - @if ($cart->haveStockableItems()) -
-
- {{ __('shop::app.checkout.onepage.shipping-address') }} - - - {{ __('shop::app.checkout.onepage.new-address') }} - -
- -
-
-
- - -
    -
  • - @{{ addresses.company_name }} -
  • - -
  • - @{{ addresses.first_name }} @{{ addresses.last_name }}, -
  • - -
  • - @{{ addresses.address1 }}, -
  • - -
  • - @{{ addresses.city }}, -
  • - -
  • - @{{ addresses.state }}, -
  • - -
  • - @{{ addresses.country }} @{{ addresses.postcode }} -
  • - -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
- -
- - @{{ errors.first('address-form.shipping[address_id]') }} - -
- -
-
- -
- -
-

{{ __('shop::app.checkout.onepage.shipping-address') }}

- @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth -
- -
- - - - - - @{{ errors.first('address-form.shipping[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[email]') }} - -
- -
- - - - - - @{{ 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 - -
- - - - - - @{{ errors.first('address-form.shipping[city]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[country]') }} - -
- -
- - - - - - - - - @{{ errors.first('address-form.shipping[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[phone]') }} - -
- - @auth('customer') -
- - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - -
- @endauth - -
- @endif - -
\ 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 deleted file mode 100644 index 487d31c7e..000000000 --- a/resources/themes/shop/views/checkout/onepage/payment.blade.php +++ /dev/null @@ -1,51 +0,0 @@ -
-
-
- {{ __('shop::app.checkout.onepage.payment-methods') }} -
- -
- -
- - @foreach ($paymentMethods as $payment) - - {!! view_render_event('bagisto.shop.checkout.payment-method.before', ['payment' => $payment]) !!} - -
-
- - - {{ $payment['method_title'] }} - -
- -
- {{ __($payment['description']) }} -
- - - - @if (! empty($additionalDetails)) -
- -

{{ $additionalDetails['value'] }}

-
- @endif -
- - {!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!} - - @endforeach - - - @{{ errors.first('payment-form.payment[method]') }} - - -
-
-
-
\ 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 deleted file mode 100644 index 43950ef85..000000000 --- a/resources/themes/shop/views/checkout/onepage/review.blade.php +++ /dev/null @@ -1,168 +0,0 @@ -
-
- {{ __('shop::app.checkout.onepage.summary') }} -
- -
- @if ($billingAddress = $cart->billing_address) -
-
- {{ __('shop::app.checkout.onepage.billing-address') }} -
- -
-
    -
  • - {{ $billingAddress->company_name ?? '' }} -
  • -
  • - {{ $billingAddress->first_name }} {{ $billingAddress->last_name }} -
  • -
  • - {{ $billingAddress->address1 }},
    {{ $billingAddress->state }} -
  • -
  • - {{ core()->country_name($billingAddress->country) }} {{ $billingAddress->postcode }} -
  • - - - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $billingAddress->phone }} -
  • -
-
-
- @endif - - @if ($cart->haveStockableItems() && $shippingAddress = $cart->shipping_address) -
-
- {{ __('shop::app.checkout.onepage.shipping-address') }} -
- -
-
    -
  • - {{ $shippingAddress->company_name ?? '' }} -
  • -
  • - {{ $shippingAddress->first_name }} {{ $shippingAddress->last_name }} -
  • -
  • - {{ $shippingAddress->address1 }},
    {{ $shippingAddress->state }} -
  • -
  • - {{ core()->country_name($shippingAddress->country) }} {{ $shippingAddress->postcode }} -
  • - - - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $shippingAddress->phone }} -
  • -
-
-
- @endif - -
- -
- @foreach ($cart->items as $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} - -
- {{ $item->product->name }} -
- - {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} - {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} - -
- - {{ __('shop::app.checkout.onepage.price') }} - - - {{ core()->currency($item->base_price) }} - -
- - {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} - {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} - -
- - {{ __('shop::app.checkout.onepage.quantity') }} - - - {{ $item->quantity }} - -
- - {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} - - {!! view_render_event('bagisto.shop.checkout.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.options.after', ['item' => $item]) !!} -
-
- @endforeach -
- -
-
- @if ($cart->haveStockableItems()) -
-
- -
- -
- {{ core()->currency($cart->selected_shipping_rate->base_price) }} - -
- {{ $cart->selected_shipping_rate->method_title }} -
-
-
- @endif - -
-
- -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $cart->payment->method . '.title') }} -
-
- -
- -
- -
-
-
\ 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 deleted file mode 100644 index e1a6dbab8..000000000 --- a/resources/themes/shop/views/checkout/onepage/shipping.blade.php +++ /dev/null @@ -1,48 +0,0 @@ -
-
-
- {{ __('shop::app.checkout.onepage.shipping-method') }} -
- -
- -
- - @foreach ($shippingRateGroups as $rateGroup) - {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!} - - - {{ $rateGroup['carrier_title'] }} - - - @foreach ($rateGroup['rates'] as $rate) -
-
- - {{-- --}} - {{ core()->currency($rate->base_price) }} -
- -
-
- {{ $rate->method_title }} - {{ __($rate->method_description) }} -
-
-
- - @endforeach - - {!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!} - - @endforeach - - - @{{ errors.first('shipping-form.shipping_method') }} - -
-
-
-
\ 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 deleted file mode 100644 index c403360ad..000000000 --- a/resources/themes/shop/views/checkout/success.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@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]) }} - -
- - {{ __('shop::app.checkout.cart.continue-shopping') }} - -
- - {{ 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 deleted file mode 100644 index 76a6b238b..000000000 --- a/resources/themes/shop/views/checkout/total/summary.blade.php +++ /dev/null @@ -1,45 +0,0 @@ -
-

{{ __('shop::app.checkout.total.order-summary') }}

- -
- - -
- - @if ($cart->selected_shipping_rate) -
- - -
- @endif - - @if ($cart->base_tax_total) - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($cart, true) as $taxRate => $baseTaxAmount ) -
- - -
- @endforeach - @endif - -
base_discount_amount && $cart->base_discount_amount > 0) style="display: block;" @else style="display: none;" @endif> - - -
- - -
- - -
-
\ 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 deleted file mode 100644 index fe29692bd..000000000 --- a/resources/themes/shop/views/cms/page.blade.php +++ /dev/null @@ -1,17 +0,0 @@ -@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 deleted file mode 100644 index ba1bfb6c1..000000000 --- a/resources/themes/shop/views/customers/account/address/country-state.blade.php +++ /dev/null @@ -1,74 +0,0 @@ - - -@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 deleted file mode 100644 index f7ecf22ef..000000000 --- a/resources/themes/shop/views/customers/account/address/create.blade.php +++ /dev/null @@ -1,124 +0,0 @@ -@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') - -
- - - {!! 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 deleted file mode 100644 index aa7bcbd34..000000000 --- a/resources/themes/shop/views/customers/account/address/edit.blade.php +++ /dev/null @@ -1,125 +0,0 @@ -@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') - -
- - - - {!! 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 deleted file mode 100644 index b099f377b..000000000 --- a/resources/themes/shop/views/customers/account/address/index.blade.php +++ /dev/null @@ -1,112 +0,0 @@ -@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]) !!} - - - - {!! 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 deleted file mode 100644 index 7b6de5e66..000000000 --- a/resources/themes/shop/views/customers/account/compare/index.blade.php +++ /dev/null @@ -1,29 +0,0 @@ -@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 deleted file mode 100644 index 583ebe97e..000000000 --- a/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php +++ /dev/null @@ -1,39 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.downloadable_products.title') }} -@endsection - -@section('content-wrapper') - -
- @include('shop::customers.account.partials.sidemenu') - -
- - - - {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!} - - - - {!! 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 deleted file mode 100644 index 4097e93df..000000000 --- a/resources/themes/shop/views/customers/account/index.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -@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 deleted file mode 100644 index 6c53d4602..000000000 --- a/resources/themes/shop/views/customers/account/orders/index.blade.php +++ /dev/null @@ -1,39 +0,0 @@ -@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') - -
- - - - {!! view_render_event('bagisto.shop.customers.account.orders.list.before') !!} - - - - {!! 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 deleted file mode 100644 index 1826d8fe9..000000000 --- a/resources/themes/shop/views/customers/account/orders/pdf.blade.php +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - - - - - -
- -
-
-
-

{{ __('admin::app.sales.invoices.invoice') }}

-
-
- @if (core()->getConfigData('sales.orderSettings.invoice_slip_design.logo')) -
- -
- @endif -
-
{{ core()->getConfigData('sales.shipping.origin.store_name') ? core()->getConfigData('sales.shipping.origin.store_name') : '' }}
-
{{ core()->getConfigData('sales.shipping.origin.address1') ? core()->getConfigData('sales.shipping.origin.address1') : '' }}
-
- {{ core()->getConfigData('sales.shipping.origin.zipcode') ? core()->getConfigData('sales.shipping.origin.zipcode') : '' }} - {{ core()->getConfigData('sales.shipping.origin.city') ? core()->getConfigData('sales.shipping.origin.city') : '' }}
-
{{ core()->getConfigData('sales.shipping.origin.state') ? core()->getConfigData('sales.shipping.origin.state') : '' }}
-
{{ core()->getConfigData('sales.shipping.origin.country') ? core()->country_name(core()->getConfigData('sales.shipping.origin.country')) : '' }}
-
-
- @if (core()->getConfigData('sales.shipping.origin.contact')) -
{{ __('admin::app.admin.system.contact-number') }}: {{ core()->getConfigData('sales.shipping.origin.contact') }}
- @endif - @if (core()->getConfigData('sales.shipping.origin.vat_number')) -
{{ __('admin::app.admin.system.vat-number') }}: {{ core()->getConfigData('sales.shipping.origin.vat_number') }}
- @endif - @if (core()->getConfigData('sales.shipping.origin.bank_details')) -
{{ __('admin::app.admin.system.bank-details') }}: {{ core()->getConfigData('sales.shipping.origin.bank_details') }}
- @endif -
-
- -
- -
- {{ __('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') }} -
- -
- - - - - @if ($invoice->order->shipping_address) - - @endif - - - - - - - - @if ($invoice->order->shipping_address) - - @endif - - -
{{ __('shop::app.customer.account.order.view.bill-to') }}{{ __('shop::app.customer.account.order.view.ship-to') }}
-

{{ $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 }} -
-

{{ $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 }} -
-
- -
- - - - - - @if ($invoice->order->shipping_address) - - @endif - - - - - - - - @if ($invoice->order->shipping_address) - - @endif - - -
{{ __('shop::app.customer.account.order.view.payment-method') }}{{ __('shop::app.customer.account.order.view.shipping-method') }}
- {{ core()->getConfigData('sales.paymentmethods.' . $invoice->order->payment->method . '.title') }} - - @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($invoice->order->payment->method); @endphp - - @if (! empty($additionalDetails)) -
- -

{{ $additionalDetails['value'] }}

-
- @endif -
- {{ $invoice->order->shipping_title }} -
-
- -
- - - - - - - - - - - - - - - - @foreach ($invoice->items as $item) - - - - - - - - - - - - - - - - @endforeach - - -
{{ __('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') }}
{{ $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) }}
-
- - - - - - - - - - - - - - - - @if ($invoice->base_discount_amount > 0) - - - - - - @endif - - - - - - - - - - - - -
{{ __('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) }}
{{ __('shop::app.customer.account.order.view.discount') }}-{{ core()->formatPrice($invoice->discount_amount, $invoice->order_currency_code) }}
{{ __('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 deleted file mode 100644 index 78d34d5d1..000000000 --- a/resources/themes/shop/views/customers/account/orders/view.blade.php +++ /dev/null @@ -1,562 +0,0 @@ -@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') }} -
- -
-
- - - - - - - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - - - - - - - - - @endforeach - - -
{{ __('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') }}
- {{ $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) }} -
-
- -
- - - - - - - - - @if ($order->haveStockableItems()) - - - - - - @endif - - @if ($order->base_discount_amount > 0) - - - - - - @endif - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @if($order->status !== 'canceled') - - @else - - @endif - - -
{{ __('shop::app.customer.account.order.view.subtotal') }}-{{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.shipping-handling') }}-{{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.discount') }} - @if ($order->coupon_code) - ({{ $order->coupon_code }}) - @endif - -{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('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') }}-{{ core()->formatPrice($order->total_due, $order->order_currency_code) }}{{ core()->formatPrice(0.00, $order->order_currency_code) }}
-
-
-
-
- - @if ($order->invoices->count()) - - - @foreach ($order->invoices as $invoice) - -
-
- {{ __('shop::app.customer.account.order.view.individual-invoice', ['invoice_id' => $invoice->id]) }} - - - {{ __('shop::app.customer.account.order.view.print') }} - -
- -
-
- - - - - - - - - - - - - - - - @foreach ($invoice->items as $item) - - - - - - - - - - - - - - - - @endforeach - -
{{ __('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') }}
- {{ $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) }} -
-
- -
- - - - - - - - - - - - - - @if ($order->base_discount_amount > 0) - - - - - - @endif - - - - - - - - - - - - -
{{ __('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) }}
{{ __('shop::app.customer.account.order.view.discount') }}-{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('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]) }} -
- -
- -
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - @endforeach - - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->sku }}{{ $item->name }}{{ $item->qty }}
-
-
-
- - @endforeach - -
- @endif - - @if ($order->refunds->count()) - - - @foreach ($order->refunds as $refund) - -
-
- {{ __('shop::app.customer.account.order.view.individual-refund', ['refund_id' => $refund->id]) }} -
- -
-
- - - - - - - - - - - - - - - - @foreach ($refund->items as $item) - - - - - - - - - - @endforeach - - @if (! $refund->items->count()) - - - - @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') }}
{{ $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) }}
{{ __('shop::app.common.no-result-found') }}
-
- -
- - - - - - - - @if ($refund->shipping_amount > 0) - - - - - - @endif - - @if ($refund->discount_amount > 0) - - - - - - @endif - - @if ($refund->tax_amount > 0) - - - - - - @endif - - - - - - - - - - - - - - - - - - -
{{ __('shop::app.customer.account.order.view.subtotal') }}-{{ core()->formatPrice($refund->sub_total, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.shipping-handling') }}-{{ core()->formatPrice($refund->shipping_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.discount') }}-{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.tax') }}-{{ core()->formatPrice($refund->tax_amount, $order->order_currency_code) }}
{{ __('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['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 deleted file mode 100644 index df0d6ad1f..000000000 --- a/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php +++ /dev/null @@ -1,62 +0,0 @@ - - -@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 deleted file mode 100644 index 44e076f7a..000000000 --- a/resources/themes/shop/views/customers/account/profile/edit.blade.php +++ /dev/null @@ -1,132 +0,0 @@ -@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') - -
- - - - {!! 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]) !!} - -
- - - - @{{ errors.first('first_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.first_name.after') !!} - -
- - - - @{{ errors.first('last_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.last_name.after') !!} - -
- - - - @{{ errors.first('gender') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.gender.after') !!} - -
- - - @{{ errors.first('date_of_birth') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.date_of_birth.after') !!} - -
- - - @{{ errors.first('email') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.email.after') !!} - -
- - - @{{ errors.first('phone') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.phone.after') !!} - -
- - - @{{ errors.first('oldpassword') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.oldpassword.after') !!} - -
- - - - @{{ errors.first('password') }} -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.password.after') !!} - -
- - - - @{{ errors.first('password_confirmation') }} -
- - @if (core()->getConfigData('customer.settings.newsletter.subscription')) -
- subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif> - {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }} -
- @endif - - {!! view_render_event('bagisto.shop.customers.account.profile.edit_form_controls.after', ['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 deleted file mode 100644 index 6ad256cd7..000000000 --- a/resources/themes/shop/views/customers/account/profile/index.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@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.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 deleted file mode 100644 index 540a3b88d..000000000 --- a/resources/themes/shop/views/customers/account/reviews/index.blade.php +++ /dev/null @@ -1,80 +0,0 @@ -@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') - -
- - - - {!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!} - - - - {!! 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 deleted file mode 100644 index b97c9e3bf..000000000 --- a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@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') - -
- - - -
-
-@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 deleted file mode 100644 index 092db144d..000000000 --- a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php +++ /dev/null @@ -1,92 +0,0 @@ -@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') - -
- - - - {!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!} - - - - {!! 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 deleted file mode 100644 index 38bdbc9b1..000000000 --- a/resources/themes/shop/views/customers/session/index.blade.php +++ /dev/null @@ -1,57 +0,0 @@ -@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') !!} - -
- {{ csrf_field() }} - -
- - {!! 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 deleted file mode 100644 index f21a32a6e..000000000 --- a/resources/themes/shop/views/customers/signup/forgot-password.blade.php +++ /dev/null @@ -1,61 +0,0 @@ -@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') !!} - -
- - {{ csrf_field() }} - - -
- - {!! 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 deleted file mode 100644 index 72f74bd86..000000000 --- a/resources/themes/shop/views/customers/signup/index.blade.php +++ /dev/null @@ -1,97 +0,0 @@ -@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') !!} - -
- - {{ csrf_field() }} - - -
- - {!! 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 deleted file mode 100644 index feb0962ad..000000000 --- a/resources/themes/shop/views/customers/signup/reset-password.blade.php +++ /dev/null @@ -1,52 +0,0 @@ -@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') !!} - -
- - {{ csrf_field() }} - - -
- - {!! 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 deleted file mode 100644 index 4e312d436..000000000 --- a/resources/themes/shop/views/emails/admin/forget-password.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
-

- {{ __('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 deleted file mode 100644 index f1759daed..000000000 --- a/resources/themes/shop/views/emails/admin/update-password.blade.php +++ /dev/null @@ -1,25 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-

- {{ __('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 deleted file mode 100644 index 685346631..000000000 --- a/resources/themes/shop/views/emails/customer/forget-password.blade.php +++ /dev/null @@ -1,34 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
-

- {{ __('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 deleted file mode 100644 index 8fcbfd931..000000000 --- a/resources/themes/shop/views/emails/customer/new-customer.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {{ __('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 deleted file mode 100644 index 384fd29e7..000000000 --- a/resources/themes/shop/views/emails/customer/registration.blade.php +++ /dev/null @@ -1,32 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- - -
-
-

- {{ __('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 deleted file mode 100644 index b7be2a8d2..000000000 --- a/resources/themes/shop/views/emails/customer/subscription-email.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {!! __('shop::app.mail.customer.subscription.greeting') !!} -
- -
- {!! __('shop::app.mail.customer.subscription.summary') !!} -
- -
- - {!! __('shop::app.mail.customer.subscription.unsubscribe') !!} - -
-
- -@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 deleted file mode 100644 index 4d616875f..000000000 --- a/resources/themes/shop/views/emails/customer/update-password.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-

- {{ __('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 deleted file mode 100644 index fda82f400..000000000 --- a/resources/themes/shop/views/emails/customer/verification-email.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {!! __('shop::app.mail.customer.verification.heading') !!} -
- -
- {!! __('shop::app.mail.customer.verification.summary') !!} -
- -
- - {!! __('shop::app.mail.customer.verification.verify') !!} - -
-
- -@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 deleted file mode 100644 index 2d435e7ab..000000000 --- a/resources/themes/shop/views/emails/layouts/logo.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@if ($logo = core()->getCurrentChannel()->logo_url) - {{ config('app.name') }} -@else - {{ config('app.name') }} -@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 deleted file mode 100644 index 9451f8cf1..000000000 --- a/resources/themes/shop/views/emails/layouts/master.blade.php +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - -
-
- {{ $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 deleted file mode 100644 index 6009ab0d8..000000000 --- a/resources/themes/shop/views/emails/sales/new-admin-order.blade.php +++ /dev/null @@ -1,221 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
- - {{ __('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 -
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('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') }}
- {{ $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 }} -
-
-
- -
-
- {{ __('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) }} - -
-
- -
-

- {!! - __('shop::app.mail.order.help', [ - 'support_email' => '' . config('mail.admin.address') . '' - ]) - !!} -

- -

- {{ __('shop::app.mail.order.thanks') }} -

-
-
-@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 deleted file mode 100644 index 487d297ca..000000000 --- a/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php +++ /dev/null @@ -1,172 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- - 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') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - - - @endforeach - -
{{ __('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') }}
{{ $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 }}
-
-
- - {{--
-

- {!! - __('shop::app.mail.order.help', [ - 'support_email' => '' . config('mail.from.address'). '' - ]) - !!} -

-
--}} -
-@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 deleted file mode 100644 index 6a1b71ce5..000000000 --- a/resources/themes/shop/views/emails/sales/new-invoice.blade.php +++ /dev/null @@ -1,211 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - 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') }} -
-
-
- -
-
- - - - - - - - - - - @foreach ($invoice->items as $item) - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $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 }}
-
-
- -
-
- {{ __('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) }} - -
-
- -
-

- {!! - __('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-order-comment.blade.php b/resources/themes/shop/views/emails/sales/new-order-comment.blade.php deleted file mode 100644 index 0d8c19672..000000000 --- a/resources/themes/shop/views/emails/sales/new-order-comment.blade.php +++ /dev/null @@ -1,35 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
-

- {{ __('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 deleted file mode 100644 index 2db328e2b..000000000 --- a/resources/themes/shop/views/emails/sales/new-order.blade.php +++ /dev/null @@ -1,220 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
- - {{ __('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 -
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('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') }}
{{ $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 }}
-
-
- -
-
- {{ __('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 deleted file mode 100644 index 993108341..000000000 --- a/resources/themes/shop/views/emails/sales/new-refund.blade.php +++ /dev/null @@ -1,230 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - 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') }} -
-
-
- -
-
- - - - - - - - - - - @foreach ($refund->items as $item) - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $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 }} -
-
-
- -
-
- {{ __('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) }} - -
-
- -
-

- {!! - __('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-shipment.blade.php b/resources/themes/shop/views/emails/sales/new-shipment.blade.php deleted file mode 100644 index 10d93391d..000000000 --- a/resources/themes/shop/views/emails/sales/new-shipment.blade.php +++ /dev/null @@ -1,174 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - 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') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - - - - @endforeach - -
{{ __('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') }}
{{ $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 }}
-
-
- -
-

- {!! - __('shop::app.mail.order.help', [ - 'support_email' => '' . config('mail.from.address'). '' - ]) - !!} -

- -

- {{ __('shop::app.mail.order.thanks') }} -

-
-
-@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 deleted file mode 100644 index b768036de..000000000 --- a/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
- - {{ __('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') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('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') }}
- {{ $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 }} -
-
-
- -
-
- {{ __('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 deleted file mode 100644 index 494c2747c..000000000 --- a/resources/themes/shop/views/emails/sales/order-cancel.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
- - {{ __('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') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('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') }}
- {{ $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 }} -
-
-
- -
-
- {{ __('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 deleted file mode 100644 index d78938fdb..000000000 --- a/resources/themes/shop/views/error.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -@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 deleted file mode 100644 index f12e056c3..000000000 --- a/resources/themes/shop/views/errors/401.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.401.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
{{ __('admin::app.error.401.name') }}
- -
- {{ __('admin::app.error.401.title') }} -
- -
- {{ __('admin::app.error.401.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@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 deleted file mode 100644 index 6d61554d5..000000000 --- a/resources/themes/shop/views/errors/403.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.403.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
{{ __('admin::app.error.403.name') }}
- -
- {{ __('admin::app.error.403.title') }} -
- -
- {{ __('admin::app.error.403.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@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 deleted file mode 100644 index 6f34dee9c..000000000 --- a/resources/themes/shop/views/errors/404.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.404.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
- {{ __('admin::app.error.404.name') }} -
- -
- {{ __('admin::app.error.404.title') }} -
- -
- {{ __('admin::app.error.404.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@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 deleted file mode 100644 index 2ae0f5a41..000000000 --- a/resources/themes/shop/views/errors/500.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.500.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
- {{ __('admin::app.error.500.name') }} -
- -
- {{ __('admin::app.error.500.title') }} -
- -
- {{ __('admin::app.error.500.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@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 deleted file mode 100644 index 40d93e596..000000000 --- a/resources/themes/shop/views/errors/503.blade.php +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - 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 deleted file mode 100644 index 85fe7368a..000000000 --- a/resources/themes/shop/views/guest/compare/compare-products.blade.php +++ /dev/null @@ -1,342 +0,0 @@ -@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 deleted file mode 100644 index 08cd183db..000000000 --- a/resources/themes/shop/views/guest/compare/index.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@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 deleted file mode 100644 index be3b6a35b..000000000 --- a/resources/themes/shop/views/guest/wishlist/index.blade.php +++ /dev/null @@ -1,3 +0,0 @@ - \ 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 deleted file mode 100644 index 654a02043..000000000 --- a/resources/themes/shop/views/home/featured-products.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@if (count(app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts())) - -@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 deleted file mode 100644 index b3021bcf3..000000000 --- a/resources/themes/shop/views/home/index.blade.php +++ /dev/null @@ -1,53 +0,0 @@ -@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 deleted file mode 100644 index 5a31b168c..000000000 --- a/resources/themes/shop/views/home/new-products.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@if (count(app('Webkul\Product\Repositories\ProductRepository')->getNewProducts())) - -@endif diff --git a/resources/themes/shop/views/home/news-updates.blade.php b/resources/themes/shop/views/home/news-updates.blade.php deleted file mode 100644 index 4cb478208..000000000 --- a/resources/themes/shop/views/home/news-updates.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
- -
-
-
- -
-
- -
-
-
-
diff --git a/resources/themes/shop/views/home/slider.blade.php b/resources/themes/shop/views/home/slider.blade.php deleted file mode 100644 index 40af4726f..000000000 --- a/resources/themes/shop/views/home/slider.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@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 deleted file mode 100644 index 5d0687bbe..000000000 --- a/resources/themes/shop/views/index.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@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 deleted file mode 100644 index 493d12e3f..000000000 --- a/resources/themes/shop/views/layouts/footer/footer.blade.php +++ /dev/null @@ -1,91 +0,0 @@ - diff --git a/resources/themes/shop/views/layouts/header/index.blade.php b/resources/themes/shop/views/layouts/header/index.blade.php deleted file mode 100644 index 333b2899e..000000000 --- a/resources/themes/shop/views/layouts/header/index.blade.php +++ /dev/null @@ -1,415 +0,0 @@ -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 deleted file mode 100644 index 0e9e3085a..000000000 --- a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php +++ /dev/null @@ -1,138 +0,0 @@ -{!! 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 deleted file mode 100644 index 83f6c798b..000000000 --- a/resources/themes/shop/views/layouts/master.blade.php +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - @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 deleted file mode 100644 index 7350ddb24..000000000 --- a/resources/themes/shop/views/partials/pagination.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@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 deleted file mode 100644 index 2c4bcfa76..000000000 --- a/resources/themes/shop/views/products/add-buttons.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@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 - -
-
- @csrf - - - -
- - @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 deleted file mode 100644 index 6887730ee..000000000 --- a/resources/themes/shop/views/products/add-to-cart.blade.php +++ /dev/null @@ -1,12 +0,0 @@ -{!! 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 - - - -{!! 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 deleted file mode 100644 index 88af2a27d..000000000 --- a/resources/themes/shop/views/products/add-to.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -{!! 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 deleted file mode 100644 index 74bba5273..000000000 --- a/resources/themes/shop/views/products/buy-now.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} - - - -{!! 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 deleted file mode 100644 index 6e371e981..000000000 --- a/resources/themes/shop/views/products/compare.blade.php +++ /dev/null @@ -1,129 +0,0 @@ - - -@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 deleted file mode 100644 index cd950fb94..000000000 --- a/resources/themes/shop/views/products/index.blade.php +++ /dev/null @@ -1,135 +0,0 @@ -@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 deleted file mode 100644 index 3acde17f7..000000000 --- a/resources/themes/shop/views/products/list/card.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} - -
- - getProductBaseImage($product); ?> - - @if ($product->new) -
- {{ __('shop::app.products.new') }} -
- @endif - -
- - - -
- -
- - - - @include ('shop::products.price', ['product' => $product]) - - @include('shop::products.add-buttons', ['product' => $product]) -
- -
- -{!! 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 deleted file mode 100644 index 96ebd303c..000000000 --- a/resources/themes/shop/views/products/list/layered-navigation.blade.php +++ /dev/null @@ -1,219 +0,0 @@ -@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 deleted file mode 100644 index 44042ae84..000000000 --- a/resources/themes/shop/views/products/list/toolbar.blade.php +++ /dev/null @@ -1,83 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!} - -
- -
- - {{ __('shop::app.products.pager-info', ['showing' => $products->firstItem() . '-' . $products->lastItem(), 'total' => $products->total()]) }} - - - - - - -
- -
- -
- @if ($toolbarHelper->isModeActive('grid')) - - - - @else - - - - @endif - - @if ($toolbarHelper->isModeActive('list')) - - - - @else - - - - @endif -
- -
- - - -
- -
- - - -
- -
- -
- -{!! 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 deleted file mode 100644 index bed2c056d..000000000 --- a/resources/themes/shop/views/products/price.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! 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 deleted file mode 100644 index 5c9491b1f..000000000 --- a/resources/themes/shop/views/products/review.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -@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 deleted file mode 100644 index 53f8de210..000000000 --- a/resources/themes/shop/views/products/reviews/create.blade.php +++ /dev/null @@ -1,117 +0,0 @@ -@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') - -
- -
-
- @csrf - -
- {{ __('shop::app.reviews.write-review') }} -
- -
- - -
- - - - - -
- - - -
@{{ errors.first('rating') }}
-
- -
- - - @{{ errors.first('title') }} -
- - @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user()) -
- - - @{{ errors.first('name') }} -
- @endif - -
- - - @{{ errors.first('comment') }} -
- - - -
-
-
- -
- -@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 deleted file mode 100644 index 45ae15a7a..000000000 --- a/resources/themes/shop/views/products/reviews/index.blade.php +++ /dev/null @@ -1,163 +0,0 @@ -@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 -
-
- -
-
- {{ __('shop::app.reviews.rating-reviews') }} - - @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) - - {{ __('shop::app.products.write-review-btn') }} - - @endif -
- -
-
- - {{ $reviewHelper->getAverageRating($product) }} - - - - @for ($i = 1; $i <= 5; $i++) - - @if($i <= round($reviewHelper->getAverageRating($product))) - - @else - - @endif - - @endfor - - -
- {{ __('shop::app.reviews.ratingreviews', [ - 'rating' => $reviewHelper->getAverageRating($product), - 'review' => $reviewHelper->getTotalReviews($product)]) - }} -
-
- -
- - @foreach ($reviewHelper->getPercentageRating($product) as $key => $count) -
-
-
{{ __('shop::app.reviews.star') }}
-
-
-
-
- - {{ __('shop::app.reviews.percentage', ['percentage' => $count]) }} - -
-
-
- @endforeach - -
-
- -
-
- - @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 - -
-
-
-
- -
- -@endsection - -@push('scripts') - - - -@endpush diff --git a/resources/themes/shop/views/products/sharelinks.blade.php b/resources/themes/shop/views/products/sharelinks.blade.php deleted file mode 100644 index fd0807215..000000000 --- a/resources/themes/shop/views/products/sharelinks.blade.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/resources/themes/shop/views/products/view.blade.php b/resources/themes/shop/views/products/view.blade.php deleted file mode 100644 index 946da0a51..000000000 --- a/resources/themes/shop/views/products/view.blade.php +++ /dev/null @@ -1,299 +0,0 @@ -@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]) !!} - -
- -
- -
- @csrf() - - - - @include ('shop::products.view.gallery') - -
- -
- {{ $product->name }} -
- - @include ('shop::products.review', ['product' => $product]) - - @include ('shop::products.price', ['product' => $product]) - - @if (count($product->getTypeInstance()->getCustomerGroupPricingOffers()) > 0) -
- @foreach ($product->getTypeInstance()->getCustomerGroupPricingOffers() as $offers) -

{{ $offers }}

- @endforeach -
- @endif - - @include ('shop::products.view.stock', ['product' => $product]) - - {!! view_render_event('bagisto.shop.products.view.short_description.before', ['product' => $product]) !!} - -
- {!! $product->short_description !!} -
- - {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} - - - {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} - - @if ($product->getTypeInstance()->showQuantityBox()) - - @else - - @endif - - {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} - - @include ('shop::products.view.configurable-options') - - @include ('shop::products.view.downloadable') - - @include ('shop::products.view.grouped-products') - - @include ('shop::products.view.bundle-options') - - {!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!} - - -
- {{ __('shop::app.products.description') }} - -
- -
-
- {!! $product->description !!} -
-
-
- - {!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!} - - @include ('shop::products.view.attributes') - - @include ('shop::products.view.reviews') -
-
-
-
- - @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 deleted file mode 100644 index e64fb55fb..000000000 --- a/resources/themes/shop/views/products/view/attributes.blade.php +++ /dev/null @@ -1,45 +0,0 @@ -@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']) - - @else - - @endif - @if ($attribute['type'] == 'file' && $attribute['value']) - - @elseif ($attribute['type'] == 'image' && $attribute['value']) - - @else - - @endif - - @endforeach - -
{{ $attribute['label'] }}{{ $attribute['admin_name'] }} - - - - - - - - {{ $attribute['value'] }}
-
-
-@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 deleted file mode 100644 index 12ca3e667..000000000 --- a/resources/themes/shop/views/products/view/bundle-options.blade.php +++ /dev/null @@ -1,236 +0,0 @@ -@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 deleted file mode 100644 index 10c05b6cc..000000000 --- a/resources/themes/shop/views/products/view/configurable-options.blade.php +++ /dev/null @@ -1,333 +0,0 @@ -@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 deleted file mode 100644 index f7b3e03b8..000000000 --- a/resources/themes/shop/views/products/view/cross-sells.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -@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 deleted file mode 100644 index 7f41196f7..000000000 --- a/resources/themes/shop/views/products/view/downloadable.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@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()) - - @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 deleted file mode 100644 index 39a5c0c0b..000000000 --- a/resources/themes/shop/views/products/view/gallery.blade.php +++ /dev/null @@ -1,219 +0,0 @@ -@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 deleted file mode 100644 index 1f2b36dcc..000000000 --- a/resources/themes/shop/views/products/view/grouped-products.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@if ($product->type == 'grouped') - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} - -
- @if ($product->grouped_products->count()) -
- -
- @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 deleted file mode 100644 index cb621c137..000000000 --- a/resources/themes/shop/views/products/view/product-add.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -{!! 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 deleted file mode 100644 index 722b4bf05..000000000 --- a/resources/themes/shop/views/products/view/related-products.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -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 deleted file mode 100644 index fbd627628..000000000 --- a/resources/themes/shop/views/products/view/reviews.blade.php +++ /dev/null @@ -1,98 +0,0 @@ -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') - -{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!} - -@if ($total = $reviewHelper->getTotalReviews($product)) -
-
- {{ __('shop::app.products.reviews-title') }} -
- -
-
- - - {{ $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()) -
-
- - {{ __('shop::app.products.write-review-btn') }} - -
-
- @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 deleted file mode 100644 index 391462011..000000000 --- a/resources/themes/shop/views/products/view/stock.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -{!! 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 deleted file mode 100644 index 0f85e80e2..000000000 --- a/resources/themes/shop/views/products/view/up-sells.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -{!! 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 deleted file mode 100644 index a91b33d2c..000000000 --- a/resources/themes/shop/views/products/wishlist.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -@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 deleted file mode 100644 index 1f6543788..000000000 --- a/resources/themes/shop/views/search/search.blade.php +++ /dev/null @@ -1,87 +0,0 @@ -@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 deleted file mode 100644 index 86dede849..000000000 --- a/resources/themes/velocity/views/UI/header.blade.php +++ /dev/null @@ -1,575 +0,0 @@ -@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 deleted file mode 100644 index ba03388ed..000000000 --- a/resources/themes/velocity/views/UI/particals.blade.php +++ /dev/null @@ -1,475 +0,0 @@ -@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 deleted file mode 100644 index 6d4ad411d..000000000 --- a/resources/themes/velocity/views/checkout/cart/coupon.blade.php +++ /dev/null @@ -1,117 +0,0 @@ -@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 deleted file mode 100644 index f8ed0ca57..000000000 --- a/resources/themes/velocity/views/checkout/cart/index.blade.php +++ /dev/null @@ -1,311 +0,0 @@ -@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 deleted file mode 100644 index df0db3e4b..000000000 --- a/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - -
\ 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 deleted file mode 100644 index 0e2f0e847..000000000 --- a/resources/themes/velocity/views/checkout/onepage.blade.php +++ /dev/null @@ -1,762 +0,0 @@ -@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 deleted file mode 100644 index 89c9a00aa..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -
- - - - - - - -
\ 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 deleted file mode 100644 index 5d1790cda..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php +++ /dev/null @@ -1,243 +0,0 @@ -
-
- - -
-

- {{ __('shop::app.checkout.onepage.billing-address') }} -

- -
- -
-
-
-
-
- -
- - - - -
- -
-
- @{{ addresses.first_name }} @{{ addresses.last_name }}, -
- -
    -
  • @{{ addresses.address1 }},
  • -
  • @{{ addresses.postcode }} @{{ addresses.city }},
  • -
  • @{{ addresses.state }},
  • -
  • @{{ addresses.country }}
  • -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
-
-
- -
-
-
-
- - add_circle_outline - - {{ __('shop::app.checkout.onepage.new-address') }} -
-
-
-
-
- -
- - @{{ errors.first('address-form.billing[address_id]') }} - -
- - @if ($cart->haveStockableItems()) -
- - - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - - -
- @endif -
-
-
- -
- -
-

- {{ __('shop::app.checkout.onepage.billing-address') }} -

- - -
- - -
- @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth - - @include('shop::checkout.onepage.customer-new-form', [ - 'billing' => true - ]) -
-
-
- - @if ($cart->haveStockableItems()) -
- - - -
-

- {{ __('shop::app.checkout.onepage.shipping-address') }} -

- -
- -
-
- -
-
-
- - - -
- -
-
- @{{ addresses.first_name }} @{{ addresses.last_name }}, -
- -
    -
  • @{{ addresses.address1 }},
  • -
  • @{{ addresses.city }},
  • -
  • @{{ addresses.state }},
  • -
  • @{{ addresses.country }} @{{ addresses.postcode }}
  • -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
-
-
- -
-
-
-
- - add_circle_outline - - {{ __('shop::app.checkout.onepage.new-address') }} -
-
-
-
- -
- - @{{ errors.first('address-form.shipping[address_id]') }} - -
-
-
-
- -
- - - -
-

- {{ __('shop::app.checkout.onepage.shipping-address') }} -

- -
- -
- @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth - - @include('shop::checkout.onepage.customer-new-form', [ - 'shipping' => true - ]) -
-
-
- @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 deleted file mode 100644 index 92732accc..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php +++ /dev/null @@ -1,541 +0,0 @@ -@php - $isCustomer = auth()->guard('customer')->check(); -@endphp - - @if (isset($shipping) && $shipping) -
- - - - - - @{{ errors.first('address-form.shipping[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[email]') }} - -
- -
- - - - - - @{{ 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 - -
- - - - - - @{{ errors.first('address-form.shipping[city]') }} - -
- -
- - - - -
- -
- - - @{{ errors.first('address-form.shipping[country]') }} - -
- - -
- - - - - - -
- -
- - - @{{ errors.first('address-form.shipping[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[phone]') }} - -
- - @auth('customer') -
- - - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - - -
- @endauth - - @elseif (isset($billing) && $billing) -
- - - - - - @{{ errors.first('address-form.billing[company_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[email]') }} - -
- - {{-- for customer login checkout --}} - @if (! $isCustomer) - @include('shop::checkout.onepage.customer-checkout') - @endif - -
- - - - - - @{{ 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 - -
- - - - - - @{{ errors.first('address-form.billing[city]') }} - -
- -
- - - - -
- -
- - - @{{ errors.first('address-form.billing[country]') }} - -
- -
- - - - - -
- -
- - - @{{ errors.first('address-form.billing[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[phone]') }} - -
- - @if ($cart->haveStockableItems()) -
- - - - - {{ __('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 deleted file mode 100644 index be0f4af35..000000000 --- a/resources/themes/velocity/views/checkout/onepage/payment.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
- -
- -

- {{ __('shop::app.checkout.onepage.payment-methods') }} -

- - -
- -
- @foreach ($paymentMethods as $payment) - - {!! view_render_event('bagisto.shop.checkout.payment-method.before', ['payment' => $payment]) !!} - -
-
- -
- -
-
- - {{ $payment['method_title'] }} - -
- -
- {{ __($payment['description']) }} -
- - - - @if (! empty($additionalDetails)) -
- -

{{ $additionalDetails['value'] }}

-
- @endif -
-
- - {!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!} - - @endforeach - - - @{{ errors.first('payment-form.payment[method]') }} - -
-
-
-
\ 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 deleted file mode 100644 index c4a089206..000000000 --- a/resources/themes/velocity/views/checkout/onepage/review.blade.php +++ /dev/null @@ -1,176 +0,0 @@ -
- -
-

- {{ __('shop::app.checkout.onepage.summary') }} -

- -
- -
-
- @if ($billingAddress = $cart->billing_address) -
-
- {{ __('shop::app.checkout.onepage.billing-address') }} -
- -
-
    -
  • - {{ $billingAddress->company_name ?? '' }} -

  • -
  • - {{ $billingAddress->name }} -

  • -
  • - {{ $billingAddress->address1 }},
    {{ $billingAddress->state }} -

  • -
  • - {{ core()->country_name($billingAddress->country) }} {{ $billingAddress->postcode }} -

  • - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $billingAddress->phone }} -
  • -
-
-
- @endif - - @if ($cart->haveStockableItems() && $shippingAddress = $cart->shipping_address) -
-
- {{ __('shop::app.checkout.onepage.shipping-address') }} -
- -
-
    -
  • - {{ $shippingAddress->company_name ?? '' }} -

  • -
  • - {{ $shippingAddress->name }} -

  • -
  • - {{ $shippingAddress->address1 }},
    {{ $shippingAddress->state }} -

  • -
  • - {{ core()->country_name($shippingAddress->country) }} {{ $shippingAddress->postcode }} -

  • - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $shippingAddress->phone }} -
  • -
-
-
- @endif - -
- -
-

{{ __('velocity::app.checkout.items') }}

- - @foreach ($cart->items as $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} - -
- {{ $item->product->name }} -
- - {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} - -
- {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} - - {{ core()->currency($item->base_price) }} - - {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} - - - - {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} - - {{ $item->quantity }} ({{ __('shop::app.checkout.onepage.quantity') }}) - - {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} -
- -
- {{ core()->currency($item->base_total) }} -
- - {!! view_render_event('bagisto.shop.checkout.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.options.after', ['item' => $item]) !!} -
-
- @endforeach -
- -
-
- @if ($cart->haveStockableItems()) -
-
- -
- -
-

- {{ core()->currency($cart->selected_shipping_rate->base_price) }} -

- -
- {{ $cart->selected_shipping_rate->method_title }} -
-
-
- @endif - -
-
- -
- -
-

- {{ core()->getConfigData('sales.paymentmethods.' . $cart->payment->method . '.title') }} -

- - {{ __('shop::app.customer.account.order.view.payment-method') }} -
-
- - -
- -
- -
-
-
-
-
\ 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 deleted file mode 100644 index 044e8bd91..000000000 --- a/resources/themes/velocity/views/checkout/onepage/shipping.blade.php +++ /dev/null @@ -1,60 +0,0 @@ -
-
- -
-

- {{ __('shop::app.checkout.onepage.shipping-method') }} -

- -
- -
- - @foreach ($shippingRateGroups as $rateGroup) - - {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!} - @foreach ($rateGroup['rates'] as $rate) -
-
- -
- -
-
- {{ core()->currency($rate->base_price) }} -
- -
- {{ $rate->method_title }} - {{ __($rate->method_description) }} -
-
-
- - @endforeach - - {!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!} - - @endforeach - - - - @{{ errors.first('shipping-form.shipping_method') }} - -
-
-
-
\ 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 deleted file mode 100644 index d67def693..000000000 --- a/resources/themes/velocity/views/checkout/success.blade.php +++ /dev/null @@ -1,32 +0,0 @@ -@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 deleted file mode 100644 index 5153fbbe2..000000000 --- a/resources/themes/velocity/views/checkout/total/summary.blade.php +++ /dev/null @@ -1,60 +0,0 @@ -
-

{{ __('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 deleted file mode 100644 index 088b3a453..000000000 --- a/resources/themes/velocity/views/cms/page.blade.php +++ /dev/null @@ -1,25 +0,0 @@ -@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 deleted file mode 100644 index 6776aa123..000000000 --- a/resources/themes/velocity/views/customers/account/address/country-state.blade.php +++ /dev/null @@ -1,98 +0,0 @@ - - -@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 deleted file mode 100644 index f4843b1e4..000000000 --- a/resources/themes/velocity/views/customers/account/address/create.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@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') !!} - -
- -
- @csrf - - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.before') !!} - -
- - - @{{ errors.first('company_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.company_name.after') !!} - -
- - - @{{ errors.first('first_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.first_name.after') !!} - -
- - - @{{ errors.first('last_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.last_name.after') !!} - -
- - - @{{ errors.first('vat_id') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.vat_id.after') !!} - - @php - $addresses = explode(PHP_EOL, (old('address1') ?? '')); - @endphp - -
- - - @{{ errors.first('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 - - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.street-address.after') !!} - - @include ('shop::customers.account.address.country-state', ['countryCode' => old('country'), 'stateCode' => old('state')]) - - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.country-state.after') !!} - -
- - - @{{ errors.first('city') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.city.after') !!} - -
- - - @{{ errors.first('postcode') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.postcode.after') !!} - -
- - - @{{ errors.first('phone') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.create_form_controls.after') !!} - -
- -
-
-
- - {!! 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 deleted file mode 100644 index e4c168e26..000000000 --- a/resources/themes/velocity/views/customers/account/address/edit.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@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]) !!} - -
- -
- @method('PUT') - @csrf - - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.before', ['address' => $address]) !!} - - address1)); ?> - -
- - - @{{ errors.first('company_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.company_name.after') !!} - -
- - - @{{ errors.first('first_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.first_name.after') !!} - -
- - - @{{ errors.first('last_name') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.last_name.after') !!} - -
- - - @{{ errors.first('vat_id') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.vat_id.after') !!} - -
- - - @{{ errors.first('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 - - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.street-addres.after') !!} - - @include ('shop::customers.account.address.country-state', ['countryCode' => old('country') ?? $address->country, 'stateCode' => old('state') ?? $address->state]) - - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.country-state.after') !!} - -
- - - @{{ errors.first('city') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.create.after') !!} - -
- - - @{{ errors.first('postcode') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.postcode.after') !!} - -
- - - @{{ errors.first('phone') }} -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.after', ['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 deleted file mode 100644 index 243272120..000000000 --- a/resources/themes/velocity/views/customers/account/address/index.blade.php +++ /dev/null @@ -1,99 +0,0 @@ -@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 - -
- - {{ __('shop::app.customer.account.address.index.title') }} - - @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) -
-
-
-
{{ $address->first_name }} {{ $address->last_name }}
- -
    - {{--
  • {{ $address->company_name }}
  • --}} -
  • {{ $address->address1 }},
  • -
  • {{ $address->city }},
  • -
  • {{ $address->state }},
  • -
  • {{ core()->country_name($address->country) }} {{ $address->postcode }}
  • -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : {{$address->phone }} -
  • -
- - - {{ __('shop::app.customer.account.address.index.edit') }} - - - - - {{ __('shop::app.customer.account.address.index.delete') }} - -
-
-
- @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 deleted file mode 100644 index 8c669d10e..000000000 --- a/resources/themes/velocity/views/customers/account/compare/index.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -@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 deleted file mode 100644 index 659886d1e..000000000 --- a/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -@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 deleted file mode 100644 index 7e7f0cb69..000000000 --- a/resources/themes/velocity/views/customers/account/index.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@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 deleted file mode 100644 index e283ab63b..000000000 --- a/resources/themes/velocity/views/customers/account/orders/index.blade.php +++ /dev/null @@ -1,31 +0,0 @@ -@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 deleted file mode 100644 index fd64e3675..000000000 --- a/resources/themes/velocity/views/customers/account/orders/view.blade.php +++ /dev/null @@ -1,582 +0,0 @@ -@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]) !!} - -
- - - -
-
-
- - - - {{ core()->formatDate($order->created_at, 'd M Y') }} - -
-
-
- -
-
- {{ __('shop::app.customer.account.order.view.products-ordered') }} -
- -
-
- - - - - - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - - - - - - - - - @endforeach - - -
{{ __('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') }}
- {{ $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) }} -
-
- -
- - - - - - - - @if ($order->haveStockableItems()) - - - - - @endif - - @if ($order->base_discount_amount > 0) - - - - - @endif - - - - - - - - - - - - - - - - - - - - - - - - - @if($order->status !== 'canceled') - - @else - - @endif - - -
{{ __('shop::app.customer.account.order.view.subtotal') }} - - - {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.shipping-handling') }} - - - {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.discount') }} - @if ($order->coupon_code) - ({{ $order->coupon_code }}) - @endif - - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('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') }} - - - {{ core()->formatPrice($order->total_due, $order->order_currency_code) }}{{ core()->formatPrice(0.00, $order->order_currency_code) }}
-
-
-
-
- - @if ($order->invoices->count()) - - - @foreach ($order->invoices as $invoice) - -
-
- {{ __('shop::app.customer.account.order.view.individual-invoice', ['invoice_id' => $invoice->id]) }} - - - {{ __('shop::app.customer.account.order.view.print') }} - -
- -
-
- - - - - - - - - - - - - - - - @foreach ($invoice->items as $item) - - - - - - - - - - - - - - - - @endforeach - -
{{ __('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') }}
- {{ $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) }} -
-
- -
- - - - - - - - - - - - @if ($order->base_discount_amount > 0) - - - - - @endif - - - - - - - - - - -
{{ __('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) }}
{{ __('shop::app.customer.account.order.view.discount') }} - - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('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) - -
-
-
- - - - {{ $shipment->track_number }} - -
-
-
- -
-
- {{ __('shop::app.customer.account.order.view.individual-shipment', ['shipment_id' => $shipment->id]) }} -
- -
- -
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - @endforeach - - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->sku }}{{ $item->name }}{{ $item->qty }}
-
-
-
- - @endforeach - -
- @endif - - @if ($order->refunds->count()) - - - @foreach ($order->refunds as $refund) - -
-
- {{ __('shop::app.customer.account.order.view.individual-refund', ['refund_id' => $refund->id]) }} -
- -
-
- - - - - - - - - - - - - - - - @foreach ($refund->items as $item) - - - - - - - - - - @endforeach - - @if (! $refund->items->count()) - - - - @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') }}
{{ $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) }}
{{ __('shop::app.common.no-result-found') }}
-
- -
- - - - - - - @if ($refund->shipping_amount > 0) - - - - - @endif - - @if ($refund->discount_amount > 0) - - - - - @endif - - @if ($refund->tax_amount > 0) - - - - - @endif - - - - - - - - - - - - - - - -
{{ __('shop::app.customer.account.order.view.subtotal') }} - - - {{ core()->formatPrice($refund->sub_total, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.shipping-handling') }} - - - {{ core()->formatPrice($refund->shipping_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.discount') }} - - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}
{{ __('shop::app.customer.account.order.view.tax') }} - - - {{ core()->formatPrice($refund->tax_amount, $order->order_currency_code) }}
{{ __('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['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 deleted file mode 100644 index d0bab2b38..000000000 --- a/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php +++ /dev/null @@ -1,74 +0,0 @@ -
-
-
- {{ substr(auth('customer')->user()->first_name, 0, 1) }} -
-
{{ auth('customer')->user()->first_name . ' ' . auth('customer')->user()->last_name}}
-
{{ auth('customer')->user()->email }}
-
- - @foreach ($menu->items as $menuItem) - - @endforeach -
- -@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 deleted file mode 100644 index 14c70dd45..000000000 --- a/resources/themes/velocity/views/customers/account/profile/edit.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@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]) !!} - -
- - -
- - @{{ errors.first('first_name') }} -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.first_name.after', ['customer' => $customer]) !!} - -
- - -
- -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.last_name.after', ['customer' => $customer]) !!} - -
- - -
- - -
- -
- - @{{ errors.first('gender') }} -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.gender.after', ['customer' => $customer]) !!} - -
- - -
- - - - @{{ errors.first('date_of_birth') }} - -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.date_of_birth.after', ['customer' => $customer]) !!} - -
- - -
- - @{{ errors.first('email') }} -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.email.after', ['customer' => $customer]) !!} - -
- - -
- - @{{ errors.first('phone') }} -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.phone.after', ['customer' => $customer]) !!} - -
- - -
- -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.oldpassword.after', ['customer' => $customer]) !!} - -
- - -
- - - - @{{ errors.first('password') }} - -
-
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.password.after', ['customer' => $customer]) !!} - -
- - -
- - - - @{{ 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]) !!} - - -
-
- - {!! 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 deleted file mode 100644 index 10d9a2c1b..000000000 --- a/resources/themes/velocity/views/customers/account/profile/index.blade.php +++ /dev/null @@ -1,116 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.profile.index.title') }} -@endsection - -@push('css') - -@endpush - - -@section('page-detail-wrapper') -
- - - - - - - {{ __('shop::app.customer.account.profile.index.title') }} - - - - - {{ __('shop::app.customer.account.profile.index.edit') }} - - -
- - {!! 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]) - !!} - - - - - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.table.first_name.after', ['customer' => $customer]) !!} - - - - - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.table.last_name.after', ['customer' => $customer]) !!} - - - - - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.table.gender.after', ['customer' => $customer]) !!} - - - - - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.table.date_of_birth.after', ['customer' => $customer]) !!} - - - - - - - {!! view_render_event( - 'bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer]) - !!} - -
{{ __('shop::app.customer.account.profile.fname') }}{{ $customer->first_name }}
{{ __('shop::app.customer.account.profile.lname') }}{{ $customer->last_name }}
{{ __('shop::app.customer.account.profile.gender') }}{{ $customer->gender ?? '-' }}
{{ __('shop::app.customer.account.profile.dob') }}{{ $customer->date_of_birth ?? '-' }}
{{ __('shop::app.customer.account.profile.email') }}{{ $customer->email }}
-
- - - -
- @csrf - - -

{{ __('shop::app.customer.account.address.index.enter-password') }} -

- - -
-
- - - @{{ errors.first('password') }} -
- -
- -
-
-
-
-
- - {!! 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 deleted file mode 100644 index 9affd9951..000000000 --- a/resources/themes/velocity/views/customers/account/reviews/index.blade.php +++ /dev/null @@ -1,118 +0,0 @@ -@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) -
- - {{ __('shop::app.customer.account.wishlist.deleteall') }} - -
- @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 deleted file mode 100644 index aa8bf2f6c..000000000 --- a/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php +++ /dev/null @@ -1,63 +0,0 @@ -@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)) -
- - {{ __('shop::app.customer.account.wishlist.deleteall') }} - -
- @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 deleted file mode 100644 index 9242d3077..000000000 --- a/resources/themes/velocity/views/customers/session/index.blade.php +++ /dev/null @@ -1,105 +0,0 @@ -@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') !!} - -
-
-
-

- {{ __('velocity::app.customer.login-form.customer-login')}} -

- - - - -
- -
-
-

- {{ __('velocity::app.customer.login-form.registered-user')}} -

- -

- {{ __('velocity::app.customer.login-form.form-login-text')}} -

-
- -
- - {{ csrf_field() }} - - {!! view_render_event('bagisto.shop.customers.login_form_controls.before') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- -
- - - - - - @{{ errors.first('password') }} - - - - {{ __('shop::app.customer.login-form.forgot_pass') }} - - -
- @if (Cookie::has('enable-resend')) - @if (Cookie::get('enable-resend') == true) - {{ __('shop::app.customer.login-form.resend-verification') }} - @endif - @endif -
-
- - {!! view_render_event('bagisto.shop.customers.login_form_controls.after') !!} - - - -
-
-
-
- - {!! 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 deleted file mode 100644 index bf4e8c14e..000000000 --- a/resources/themes/velocity/views/customers/signup/forgot-password.blade.php +++ /dev/null @@ -1,71 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.forgot-password.page_title') }} -@endsection - -@section('content-wrapper') -
-
-
-
-

- {{ __('velocity::app.customer.forget-password.forgot-password')}} -

- - - - -
- -
-

- {{ __('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') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- - {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!} - - -
- - {!! 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 deleted file mode 100644 index bc5dfbd1b..000000000 --- a/resources/themes/velocity/views/customers/signup/index.blade.php +++ /dev/null @@ -1,160 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.signup-form.page-title') }} -@endsection - -@section('content-wrapper') -
-
-
-
-

- {{ __('velocity::app.customer.signup-form.user-registration')}} -

- - - - -
- -
-

- {{ __('velocity::app.customer.signup-form.become-user')}} -

- -

- {{ __('velocity::app.customer.signup-form.form-sginup-text')}} -

- - {!! view_render_event('bagisto.shop.customers.signup.before') !!} - -
- - {{ csrf_field() }} - - {!! view_render_event('bagisto.shop.customers.signup_form_controls.before') !!} - -
- - - - - - @{{ errors.first('first_name') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.firstname.after') !!} - -
- - - - - - @{{ errors.first('last_name') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.lastname.after') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.email.after') !!} - -
- - - - - - @{{ errors.first('password') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.password.after') !!} - -
- - - - - - @{{ errors.first('password_confirmation') }} - -
- - @if (core()->getConfigData('customer.settings.newsletter.subscription')) -
- - {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }} -
- @endif - - {!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!} - - -
- - {!! view_render_event('bagisto.shop.customers.signup.after') !!} -
-
-
-
-@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 deleted file mode 100644 index db4a7b74d..000000000 --- a/resources/themes/velocity/views/customers/signup/reset-password.blade.php +++ /dev/null @@ -1,101 +0,0 @@ -@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.forget_password.before') !!} - -
- - {{ csrf_field() }} - - - - {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.before') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- -
- - - - - - @{{ errors.first('password') }} - -
- -
- - - - - - @{{ errors.first('confirm_password') }} - -
- - {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!} - - -
- - - {!! view_render_event('bagisto.shop.customers.forget_password.after') !!} -
-
-
-
- {!! 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 deleted file mode 100644 index 456cb893d..000000000 --- a/resources/themes/velocity/views/errors/404.blade.php +++ /dev/null @@ -1,54 +0,0 @@ -@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') }} -

-
- -
-
- - @if ($logo = core()->getCurrentChannel()->logo_url) -
- @else -
- @endif -
- - -
- > -
- - - {{ __('velocity::app.error.go-to-home') }} - -
-
-
- -@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 deleted file mode 100644 index 296dae42f..000000000 --- a/resources/themes/velocity/views/guest/compare/compare-products.blade.php +++ /dev/null @@ -1,332 +0,0 @@ -@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 deleted file mode 100644 index 78b233fee..000000000 --- a/resources/themes/velocity/views/guest/compare/index.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@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 deleted file mode 100644 index 4ca8b61e4..000000000 --- a/resources/themes/velocity/views/guest/wishlist/index.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@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 deleted file mode 100644 index 690b19f69..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -@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 - - - @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 deleted file mode 100644 index ee81fb7ab..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -@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 deleted file mode 100644 index 964ad2989..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@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 - - - @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 deleted file mode 100644 index fbb88d695..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@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 - - - @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 deleted file mode 100644 index 71f8e7cb2..000000000 --- a/resources/themes/velocity/views/home/category-with-custom-option.blade.php +++ /dev/null @@ -1,166 +0,0 @@ -@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 - -
-
-
- -
- -
-
-
-
- -
-
-

- - {{ $category[0]->name }} - -

- -
-
-
- -
- -
- -
-
-
-
- -
-
-

- - {{ $category[1]->name }} - -

- -
-
-
-
- -
-
-
-
-
- -
-
-

- - {{ $category[2]->name }} - -

- -
-
-
-
- -
- -
-
-
-
- -
-
-

- - {{ $category[3]->name }} - -

- -
-
-
- -
- -
- -
-
- -
- @foreach ($category as $categoryItem) -
-
- -
- -
-
-
-
- -
-
-

- - {{ $categoryItem->name }} - -

- -
-
-
-
- @endforeach -
- diff --git a/resources/themes/velocity/views/home/category.blade.php b/resources/themes/velocity/views/home/category.blade.php deleted file mode 100644 index 760a46bad..000000000 --- a/resources/themes/velocity/views/home/category.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - - \ 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 deleted file mode 100644 index 954cb8d16..000000000 --- a/resources/themes/velocity/views/home/customer-reviews.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@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'] }} -

- -
- {{ __('velocity::app.products.reviewed') }}- {{$review->product->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 deleted file mode 100644 index d7a1cd137..000000000 --- a/resources/themes/velocity/views/home/featured-products.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@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 deleted file mode 100644 index 0da129418..000000000 --- a/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -@foreach ($products as $product) -
-
- - {{-- sale-button --}} - @if ($product['actual-price'] > $product['selling-price']) - - @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 - -
- - {{-- --}} - -
- -
-
-
-@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 deleted file mode 100644 index 6212c2895..000000000 --- a/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php +++ /dev/null @@ -1,28 +0,0 @@ - -@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 deleted file mode 100644 index 79de54d30..000000000 --- a/resources/themes/velocity/views/home/hot-categories.blade.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
- @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 deleted file mode 100644 index fda9c1b70..000000000 --- a/resources/themes/velocity/views/home/index.blade.php +++ /dev/null @@ -1,74 +0,0 @@ -@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 deleted file mode 100644 index c90525b94..000000000 --- a/resources/themes/velocity/views/home/new-products.blade.php +++ /dev/null @@ -1,20 +0,0 @@ -@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 deleted file mode 100644 index 82b5feb91..000000000 --- a/resources/themes/velocity/views/home/popular-categories.blade.php +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/resources/themes/velocity/views/home/product-policy.blade.php b/resources/themes/velocity/views/home/product-policy.blade.php deleted file mode 100644 index d5bab81b0..000000000 --- a/resources/themes/velocity/views/home/product-policy.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {!! $velocityMetaData->product_policy !!} -
-
diff --git a/resources/themes/velocity/views/home/slider.blade.php b/resources/themes/velocity/views/home/slider.blade.php deleted file mode 100644 index bad23e2cd..000000000 --- a/resources/themes/velocity/views/home/slider.blade.php +++ /dev/null @@ -1,69 +0,0 @@ -@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 deleted file mode 100644 index 432017c80..000000000 --- a/resources/themes/velocity/views/layouts/footer/copy-right.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php deleted file mode 100644 index 0dcdd540d..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php +++ /dev/null @@ -1,6 +0,0 @@ - - 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 deleted file mode 100644 index 213b15a26..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php +++ /dev/null @@ -1,22 +0,0 @@ -
- - - @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 deleted file mode 100644 index 1fa2db348..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - \ 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 deleted file mode 100644 index 4c81267b6..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php +++ /dev/null @@ -1,29 +0,0 @@ - \ 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 deleted file mode 100644 index dbac17c65..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - - - \ 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 deleted file mode 100644 index 71eebfb6e..000000000 --- a/resources/themes/velocity/views/layouts/footer/index.blade.php +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php deleted file mode 100644 index 6658c3459..000000000 --- a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php +++ /dev/null @@ -1,37 +0,0 @@ -@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 deleted file mode 100644 index 650ed3cf0..000000000 --- a/resources/themes/velocity/views/layouts/footer/top-brands.blade.php +++ /dev/null @@ -1,33 +0,0 @@ -@php - $brandname = app('Webkul\Velocity\Helpers\Helper'); - $topBrandsCollection = $brandname->getBrandsWithCategories(); -@endphp - -@if (! empty($topBrandsCollection)) -
-
- @if ($topBrandsCollection) -
-

{{ __('velocity::app.shop.general.top-brands') }}

-
- - - @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 deleted file mode 100644 index fe58600d6..000000000 --- a/resources/themes/velocity/views/layouts/header/index.blade.php +++ /dev/null @@ -1,22 +0,0 @@ - - -@push('scripts') - -@endpush diff --git a/resources/themes/velocity/views/layouts/master.blade.php b/resources/themes/velocity/views/layouts/master.blade.php deleted file mode 100644 index 1897dd941..000000000 --- a/resources/themes/velocity/views/layouts/master.blade.php +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {{-- 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 deleted file mode 100644 index 56d645a15..000000000 --- a/resources/themes/velocity/views/layouts/scripts.blade.php +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - -@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 deleted file mode 100644 index e69b0004f..000000000 --- a/resources/themes/velocity/views/layouts/styles.blade.php +++ /dev/null @@ -1,13 +0,0 @@ - - -@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 deleted file mode 100644 index fcb3493a6..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/index.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - \ 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 deleted file mode 100644 index fd7ebd6d7..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php +++ /dev/null @@ -1,104 +0,0 @@ -@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') !!} -
- -
- -{!! 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) -
- -
- @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 deleted file mode 100644 index 1ee8cde56..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php +++ /dev/null @@ -1,134 +0,0 @@ -{!! 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 deleted file mode 100644 index 2ef856f65..000000000 --- a/resources/themes/velocity/views/products/add-to-cart.blade.php +++ /dev/null @@ -1,80 +0,0 @@ -{!! 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) - - @elseif(isset($addToCartForm) && !$addToCartForm) -
- - @csrf - - - - -
- @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 deleted file mode 100644 index 8bc1844b8..000000000 --- a/resources/themes/velocity/views/products/buy-now.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} - - - -{!! 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 deleted file mode 100644 index aaf5877c6..000000000 --- a/resources/themes/velocity/views/products/index.blade.php +++ /dev/null @@ -1,176 +0,0 @@ -@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 deleted file mode 100644 index 7f43fd6ed..000000000 --- a/resources/themes/velocity/views/products/list/card.blade.php +++ /dev/null @@ -1,198 +0,0 @@ -@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) -
-
- - - -
- -
-
-
- -
-
-
- - - {{ $product->name }} - - - @if (isset($additionalAttributes) && $additionalAttributes) - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif - @endif -
- -
- @include ('shop::products.price', ['product' => $product]) -
- - @if( $totalReviews ) -
- - {{ $totalReviews }} Ratings -
- @endif - -
- @include ('shop::products.add-to-cart', [ - 'addWishlistClass' => 'pl10', - 'product' => $product, - 'addToCartBtnClass' => 'medium-padding', - 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" - ? true : false, - ]) -
-
-
-
- @else -
- - - {{ $product->name }} - - {{-- --}} - - - - @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 deleted file mode 100644 index 137ad209d..000000000 --- a/resources/themes/velocity/views/products/list/layered-navigation.blade.php +++ /dev/null @@ -1,257 +0,0 @@ -@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 deleted file mode 100644 index 8c1ea1606..000000000 --- a/resources/themes/velocity/views/products/list/recently-viewed.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@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 deleted file mode 100644 index 080c7007c..000000000 --- a/resources/themes/velocity/views/products/list/toolbar.blade.php +++ /dev/null @@ -1,162 +0,0 @@ -@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 deleted file mode 100644 index bed2c056d..000000000 --- a/resources/themes/velocity/views/products/price.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! 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 deleted file mode 100644 index d52609fdc..000000000 --- a/resources/themes/velocity/views/products/reviews/create.blade.php +++ /dev/null @@ -1,99 +0,0 @@ -@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 - -
- - - - @{{ errors.first('rating') }} - -
- -
- - - - - @{{ errors.first('title') }} - -
- - @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user()) -
- - - - @{{ errors.first('name') }} - -
- @endif - -
- - - - @{{ errors.first('comment') }} - -
- -
- -
-
-
-
- @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 deleted file mode 100644 index 4f002a904..000000000 --- a/resources/themes/velocity/views/products/reviews/index.blade.php +++ /dev/null @@ -1,41 +0,0 @@ -@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 deleted file mode 100644 index 943b0a54a..000000000 --- a/resources/themes/velocity/views/products/view.blade.php +++ /dev/null @@ -1,344 +0,0 @@ -@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]) !!} -
-
-
- -
- @csrf() - - - -
- {{-- product-gallery --}} -
- @include ('shop::products.view.gallery') -
- - {{-- right-section --}} -
- {{-- product-info-section --}} -
-

{{ $product->name }}

- - @if ($total) -
- - -
- - {{ __('shop::app.reviews.ratingreviews', [ - 'rating' => $avgRatings, - 'review' => $total]) - }} - -
-
- @endif - - @include ('shop::products.view.stock', ['product' => $product]) - -
- @include ('shop::products.price', ['product' => $product]) -
- - @if (count($product->getTypeInstance()->getCustomerGroupPricingOffers()) > 0) -
- @foreach ($product->getTypeInstance()->getCustomerGroupPricingOffers() as $offers) - {{ $offers }}
- @endforeach -
- @endif - -
- @if (core()->getConfigData('catalog.products.storefront.buy_now_button_display')) - @include ('shop::products.buy-now', [ - 'product' => $product, - ]) - @endif - - @include ('shop::products.add-to-cart', [ - 'form' => false, - 'product' => $product, - 'showCartIcon' => false, - 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" - ? true : false, - ]) -
-
- - {!! view_render_event('bagisto.shop.products.view.short_description.before', ['product' => $product]) !!} - - @if ($product->short_description) -
-

{{ __('velocity::app.products.short-description') }}

- - {!! $product->short_description !!} -
- @endif - - {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} - - - {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} - - @if ($product->getTypeInstance()->showQuantityBox()) -
- -
- @else - - @endif - - {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} - - @include ('shop::products.view.configurable-options') - - @include ('shop::products.view.downloadable') - - @include ('shop::products.view.grouped-products') - - @include ('shop::products.view.bundle-options') - - @include ('shop::products.view.attributes', [ - 'active' => true - ]) - - {{-- product long description --}} - @include ('shop::products.view.description') - - {{-- reviews count --}} - @include ('shop::products.view.reviews', ['accordian' => true]) -
-
-
-
-
-
- - - -
- @if( - isset($velocityMetaData['product_view_images']) - && $velocityMetaData['product_view_images'] - ) - @foreach (json_decode($velocityMetaData['product_view_images'], true) as $image) - @if ($image && $image !== '') - - @endif - @endforeach - @endif -
-
- {!! 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 deleted file mode 100644 index d66e74f28..000000000 --- a/resources/themes/velocity/views/products/view/attributes.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@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']) - - @else - - @endif - - @if ($attribute['type'] == 'file' && $attribute['value']) - - @elseif ($attribute['type'] == 'image' && $attribute['value']) - - @else - - @endif - - @endforeach -
{{ $attribute['label'] }}{{ $attribute['admin_name'] }} - - - - - - - - {{ $attribute['value'] }}
-
-
- @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 deleted file mode 100644 index 1dfefed08..000000000 --- a/resources/themes/velocity/views/products/view/bundle-options.blade.php +++ /dev/null @@ -1,249 +0,0 @@ -@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 deleted file mode 100644 index b9f3874f8..000000000 --- a/resources/themes/velocity/views/products/view/configurable-options.blade.php +++ /dev/null @@ -1,353 +0,0 @@ -@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 deleted file mode 100644 index f095c431b..000000000 --- a/resources/themes/velocity/views/products/view/cross-sells.blade.php +++ /dev/null @@ -1,61 +0,0 @@ -@foreach ($cart->items as $item) - product; - - if ($product->cross_sells()->count()) { - $products[] = $product; - $products = array_unique($products); - } - ?> -@endforeach - -@if (isset($products)) - - - - - - -@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 deleted file mode 100644 index ab76a8a0b..000000000 --- a/resources/themes/velocity/views/products/view/description.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -{!! 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 deleted file mode 100644 index ba76b7af4..000000000 --- a/resources/themes/velocity/views/products/view/downloadable.blade.php +++ /dev/null @@ -1,64 +0,0 @@ -@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()) - - @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 deleted file mode 100644 index ed9788a7a..000000000 --- a/resources/themes/velocity/views/products/view/gallery.blade.php +++ /dev/null @@ -1,177 +0,0 @@ -@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 deleted file mode 100644 index 06ca41b48..000000000 --- a/resources/themes/velocity/views/products/view/grouped-products.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@if ($product->type == 'grouped') - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} - -
- @if ($product->grouped_products->count()) -
- -
- @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 deleted file mode 100644 index af9fd1759..000000000 --- a/resources/themes/velocity/views/products/view/related-products.blade.php +++ /dev/null @@ -1,49 +0,0 @@ -related_products()->get(); -?> - -@if ($relatedProducts->count()) - - - - - -@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 deleted file mode 100644 index b45d02b57..000000000 --- a/resources/themes/velocity/views/products/view/reviews.blade.php +++ /dev/null @@ -1,208 +0,0 @@ -@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()) - - - - @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()) - - - - @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') }} - - - - @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 deleted file mode 100644 index 26a7aa7a6..000000000 --- a/resources/themes/velocity/views/products/view/small-view.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@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 deleted file mode 100644 index bb694f6b4..000000000 --- a/resources/themes/velocity/views/products/view/stock.blade.php +++ /dev/null @@ -1,17 +0,0 @@ -{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!} - -
- -
- -{!! 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 deleted file mode 100644 index ec527b146..000000000 --- a/resources/themes/velocity/views/products/view/up-sells.blade.php +++ /dev/null @@ -1,49 +0,0 @@ -up_sells()->get(); -?> - -@if ($productUpSells->count()) - - - - - -@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 deleted file mode 100644 index 66573a0a1..000000000 --- a/resources/themes/velocity/views/products/wishlist.blade.php +++ /dev/null @@ -1,39 +0,0 @@ -@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 deleted file mode 100644 index 962f820e1..000000000 --- a/resources/themes/velocity/views/search/search.blade.php +++ /dev/null @@ -1,155 +0,0 @@ -@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