From 3420f282ff5c0e7f70f860662446d06d0b67d476 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 15 Jan 2021 18:26:27 +0530 Subject: [PATCH 1/7] Issue #4432 fixed --- .../Customer/src/Http/Controllers/RegistrationController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php index f38e96513..a3b14395f 100755 --- a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php +++ b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php @@ -49,7 +49,7 @@ class RegistrationController extends Controller * @param \Webkul\Customer\Repositories\CustomerRepository $customer * @param \Webkul\Customer\Repositories\CustomerGroupRepository $customerGroupRepository * @param \Webkul\Core\Repositories\SubscribersListRepository $subscriptionRepository - * + * * @return void */ public function __construct( @@ -97,6 +97,7 @@ class RegistrationController extends Controller 'is_verified' => core()->getConfigData('customer.settings.email.verification') ? 0 : 1, 'customer_group_id' => $this->customerGroupRepository->findOneWhere(['code' => 'general'])->id, 'token' => md5(uniqid(rand(), true)), + 'subscribed_to_news_letter' => isset(request()->input()['is_subscribed']) ? 1 : 0, ]); Event::dispatch('customer.registration.before'); @@ -220,7 +221,7 @@ class RegistrationController extends Controller return redirect()->back(); } - + session()->flash('success', trans('shop::app.customer.signup-form.verification-sent')); return redirect()->back(); From 57b89f53eeb3e6d212ddaad4f2da730eb529607d Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 15 Jan 2021 19:00:55 +0530 Subject: [PATCH 2/7] enhancement #4468 added for velocity theme --- .../Http/Controllers/Shop/ShopController.php | 8 +- .../shop/views/checkout/cart/coupon.blade.php | 119 ++++ .../shop/views/checkout/cart/index.blade.php | 274 ++++++++ .../views/checkout/cart/mini-cart.blade.php | 116 ++++ .../shop/views/checkout/onepage.blade.php | 613 ++++++++++++++++++ .../onepage/customer-checkout.blade.php | 23 + .../checkout/onepage/customer-info.blade.php | 475 ++++++++++++++ .../views/checkout/onepage/payment.blade.php | 51 ++ .../views/checkout/onepage/review.blade.php | 170 +++++ .../views/checkout/onepage/shipping.blade.php | 48 ++ .../shop/views/checkout/success.blade.php | 27 + .../views/checkout/total/summary.blade.php | 45 ++ .../themes/shop/views/cms/page.blade.php | 17 + .../account/address/country-state.blade.php | 74 +++ .../account/address/create.blade.php | 124 ++++ .../customers/account/address/edit.blade.php | 125 ++++ .../customers/account/address/index.blade.php | 112 ++++ .../customers/account/compare/index.blade.php | 29 + .../downloadable_products/index.blade.php | 39 ++ .../views/customers/account/index.blade.php | 9 + .../customers/account/orders/index.blade.php | 39 ++ .../customers/account/orders/pdf.blade.php | 324 +++++++++ .../customers/account/orders/view.blade.php | 562 ++++++++++++++++ .../account/partials/sidemenu.blade.php | 62 ++ .../customers/account/profile/edit.blade.php | 122 ++++ .../customers/account/profile/index.blade.php | 114 ++++ .../customers/account/reviews/index.blade.php | 82 +++ .../account/reviews/reviews.blade.php | 52 ++ .../account/wishlist/wishlist.blade.php | 94 +++ .../views/customers/session/index.blade.php | 57 ++ .../signup/forgot-password.blade.php | 61 ++ .../views/customers/signup/index.blade.php | 95 +++ .../customers/signup/reset-password.blade.php | 52 ++ .../emails/admin/forget-password.blade.php | 38 ++ .../emails/admin/update-password.blade.php | 25 + .../emails/customer/forget-password.blade.php | 34 + .../emails/customer/new-customer.blade.php | 30 + .../emails/customer/registration.blade.php | 32 + .../customer/subscription-email.blade.php | 26 + .../emails/customer/update-password.blade.php | 21 + .../customer/verification-email.blade.php | 26 + .../shop/views/emails/layouts/logo.blade.php | 5 + .../views/emails/layouts/master.blade.php | 22 + .../emails/sales/new-admin-order.blade.php | 221 +++++++ .../new-inventorysource-shipment.blade.php | 172 +++++ .../views/emails/sales/new-invoice.blade.php | 211 ++++++ .../emails/sales/new-order-comment.blade.php | 35 + .../views/emails/sales/new-order.blade.php | 220 +++++++ .../views/emails/sales/new-refund.blade.php | 230 +++++++ .../views/emails/sales/new-shipment.blade.php | 174 +++++ .../emails/sales/order-cancel-admin.blade.php | 212 ++++++ .../views/emails/sales/order-cancel.blade.php | 212 ++++++ resources/themes/shop/views/error.blade.php | 19 + .../themes/shop/views/errors/401.blade.php | 38 ++ .../themes/shop/views/errors/403.blade.php | 38 ++ .../themes/shop/views/errors/404.blade.php | 40 ++ .../themes/shop/views/errors/500.blade.php | 40 ++ .../themes/shop/views/errors/503.blade.php | 32 + .../guest/compare/compare-products.blade.php | 342 ++++++++++ .../shop/views/guest/compare/index.blade.php | 11 + .../shop/views/guest/wishlist/index.blade.php | 3 + .../views/home/featured-products.blade.php | 27 + .../themes/shop/views/home/index.blade.php | 53 ++ .../shop/views/home/new-products.blade.php | 27 + .../shop/views/home/news-updates.blade.php | 15 + .../themes/shop/views/home/slider.blade.php | 5 + resources/themes/shop/views/index.blade.php | 13 + .../views/layouts/footer/footer.blade.php | 91 +++ .../shop/views/layouts/header/index.blade.php | 415 ++++++++++++ .../layouts/header/nav-menu/navmenu.blade.php | 138 ++++ .../shop/views/layouts/master.blade.php | 129 ++++ .../shop/views/partials/pagination.blade.php | 50 ++ .../shop/views/products/add-buttons.blade.php | 24 + .../shop/views/products/add-to-cart.blade.php | 12 + .../shop/views/products/add-to.blade.php | 9 + .../shop/views/products/buy-now.blade.php | 7 + .../shop/views/products/compare.blade.php | 129 ++++ .../shop/views/products/index.blade.php | 135 ++++ .../shop/views/products/list/card.blade.php | 38 ++ .../list/layered-navigation.blade.php | 219 +++++++ .../views/products/list/toolbar.blade.php | 83 +++ .../shop/views/products/price.blade.php | 7 + .../shop/views/products/review.blade.php | 28 + .../views/products/reviews/create.blade.php | 118 ++++ .../views/products/reviews/index.blade.php | 165 +++++ .../shop/views/products/sharelinks.blade.php | 1 + .../themes/shop/views/products/view.blade.php | 291 +++++++++ .../views/products/view/attributes.blade.php | 45 ++ .../products/view/bundle-options.blade.php | 236 +++++++ .../view/configurable-options.blade.php | 324 +++++++++ .../views/products/view/cross-sells.blade.php | 36 + .../products/view/downloadable.blade.php | 50 ++ .../views/products/view/gallery.blade.php | 221 +++++++ .../products/view/grouped-products.blade.php | 38 ++ .../views/products/view/product-add.blade.php | 11 + .../products/view/related-products.blade.php | 24 + .../views/products/view/reviews.blade.php | 98 +++ .../shop/views/products/view/stock.blade.php | 13 + .../views/products/view/up-sells.blade.php | 28 + .../shop/views/products/wishlist.blade.php | 21 + .../themes/shop/views/search/search.blade.php | 87 +++ 101 files changed, 10183 insertions(+), 1 deletion(-) create mode 100644 resources/themes/shop/views/checkout/cart/coupon.blade.php create mode 100644 resources/themes/shop/views/checkout/cart/index.blade.php create mode 100644 resources/themes/shop/views/checkout/cart/mini-cart.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage/customer-info.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage/payment.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage/review.blade.php create mode 100644 resources/themes/shop/views/checkout/onepage/shipping.blade.php create mode 100644 resources/themes/shop/views/checkout/success.blade.php create mode 100644 resources/themes/shop/views/checkout/total/summary.blade.php create mode 100644 resources/themes/shop/views/cms/page.blade.php create mode 100644 resources/themes/shop/views/customers/account/address/country-state.blade.php create mode 100644 resources/themes/shop/views/customers/account/address/create.blade.php create mode 100644 resources/themes/shop/views/customers/account/address/edit.blade.php create mode 100644 resources/themes/shop/views/customers/account/address/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/compare/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/downloadable_products/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/orders/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/orders/pdf.blade.php create mode 100644 resources/themes/shop/views/customers/account/orders/view.blade.php create mode 100644 resources/themes/shop/views/customers/account/partials/sidemenu.blade.php create mode 100644 resources/themes/shop/views/customers/account/profile/edit.blade.php create mode 100644 resources/themes/shop/views/customers/account/profile/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/reviews/index.blade.php create mode 100644 resources/themes/shop/views/customers/account/reviews/reviews.blade.php create mode 100644 resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php create mode 100644 resources/themes/shop/views/customers/session/index.blade.php create mode 100644 resources/themes/shop/views/customers/signup/forgot-password.blade.php create mode 100644 resources/themes/shop/views/customers/signup/index.blade.php create mode 100644 resources/themes/shop/views/customers/signup/reset-password.blade.php create mode 100644 resources/themes/shop/views/emails/admin/forget-password.blade.php create mode 100644 resources/themes/shop/views/emails/admin/update-password.blade.php create mode 100644 resources/themes/shop/views/emails/customer/forget-password.blade.php create mode 100644 resources/themes/shop/views/emails/customer/new-customer.blade.php create mode 100644 resources/themes/shop/views/emails/customer/registration.blade.php create mode 100644 resources/themes/shop/views/emails/customer/subscription-email.blade.php create mode 100644 resources/themes/shop/views/emails/customer/update-password.blade.php create mode 100644 resources/themes/shop/views/emails/customer/verification-email.blade.php create mode 100644 resources/themes/shop/views/emails/layouts/logo.blade.php create mode 100644 resources/themes/shop/views/emails/layouts/master.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-admin-order.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-invoice.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-order-comment.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-order.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-refund.blade.php create mode 100644 resources/themes/shop/views/emails/sales/new-shipment.blade.php create mode 100644 resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php create mode 100644 resources/themes/shop/views/emails/sales/order-cancel.blade.php create mode 100644 resources/themes/shop/views/error.blade.php create mode 100644 resources/themes/shop/views/errors/401.blade.php create mode 100644 resources/themes/shop/views/errors/403.blade.php create mode 100644 resources/themes/shop/views/errors/404.blade.php create mode 100644 resources/themes/shop/views/errors/500.blade.php create mode 100644 resources/themes/shop/views/errors/503.blade.php create mode 100644 resources/themes/shop/views/guest/compare/compare-products.blade.php create mode 100644 resources/themes/shop/views/guest/compare/index.blade.php create mode 100644 resources/themes/shop/views/guest/wishlist/index.blade.php create mode 100644 resources/themes/shop/views/home/featured-products.blade.php create mode 100644 resources/themes/shop/views/home/index.blade.php create mode 100644 resources/themes/shop/views/home/new-products.blade.php create mode 100644 resources/themes/shop/views/home/news-updates.blade.php create mode 100644 resources/themes/shop/views/home/slider.blade.php create mode 100644 resources/themes/shop/views/index.blade.php create mode 100644 resources/themes/shop/views/layouts/footer/footer.blade.php create mode 100644 resources/themes/shop/views/layouts/header/index.blade.php create mode 100644 resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php create mode 100644 resources/themes/shop/views/layouts/master.blade.php create mode 100644 resources/themes/shop/views/partials/pagination.blade.php create mode 100644 resources/themes/shop/views/products/add-buttons.blade.php create mode 100644 resources/themes/shop/views/products/add-to-cart.blade.php create mode 100644 resources/themes/shop/views/products/add-to.blade.php create mode 100644 resources/themes/shop/views/products/buy-now.blade.php create mode 100644 resources/themes/shop/views/products/compare.blade.php create mode 100644 resources/themes/shop/views/products/index.blade.php create mode 100644 resources/themes/shop/views/products/list/card.blade.php create mode 100644 resources/themes/shop/views/products/list/layered-navigation.blade.php create mode 100644 resources/themes/shop/views/products/list/toolbar.blade.php create mode 100644 resources/themes/shop/views/products/price.blade.php create mode 100644 resources/themes/shop/views/products/review.blade.php create mode 100644 resources/themes/shop/views/products/reviews/create.blade.php create mode 100644 resources/themes/shop/views/products/reviews/index.blade.php create mode 100644 resources/themes/shop/views/products/sharelinks.blade.php create mode 100644 resources/themes/shop/views/products/view.blade.php create mode 100644 resources/themes/shop/views/products/view/attributes.blade.php create mode 100644 resources/themes/shop/views/products/view/bundle-options.blade.php create mode 100644 resources/themes/shop/views/products/view/configurable-options.blade.php create mode 100644 resources/themes/shop/views/products/view/cross-sells.blade.php create mode 100644 resources/themes/shop/views/products/view/downloadable.blade.php create mode 100644 resources/themes/shop/views/products/view/gallery.blade.php create mode 100644 resources/themes/shop/views/products/view/grouped-products.blade.php create mode 100644 resources/themes/shop/views/products/view/product-add.blade.php create mode 100644 resources/themes/shop/views/products/view/related-products.blade.php create mode 100644 resources/themes/shop/views/products/view/reviews.blade.php create mode 100644 resources/themes/shop/views/products/view/stock.blade.php create mode 100644 resources/themes/shop/views/products/view/up-sells.blade.php create mode 100644 resources/themes/shop/views/products/wishlist.blade.php create mode 100644 resources/themes/shop/views/search/search.blade.php diff --git a/packages/Webkul/Velocity/src/Http/Controllers/Shop/ShopController.php b/packages/Webkul/Velocity/src/Http/Controllers/Shop/ShopController.php index 77b071f12..4dad820ea 100644 --- a/packages/Webkul/Velocity/src/Http/Controllers/Shop/ShopController.php +++ b/packages/Webkul/Velocity/src/Http/Controllers/Shop/ShopController.php @@ -71,7 +71,13 @@ class ShopController extends Controller } foreach ($products as $product) { - array_push($formattedProducts, $this->velocityHelper->formatProduct($product)); + if (core()->getConfigData('catalog.products.homepage.out_of_stock_items')) { + array_push($formattedProducts, $this->velocityHelper->formatProduct($product)); + } else { + if ($product->isSaleable()) { + array_push($formattedProducts, $this->velocityHelper->formatProduct($product)); + } + } } $response = [ diff --git a/resources/themes/shop/views/checkout/cart/coupon.blade.php b/resources/themes/shop/views/checkout/cart/coupon.blade.php new file mode 100644 index 000000000..090740935 --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/coupon.blade.php @@ -0,0 +1,119 @@ +@if ($cart) + + + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/checkout/cart/index.blade.php b/resources/themes/shop/views/checkout/cart/index.blade.php new file mode 100644 index 000000000..d44caa83c --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/index.blade.php @@ -0,0 +1,274 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.cart.title') }} +@stop + +@section('content-wrapper') + @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + +
+ @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 = (int) 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 new file mode 100644 index 000000000..4477af9b0 --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php @@ -0,0 +1,116 @@ +@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + +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 new file mode 100644 index 000000000..d18263480 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage.blade.php @@ -0,0 +1,613 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.onepage.title') }} +@stop + +@section('content-wrapper') + +@endsection + +@push('scripts') + @include('shop::checkout.cart.coupon') + + + + + +@endpush diff --git a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php new file mode 100644 index 000000000..4ad841c6e --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php @@ -0,0 +1,23 @@ +
+
+ + + +
+ +
+ + + +
+
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/customer-info.blade.php b/resources/themes/shop/views/checkout/onepage/customer-info.blade.php new file mode 100644 index 000000000..40fbcba67 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/customer-info.blade.php @@ -0,0 +1,475 @@ +
+ +
+
+ {{ __('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 new file mode 100644 index 000000000..487d31c7e --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/payment.blade.php @@ -0,0 +1,51 @@ +
+
+
+ {{ __('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 new file mode 100644 index 000000000..223514041 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/review.blade.php @@ -0,0 +1,170 @@ +
+
+ {{ __('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 + +
+ + @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + +
+ @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 new file mode 100644 index 000000000..e1a6dbab8 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/shipping.blade.php @@ -0,0 +1,48 @@ +
+
+
+ {{ __('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 new file mode 100644 index 000000000..c403360ad --- /dev/null +++ b/resources/themes/shop/views/checkout/success.blade.php @@ -0,0 +1,27 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.success.title') }} +@stop + +@section('content-wrapper') + +
+

{{ __('shop::app.checkout.success.thanks') }}

+ +

{{ __('shop::app.checkout.success.order-id-info', ['order_id' => $order->increment_id]) }}

+ +

{{ __('shop::app.checkout.success.info') }}

+ + {{ view_render_event('bagisto.shop.checkout.continue-shopping.before', ['order' => $order]) }} + + + + {{ view_render_event('bagisto.shop.checkout.continue-shopping.after', ['order' => $order]) }} + +
+@endsection diff --git a/resources/themes/shop/views/checkout/total/summary.blade.php b/resources/themes/shop/views/checkout/total/summary.blade.php new file mode 100644 index 000000000..76a6b238b --- /dev/null +++ b/resources/themes/shop/views/checkout/total/summary.blade.php @@ -0,0 +1,45 @@ +
+

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

+ +
+ + +
+ + @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 new file mode 100644 index 000000000..fe29692bd --- /dev/null +++ b/resources/themes/shop/views/cms/page.blade.php @@ -0,0 +1,17 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ $page->page_title }} +@endsection + +@section('seo') + + + + + +@endsection + +@section('content-wrapper') + {!! DbView::make($page)->field('html_content')->render() !!} +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/country-state.blade.php b/resources/themes/shop/views/customers/account/address/country-state.blade.php new file mode 100644 index 000000000..ba1bfb6c1 --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/country-state.blade.php @@ -0,0 +1,74 @@ + + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/create.blade.php b/resources/themes/shop/views/customers/account/address/create.blade.php new file mode 100644 index 000000000..f7ecf22ef --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/create.blade.php @@ -0,0 +1,124 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.address.create.page-title') }} +@endsection + +@section('content-wrapper') + + + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/edit.blade.php b/resources/themes/shop/views/customers/account/address/edit.blade.php new file mode 100644 index 000000000..aa7bcbd34 --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/edit.blade.php @@ -0,0 +1,125 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.address.edit.page-title') }} +@endsection + +@section('content-wrapper') + + + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/index.blade.php b/resources/themes/shop/views/customers/account/address/index.blade.php new file mode 100644 index 000000000..b099f377b --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/index.blade.php @@ -0,0 +1,112 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.address.index.page-title') }} +@endsection + +@section('content-wrapper') + + +@endsection + +@push('scripts') + +@endpush diff --git a/resources/themes/shop/views/customers/account/compare/index.blade.php b/resources/themes/shop/views/customers/account/compare/index.blade.php new file mode 100644 index 000000000..7b6de5e66 --- /dev/null +++ b/resources/themes/shop/views/customers/account/compare/index.blade.php @@ -0,0 +1,29 @@ +@extends('shop::layouts.master') + +@include('shop::guest.compare.compare-products') + +@section('page_title') + {{ __('shop::app.customer.compare.compare_similar_items') }} +@endsection + +@section('content-wrapper') + + + +@endsection diff --git a/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php new file mode 100644 index 000000000..583ebe97e --- /dev/null +++ b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php @@ -0,0 +1,39 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.downloadable_products.title') }} +@endsection + +@section('content-wrapper') + + + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/index.blade.php b/resources/themes/shop/views/customers/account/index.blade.php new file mode 100644 index 000000000..4097e93df --- /dev/null +++ b/resources/themes/shop/views/customers/account/index.blade.php @@ -0,0 +1,9 @@ +@extends('shop::layouts.master') + +@section('content-wrapper') + + +@endsection diff --git a/resources/themes/shop/views/customers/account/orders/index.blade.php b/resources/themes/shop/views/customers/account/orders/index.blade.php new file mode 100644 index 000000000..6c53d4602 --- /dev/null +++ b/resources/themes/shop/views/customers/account/orders/index.blade.php @@ -0,0 +1,39 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.order.index.page-title') }} +@endsection + +@section('content-wrapper') + + + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/orders/pdf.blade.php b/resources/themes/shop/views/customers/account/orders/pdf.blade.php new file mode 100644 index 000000000..1826d8fe9 --- /dev/null +++ b/resources/themes/shop/views/customers/account/orders/pdf.blade.php @@ -0,0 +1,324 @@ + + + + + + + + + + +
+ +
+
+
+

{{ __('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 new file mode 100644 index 000000000..78d34d5d1 --- /dev/null +++ b/resources/themes/shop/views/customers/account/orders/view.blade.php @@ -0,0 +1,562 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }} +@endsection + +@section('content-wrapper') + + + +@endsection diff --git a/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php new file mode 100644 index 000000000..df0d6ad1f --- /dev/null +++ b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php @@ -0,0 +1,62 @@ + + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/profile/edit.blade.php b/resources/themes/shop/views/customers/account/profile/edit.blade.php new file mode 100644 index 000000000..db57418cf --- /dev/null +++ b/resources/themes/shop/views/customers/account/profile/edit.blade.php @@ -0,0 +1,122 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.profile.edit-profile.page-title') }} +@endsection + +@section('content-wrapper') + +@endsection diff --git a/resources/themes/shop/views/customers/account/profile/index.blade.php b/resources/themes/shop/views/customers/account/profile/index.blade.php new file mode 100644 index 000000000..6ad256cd7 --- /dev/null +++ b/resources/themes/shop/views/customers/account/profile/index.blade.php @@ -0,0 +1,114 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.profile.index.title') }} +@endsection + +@section('content-wrapper') + + +@endsection diff --git a/resources/themes/shop/views/customers/account/reviews/index.blade.php b/resources/themes/shop/views/customers/account/reviews/index.blade.php new file mode 100644 index 000000000..28683a5c4 --- /dev/null +++ b/resources/themes/shop/views/customers/account/reviews/index.blade.php @@ -0,0 +1,82 @@ +@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.review.index.page-title') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php new file mode 100644 index 000000000..a86d410e1 --- /dev/null +++ b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php @@ -0,0 +1,52 @@ +@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.review.view.page-title') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php new file mode 100644 index 000000000..2ca3bd5a3 --- /dev/null +++ b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php @@ -0,0 +1,94 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.wishlist.page-title') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/session/index.blade.php b/resources/themes/shop/views/customers/session/index.blade.php new file mode 100644 index 000000000..38bdbc9b1 --- /dev/null +++ b/resources/themes/shop/views/customers/session/index.blade.php @@ -0,0 +1,57 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.login-form.page-title') }} +@endsection + +@section('content-wrapper') + +
+ + + {!! 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 new file mode 100644 index 000000000..f21a32a6e --- /dev/null +++ b/resources/themes/shop/views/customers/signup/forgot-password.blade.php @@ -0,0 +1,61 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.forgot-password.page_title') }} +@stop + +@push('css') + +@endpush + +@section('content-wrapper') + +
+ + {!! view_render_event('bagisto.shop.customers.forget_password.before') !!} + +
+ + {{ 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 new file mode 100644 index 000000000..9f1598a08 --- /dev/null +++ b/resources/themes/shop/views/customers/signup/index.blade.php @@ -0,0 +1,95 @@ +@extends('shop::layouts.master') +@section('page_title') + {{ __('shop::app.customer.signup-form.page-title') }} +@endsection +@section('content-wrapper') + +
+ + + + {!! 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 new file mode 100644 index 000000000..feb0962ad --- /dev/null +++ b/resources/themes/shop/views/customers/signup/reset-password.blade.php @@ -0,0 +1,52 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.reset-password.title') }} +@endsection + +@section('content-wrapper') + +
+ + {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} + +
+ + {{ 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 new file mode 100644 index 000000000..4e312d436 --- /dev/null +++ b/resources/themes/shop/views/emails/admin/forget-password.blade.php @@ -0,0 +1,38 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..f1759daed --- /dev/null +++ b/resources/themes/shop/views/emails/admin/update-password.blade.php @@ -0,0 +1,25 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..685346631 --- /dev/null +++ b/resources/themes/shop/views/emails/customer/forget-password.blade.php @@ -0,0 +1,34 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..8fcbfd931 --- /dev/null +++ b/resources/themes/shop/views/emails/customer/new-customer.blade.php @@ -0,0 +1,30 @@ +@component('shop::emails.layouts.master') + +
+
+ + @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 new file mode 100644 index 000000000..384fd29e7 --- /dev/null +++ b/resources/themes/shop/views/emails/customer/registration.blade.php @@ -0,0 +1,32 @@ +@component('shop::emails.layouts.master') + +
+
+ + @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 new file mode 100644 index 000000000..b7be2a8d2 --- /dev/null +++ b/resources/themes/shop/views/emails/customer/subscription-email.blade.php @@ -0,0 +1,26 @@ +@component('shop::emails.layouts.master') + +
+
+ + @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 new file mode 100644 index 000000000..4d616875f --- /dev/null +++ b/resources/themes/shop/views/emails/customer/update-password.blade.php @@ -0,0 +1,21 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..fda82f400 --- /dev/null +++ b/resources/themes/shop/views/emails/customer/verification-email.blade.php @@ -0,0 +1,26 @@ +@component('shop::emails.layouts.master') + +
+
+ + @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 new file mode 100644 index 000000000..20ed0570d --- /dev/null +++ b/resources/themes/shop/views/emails/layouts/logo.blade.php @@ -0,0 +1,5 @@ +@if ($logo = core()->getCurrentChannel()->logo_url) + {{ config('app.name') }} +@else + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/emails/layouts/master.blade.php b/resources/themes/shop/views/emails/layouts/master.blade.php new file mode 100644 index 000000000..9451f8cf1 --- /dev/null +++ b/resources/themes/shop/views/emails/layouts/master.blade.php @@ -0,0 +1,22 @@ + + + + + + + + + +
+
+ {{ $header ?? '' }} +
+ +
+ {{ $slot }} + + {{ $subcopy ?? '' }} +
+
+ + diff --git a/resources/themes/shop/views/emails/sales/new-admin-order.blade.php b/resources/themes/shop/views/emails/sales/new-admin-order.blade.php new file mode 100644 index 000000000..6009ab0d8 --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-admin-order.blade.php @@ -0,0 +1,221 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..487d297ca --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php @@ -0,0 +1,172 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..6a1b71ce5 --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-invoice.blade.php @@ -0,0 +1,211 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..0d8c19672 --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-order-comment.blade.php @@ -0,0 +1,35 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..2db328e2b --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-order.blade.php @@ -0,0 +1,220 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..993108341 --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-refund.blade.php @@ -0,0 +1,230 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..10d93391d --- /dev/null +++ b/resources/themes/shop/views/emails/sales/new-shipment.blade.php @@ -0,0 +1,174 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..b768036de --- /dev/null +++ b/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php @@ -0,0 +1,212 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..494c2747c --- /dev/null +++ b/resources/themes/shop/views/emails/sales/order-cancel.blade.php @@ -0,0 +1,212 @@ +@component('shop::emails.layouts.master') +
+ + @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 new file mode 100644 index 000000000..d78938fdb --- /dev/null +++ b/resources/themes/shop/views/error.blade.php @@ -0,0 +1,19 @@ +@extends('shop::layouts.master') +@section('content-wrapper') +
+
+
+
404
+
Page Not Found
+
+ GO TO HOME + {{-- pass the content dynamically --}} + Show the exception here or error message here. +
+ +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/401.blade.php b/resources/themes/shop/views/errors/401.blade.php new file mode 100644 index 000000000..f12e056c3 --- /dev/null +++ b/resources/themes/shop/views/errors/401.blade.php @@ -0,0 +1,38 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('admin::app.error.401.page-title') }} +@stop + +@section('content-wrapper') + +
+ +
+ +
+ +
{{ __('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 new file mode 100644 index 000000000..6d61554d5 --- /dev/null +++ b/resources/themes/shop/views/errors/403.blade.php @@ -0,0 +1,38 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('admin::app.error.403.page-title') }} +@stop + +@section('content-wrapper') + +
+ +
+ +
+ +
{{ __('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 new file mode 100644 index 000000000..6f34dee9c --- /dev/null +++ b/resources/themes/shop/views/errors/404.blade.php @@ -0,0 +1,40 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('admin::app.error.404.page-title') }} +@stop + +@section('content-wrapper') + +
+ +
+ +
+ +
+ {{ __('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 new file mode 100644 index 000000000..2ae0f5a41 --- /dev/null +++ b/resources/themes/shop/views/errors/500.blade.php @@ -0,0 +1,40 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('admin::app.error.500.page-title') }} +@stop + +@section('content-wrapper') + +
+ +
+ +
+ +
+ {{ __('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 new file mode 100644 index 000000000..40d93e596 --- /dev/null +++ b/resources/themes/shop/views/errors/503.blade.php @@ -0,0 +1,32 @@ + + + + + + + Document + + +
+ +
+ +
+ +
+ {{ __('admin::app.error.in-maitainace') }} +
+ +
+ {{ core()->getCurrentChannel()->maintenance_mode_text ?: __('admin::app.error.right-back') }} +
+
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/resources/themes/shop/views/guest/compare/compare-products.blade.php b/resources/themes/shop/views/guest/compare/compare-products.blade.php new file mode 100644 index 000000000..b6f65a053 --- /dev/null +++ b/resources/themes/shop/views/guest/compare/compare-products.blade.php @@ -0,0 +1,342 @@ +@php + $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository'); + $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily(); + + $locale = request()->get('locale') ?: app()->getLocale(); + + $attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson(); +@endphp + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/guest/compare/index.blade.php b/resources/themes/shop/views/guest/compare/index.blade.php new file mode 100644 index 000000000..08cd183db --- /dev/null +++ b/resources/themes/shop/views/guest/compare/index.blade.php @@ -0,0 +1,11 @@ +@extends('shop::layouts.master') + +@include('shop::guest.compare.compare-products') + +@section('page_title') + {{ __('shop::app.customer.compare.compare_similar_items') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/guest/wishlist/index.blade.php b/resources/themes/shop/views/guest/wishlist/index.blade.php new file mode 100644 index 000000000..be3b6a35b --- /dev/null +++ b/resources/themes/shop/views/guest/wishlist/index.blade.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/resources/themes/shop/views/home/featured-products.blade.php b/resources/themes/shop/views/home/featured-products.blade.php new file mode 100644 index 000000000..654a02043 --- /dev/null +++ b/resources/themes/shop/views/home/featured-products.blade.php @@ -0,0 +1,27 @@ +@if (count(app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts())) + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/home/index.blade.php b/resources/themes/shop/views/home/index.blade.php new file mode 100644 index 000000000..b3021bcf3 --- /dev/null +++ b/resources/themes/shop/views/home/index.blade.php @@ -0,0 +1,53 @@ +@extends('shop::layouts.master') + +@php + $channel = core()->getCurrentChannel(); + + $homeSEO = $channel->home_seo; + + if (isset($homeSEO)) { + $homeSEO = json_decode($channel->home_seo); + + $metaTitle = $homeSEO->meta_title; + + $metaDescription = $homeSEO->meta_description; + + $metaKeywords = $homeSEO->meta_keywords; + } +@endphp + +@section('page_title') + {{ isset($metaTitle) ? $metaTitle : "" }} +@endsection + +@section('head') + + @if (isset($homeSEO)) + @isset($metaTitle) + + @endisset + + @isset($metaDescription) + + @endisset + + @isset($metaKeywords) + + @endisset + @endif +@endsection + +@section('content-wrapper') + {!! view_render_event('bagisto.shop.home.content.before') !!} + + @if (! is_null($channel->home_page_content)) + {!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!} + @else + @include('shop::home.slider', ['sliderData' => $sliderData]) + @include('shop::home.featured-products') + @include('shop::home.new-products') + @endif + + {{ view_render_event('bagisto.shop.home.content.after') }} + +@endsection diff --git a/resources/themes/shop/views/home/new-products.blade.php b/resources/themes/shop/views/home/new-products.blade.php new file mode 100644 index 000000000..5a31b168c --- /dev/null +++ b/resources/themes/shop/views/home/new-products.blade.php @@ -0,0 +1,27 @@ +@if (count(app('Webkul\Product\Repositories\ProductRepository')->getNewProducts())) + +@endif diff --git a/resources/themes/shop/views/home/news-updates.blade.php b/resources/themes/shop/views/home/news-updates.blade.php new file mode 100644 index 000000000..4cb478208 --- /dev/null +++ b/resources/themes/shop/views/home/news-updates.blade.php @@ -0,0 +1,15 @@ +
+
+
+ +
+
+
+ +
+
+ +
+
+
+
diff --git a/resources/themes/shop/views/home/slider.blade.php b/resources/themes/shop/views/home/slider.blade.php new file mode 100644 index 000000000..abdbf9452 --- /dev/null +++ b/resources/themes/shop/views/home/slider.blade.php @@ -0,0 +1,5 @@ +@if (count($sliderData)) +
+ +
+@endif \ No newline at end of file diff --git a/resources/themes/shop/views/index.blade.php b/resources/themes/shop/views/index.blade.php new file mode 100644 index 000000000..5d0687bbe --- /dev/null +++ b/resources/themes/shop/views/index.blade.php @@ -0,0 +1,13 @@ +@inject('rateHelper' , 'Webkul\Shipping\Helper\Rate') +
+ @foreach ($rateHelper->collectRates() as $key=>$count) +
+ ${{ core()->currency($count) }} {{ $key }} +
+ @endforeach +
+ \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/footer/footer.blade.php b/resources/themes/shop/views/layouts/footer/footer.blade.php new file mode 100644 index 000000000..493d12e3f --- /dev/null +++ b/resources/themes/shop/views/layouts/footer/footer.blade.php @@ -0,0 +1,91 @@ + diff --git a/resources/themes/shop/views/layouts/header/index.blade.php b/resources/themes/shop/views/layouts/header/index.blade.php new file mode 100644 index 000000000..771d88d22 --- /dev/null +++ b/resources/themes/shop/views/layouts/header/index.blade.php @@ -0,0 +1,415 @@ +input('term'); + $image_search = request()->input('image-search'); + + if (! is_null($term)) { + $serachQuery = 'term='.request()->input('term'); + } +?> + + + +@push('scripts') + + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php new file mode 100644 index 000000000..0e9e3085a --- /dev/null +++ b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php @@ -0,0 +1,138 @@ +{!! view_render_event('bagisto.shop.layout.header.category.before') !!} + +getVisibleCategoryTree(core()->getCurrentChannel()->root_category_id) as $category) { + if ($category->slug) { + array_push($categories, $category); + } +} + +?> + + + +{!! view_render_event('bagisto.shop.layout.header.category.after') !!} + + +@push('scripts') + + + + + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/master.blade.php b/resources/themes/shop/views/layouts/master.blade.php new file mode 100644 index 000000000..83f6c798b --- /dev/null +++ b/resources/themes/shop/views/layouts/master.blade.php @@ -0,0 +1,129 @@ + + + + + + @yield('page_title') + + + + + + + + + + + @if ($favicon = core()->getCurrentChannel()->favicon_url) + + @else + + @endif + + @yield('head') + + @section('seo') + @if (! request()->is('/')) + + @endif + @show + + @stack('css') + + {!! view_render_event('bagisto.shop.layout.head') !!} + + + + + + +getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif style="scroll-behavior: smooth;"> + + {!! view_render_event('bagisto.shop.layout.body.before') !!} + +
+ + +
+ + {!! view_render_event('bagisto.shop.layout.header.before') !!} + + @include('shop::layouts.header.index') + + {!! view_render_event('bagisto.shop.layout.header.after') !!} + + @yield('slider') + +
+ + {!! view_render_event('bagisto.shop.layout.content.before') !!} + + @yield('content-wrapper') + + {!! view_render_event('bagisto.shop.layout.content.after') !!} + +
+ +
+ + {!! view_render_event('bagisto.shop.layout.footer.before') !!} + + @include('shop::layouts.footer.footer') + + {!! view_render_event('bagisto.shop.layout.footer.after') !!} + + @if (core()->getConfigData('general.content.footer.footer_toggle')) + + @endif + + +
+ + + + + + + @stack('scripts') + + {!! view_render_event('bagisto.shop.layout.body.after') !!} + + + + + + + + \ No newline at end of file diff --git a/resources/themes/shop/views/partials/pagination.blade.php b/resources/themes/shop/views/partials/pagination.blade.php new file mode 100644 index 000000000..7350ddb24 --- /dev/null +++ b/resources/themes/shop/views/partials/pagination.blade.php @@ -0,0 +1,50 @@ +@if ($paginator->hasPages()) + +@endif diff --git a/resources/themes/shop/views/products/add-buttons.blade.php b/resources/themes/shop/views/products/add-buttons.blade.php new file mode 100644 index 000000000..c02bdee5d --- /dev/null +++ b/resources/themes/shop/views/products/add-buttons.blade.php @@ -0,0 +1,24 @@ +@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 new file mode 100644 index 000000000..6887730ee --- /dev/null +++ b/resources/themes/shop/views/products/add-to-cart.blade.php @@ -0,0 +1,12 @@ +{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!} + +@php + $width = (core()->getConfigData('catalog.products.storefront.buy_now_button_display') == 1) ? '49' : '95'; +@endphp + + + +{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/add-to.blade.php b/resources/themes/shop/views/products/add-to.blade.php new file mode 100644 index 000000000..88af2a27d --- /dev/null +++ b/resources/themes/shop/views/products/add-to.blade.php @@ -0,0 +1,9 @@ +{!! view_render_event('bagisto.shop.products.add_to.before', ['product' => $product]) !!} + +
+ @include ('shop::products.add-to-cart', ['product' => $product]) + + @include('shop::products.wishlist') +
+ +{!! view_render_event('bagisto.shop.products.add_to.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/buy-now.blade.php b/resources/themes/shop/views/products/buy-now.blade.php new file mode 100644 index 000000000..74bba5273 --- /dev/null +++ b/resources/themes/shop/views/products/buy-now.blade.php @@ -0,0 +1,7 @@ +{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} + + + +{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/compare.blade.php b/resources/themes/shop/views/products/compare.blade.php new file mode 100644 index 000000000..6e371e981 --- /dev/null +++ b/resources/themes/shop/views/products/compare.blade.php @@ -0,0 +1,129 @@ + + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/index.blade.php b/resources/themes/shop/views/products/index.blade.php new file mode 100644 index 000000000..cd950fb94 --- /dev/null +++ b/resources/themes/shop/views/products/index.blade.php @@ -0,0 +1,135 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }} +@stop + +@section('seo') + meta_description : \Illuminate\Support\Str::limit(strip_tags($category->description), 120, '') }}"/> + + + + @if (core()->getConfigData('catalog.rich_snippets.categories.enable')) + + @endif +@stop + +@section('content-wrapper') + @inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') + +
+ {!! view_render_event('bagisto.shop.products.index.before', ['category' => $category]) !!} + +
+ + @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) + @include ('shop::products.list.layered-navigation') + @endif + +
display_mode == 'description_only') style="width: 100%" @endif> +
+ @if (!is_null($category->image)) + + @endif +
+ + @if (in_array($category->display_mode, [null, 'description_only', 'products_and_description'])) + @if ($category->description) +
+ {!! $category->description !!} +
+ @endif + @endif + + @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) + getAll($category->id); ?> + + @include ('shop::products.list.toolbar') + + @if ($products->count()) + + @inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + + @if ($toolbarHelper->getCurrentMode() == 'grid') +
+ @foreach ($products as $productFlat) + + @include ('shop::products.list.card', ['product' => $productFlat]) + + @endforeach +
+ @else +
+ @foreach ($products as $productFlat) + + @include ('shop::products.list.card', ['product' => $productFlat]) + + @endforeach +
+ @endif + + {!! view_render_event('bagisto.shop.products.index.pagination.before', ['category' => $category]) !!} + +
+ {{ $products->appends(request()->input())->links() }} +
+ + {!! view_render_event('bagisto.shop.products.index.pagination.after', ['category' => $category]) !!} + + @else + +
+

{{ __('shop::app.products.whoops') }}

+ +

+ {{ __('shop::app.products.empty') }} +

+
+ + @endif + @endif +
+
+ + {!! view_render_event('bagisto.shop.products.index.after', ['category' => $category]) !!} +
+@stop + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/list/card.blade.php b/resources/themes/shop/views/products/list/card.blade.php new file mode 100644 index 000000000..270b15adf --- /dev/null +++ b/resources/themes/shop/views/products/list/card.blade.php @@ -0,0 +1,38 @@ +{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} + +
+ + @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + + 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 new file mode 100644 index 000000000..96ebd303c --- /dev/null +++ b/resources/themes/shop/views/products/list/layered-navigation.blade.php @@ -0,0 +1,219 @@ +@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository') + +@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository') + +@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') + +getProductsRelatedFilterableAttributes($category); + + $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)); + } + + if (! count($filterAttributes) > 0) { + $filterAttributes = $attributeRepository->getFilterAttributes(); + } +?> + +
+ + {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!} + + + + {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!} + +
+ +@push('scripts') + + + + + +@endpush diff --git a/resources/themes/shop/views/products/list/toolbar.blade.php b/resources/themes/shop/views/products/list/toolbar.blade.php new file mode 100644 index 000000000..44042ae84 --- /dev/null +++ b/resources/themes/shop/views/products/list/toolbar.blade.php @@ -0,0 +1,83 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!} + +
+ +
+ + {{ __('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 new file mode 100644 index 000000000..bed2c056d --- /dev/null +++ b/resources/themes/shop/views/products/price.blade.php @@ -0,0 +1,7 @@ +{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!} + +
+ {!! $product->getTypeInstance()->getPriceHtml() !!} +
+ +{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/review.blade.php b/resources/themes/shop/views/products/review.blade.php new file mode 100644 index 000000000..5c9491b1f --- /dev/null +++ b/resources/themes/shop/views/products/review.blade.php @@ -0,0 +1,28 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + +{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!} + +@if ($total = $reviewHelper->getTotalReviews($product)) +
+ + @for ($i = 1; $i <= 5; $i++) + @if($i <= round($reviewHelper->getAverageRating($product))) + + @else + + @endif + @endfor + + +
+ {{ + __('shop::app.products.total-rating', [ + 'total_rating' => $reviewHelper->getAverageRating($product), + 'total_reviews' => $total, + ]) + }} +
+
+@endif + +{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!} diff --git a/resources/themes/shop/views/products/reviews/create.blade.php b/resources/themes/shop/views/products/reviews/create.blade.php new file mode 100644 index 000000000..0c9abb250 --- /dev/null +++ b/resources/themes/shop/views/products/reviews/create.blade.php @@ -0,0 +1,118 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} +@endsection + +@section('content-wrapper') + +
+ +
+
+ @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + + 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 new file mode 100644 index 000000000..074c5d58b --- /dev/null +++ b/resources/themes/shop/views/products/reviews/index.blade.php @@ -0,0 +1,165 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.product-review-page-title') }} - {{ $product->name }} +@endsection + +@section('content-wrapper') + +
+ +
+ @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') + + @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 new file mode 100644 index 000000000..fd0807215 --- /dev/null +++ b/resources/themes/shop/views/products/sharelinks.blade.php @@ -0,0 +1 @@ + diff --git a/resources/themes/shop/views/products/view.blade.php b/resources/themes/shop/views/products/view.blade.php new file mode 100644 index 000000000..0f378be6d --- /dev/null +++ b/resources/themes/shop/views/products/view.blade.php @@ -0,0 +1,291 @@ +@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]) + + @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 new file mode 100644 index 000000000..e64fb55fb --- /dev/null +++ b/resources/themes/shop/views/products/view/attributes.blade.php @@ -0,0 +1,45 @@ +@inject ('productViewHelper', 'Webkul\Product\Helpers\View') + +{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!} + +@if ($customAttributeValues = $productViewHelper->getAdditionalData($product)) + +
+ {{ __('shop::app.products.specification') }} + +
+ +
+ + + @foreach ($customAttributeValues as $attribute) + + @if ($attribute['label']) + + @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 new file mode 100644 index 000000000..12ca3e667 --- /dev/null +++ b/resources/themes/shop/views/products/view/bundle-options.blade.php @@ -0,0 +1,236 @@ +@if ($product->type == 'bundle') + + {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!} + + + + {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!} + + @push('scripts') + + + + + + @endpush +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/configurable-options.blade.php b/resources/themes/shop/views/products/view/configurable-options.blade.php new file mode 100644 index 000000000..970adc256 --- /dev/null +++ b/resources/themes/shop/views/products/view/configurable-options.blade.php @@ -0,0 +1,324 @@ +@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) + + @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') + + {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} + + + + {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} + + @push('scripts') + + + + getConfigurationConfig($product) ?> + + + @endpush + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/cross-sells.blade.php b/resources/themes/shop/views/products/view/cross-sells.blade.php new file mode 100644 index 000000000..f7b3e03b8 --- /dev/null +++ b/resources/themes/shop/views/products/view/cross-sells.blade.php @@ -0,0 +1,36 @@ +@foreach ($cart->items as $item) + product; + + if ($product->cross_sells()->count()) { + $products[] = $product; + $products = array_unique($products); + } + ?> +@endforeach + +@if (isset($products)) + +
+ +
+ {{ __('shop::app.products.cross-sell-title') }} + +
+ +
+ @foreach($products as $product) + + @foreach ($product->cross_sells()->paginate(2) as $cross_sell_product) + + @include ('shop::products.list.card', ['product' => $cross_sell_product]) + + @endforeach + + @endforeach + +
+ +
+ +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/downloadable.blade.php b/resources/themes/shop/views/products/view/downloadable.blade.php new file mode 100644 index 000000000..7f41196f7 --- /dev/null +++ b/resources/themes/shop/views/products/view/downloadable.blade.php @@ -0,0 +1,50 @@ +@if ($product->type == 'downloadable') + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} + +
+ + @if ($product->downloadable_samples->count()) +
+

{{ __('shop::app.products.samples') }}

+ + +
+ @endif + + @if ($product->downloadable_links->count()) + + @endif +
+ + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/gallery.blade.php b/resources/themes/shop/views/products/view/gallery.blade.php new file mode 100644 index 000000000..7ffa5261b --- /dev/null +++ b/resources/themes/shop/views/products/view/gallery.blade.php @@ -0,0 +1,221 @@ +@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') +@inject ('productVideoHelper', 'Webkul\Product\Helpers\ProductVideo') +@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') + +getGalleryImages($product); + + $videos = $productVideoHelper->getVideos($product); + + $images = array_merge($images, $videos); +?> + + +{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!} + +
+ +
+
+ + + + @include ('shop::products.view.product-add') + +
+ +{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!} + +@push('scripts') + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/grouped-products.blade.php b/resources/themes/shop/views/products/view/grouped-products.blade.php new file mode 100644 index 000000000..1f2b36dcc --- /dev/null +++ b/resources/themes/shop/views/products/view/grouped-products.blade.php @@ -0,0 +1,38 @@ +@if ($product->type == 'grouped') + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} + +
+ @if ($product->grouped_products->count()) +
+
    +
  • + {{ __('shop::app.products.name') }} + {{ __('shop::app.products.qty') }} +
  • + @foreach ($product->grouped_products as $groupedProduct) + @if($groupedProduct->associated_product->getTypeInstance()->isSaleable()) +
  • + + {{ $groupedProduct->associated_product->name }} + + @include ('shop::products.price', ['product' => $groupedProduct->associated_product]) + + + + + + +
  • + @endif + @endforeach +
+
+ @endif +
+ + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/product-add.blade.php b/resources/themes/shop/views/products/view/product-add.blade.php new file mode 100644 index 000000000..cb621c137 --- /dev/null +++ b/resources/themes/shop/views/products/view/product-add.blade.php @@ -0,0 +1,11 @@ +{!! view_render_event('bagisto.shop.products.view.product-add.before', ['product' => $product]) !!} + +
+ @include ('shop::products.add-to-cart', ['product' => $product]) + + @if (core()->getConfigData('catalog.products.storefront.buy_now_button_display')) + @include ('shop::products.buy-now') + @endif +
+ +{!! view_render_event('bagisto.shop.products.view.product-add.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/related-products.blade.php b/resources/themes/shop/views/products/view/related-products.blade.php new file mode 100644 index 000000000..722b4bf05 --- /dev/null +++ b/resources/themes/shop/views/products/view/related-products.blade.php @@ -0,0 +1,24 @@ +related_products()->get(); +?> + +@if ($relatedProducts->count()) +
+ +
+ {{ __('shop::app.products.related-product-title') }} + +
+ +
+ + @foreach ($relatedProducts as $related_product) + + @include ('shop::products.list.card', ['product' => $related_product]) + + @endforeach + +
+ +
+@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/reviews.blade.php b/resources/themes/shop/views/products/view/reviews.blade.php new file mode 100644 index 000000000..fbd627628 --- /dev/null +++ b/resources/themes/shop/views/products/view/reviews.blade.php @@ -0,0 +1,98 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + +{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!} + +@if ($total = $reviewHelper->getTotalReviews($product)) +
+
+ {{ __('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()) + + @endif +@endif + +{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!} diff --git a/resources/themes/shop/views/products/view/stock.blade.php b/resources/themes/shop/views/products/view/stock.blade.php new file mode 100644 index 000000000..391462011 --- /dev/null +++ b/resources/themes/shop/views/products/view/stock.blade.php @@ -0,0 +1,13 @@ +{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!} + +
+ @if ( $product->haveSufficientQuantity(1) === true ) + {{ __('shop::app.products.in-stock') }} + @elseif ( $product->haveSufficientQuantity(1) > 0 ) + {{ __('shop::app.products.available-for-order') }} + @else + {{ __('shop::app.products.out-of-stock') }} + @endif +
+ +{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/up-sells.blade.php b/resources/themes/shop/views/products/view/up-sells.blade.php new file mode 100644 index 000000000..0f85e80e2 --- /dev/null +++ b/resources/themes/shop/views/products/view/up-sells.blade.php @@ -0,0 +1,28 @@ +{!! view_render_event('bagisto.shop.products.view.up-sells.after', ['product' => $product]) !!} + +up_sells()->get(); +?> + +@if ($productUpSells->count()) +
+ +
+ {{ __('shop::app.products.up-sell-title') }} + +
+ +
+ + @foreach ($productUpSells as $up_sell_product) + + @include ('shop::products.list.card', ['product' => $up_sell_product]) + + @endforeach + +
+ +
+@endif + +{!! view_render_event('bagisto.shop.products.view.up-sells.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/wishlist.blade.php b/resources/themes/shop/views/products/wishlist.blade.php new file mode 100644 index 000000000..a91b33d2c --- /dev/null +++ b/resources/themes/shop/views/products/wishlist.blade.php @@ -0,0 +1,21 @@ +@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') + +@auth('customer') + {!! view_render_event('bagisto.shop.products.wishlist.before') !!} + + getWishlistProduct($product)) + class="add-to-wishlist already" + title="{{ __('shop::app.customer.account.wishlist.remove-wishlist-text') }}" + @else + class="add-to-wishlist" + title="{{ __('shop::app.customer.account.wishlist.add-wishlist-text') }}" + @endif + id="wishlist-changer" + style="margin-right: 15px;" + href="{{ route('customer.wishlist.add', $product->product_id) }}"> + + + + {!! view_render_event('bagisto.shop.products.wishlist.after') !!} +@endauth diff --git a/resources/themes/shop/views/search/search.blade.php b/resources/themes/shop/views/search/search.blade.php new file mode 100644 index 000000000..1f6543788 --- /dev/null +++ b/resources/themes/shop/views/search/search.blade.php @@ -0,0 +1,87 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.search.page-title') }} +@endsection + +@section('content-wrapper') + @if (request('image-search')) + + @endif + + @if (! $results) + {{ __('shop::app.search.no-results') }} + @endif + + @if ($results) +
+ @if ($results->isEmpty()) +
+

{{ __('shop::app.products.whoops') }}

+ {{ __('shop::app.search.no-results') }} +
+ @else +
+ + {{ $results->total() }} + + {{ ($results->total() == 1) ? __('shop::app.search.found-result') : __('shop::app.search.found-results') }} + +
+ +
+ @foreach ($results as $productFlat) + + @include('shop::products.list.card', ['product' => $productFlat->product]) + + @endforeach +
+ + @include('ui::datagrid.pagination') + @endif +
+ @endif +@endsection + +@push('scripts') + + + + + +@endpush \ No newline at end of file From 98d87387444caf7364d673e2c69b58e6b5c457c3 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 15 Jan 2021 19:03:39 +0530 Subject: [PATCH 3/7] enhancement #4468 added for velocity theme --- .../shop/views/checkout/cart/coupon.blade.php | 119 ---- .../shop/views/checkout/cart/index.blade.php | 274 -------- .../views/checkout/cart/mini-cart.blade.php | 116 ---- .../shop/views/checkout/onepage.blade.php | 613 ------------------ .../onepage/customer-checkout.blade.php | 23 - .../checkout/onepage/customer-info.blade.php | 475 -------------- .../views/checkout/onepage/payment.blade.php | 51 -- .../views/checkout/onepage/review.blade.php | 170 ----- .../views/checkout/onepage/shipping.blade.php | 48 -- .../shop/views/checkout/success.blade.php | 27 - .../views/checkout/total/summary.blade.php | 45 -- .../themes/shop/views/cms/page.blade.php | 17 - .../account/address/country-state.blade.php | 74 --- .../account/address/create.blade.php | 124 ---- .../customers/account/address/edit.blade.php | 125 ---- .../customers/account/address/index.blade.php | 112 ---- .../customers/account/compare/index.blade.php | 29 - .../downloadable_products/index.blade.php | 39 -- .../views/customers/account/index.blade.php | 9 - .../customers/account/orders/index.blade.php | 39 -- .../customers/account/orders/pdf.blade.php | 324 --------- .../customers/account/orders/view.blade.php | 562 ---------------- .../account/partials/sidemenu.blade.php | 62 -- .../customers/account/profile/edit.blade.php | 122 ---- .../customers/account/profile/index.blade.php | 114 ---- .../customers/account/reviews/index.blade.php | 82 --- .../account/reviews/reviews.blade.php | 52 -- .../account/wishlist/wishlist.blade.php | 94 --- .../views/customers/session/index.blade.php | 57 -- .../signup/forgot-password.blade.php | 61 -- .../views/customers/signup/index.blade.php | 95 --- .../customers/signup/reset-password.blade.php | 52 -- .../emails/admin/forget-password.blade.php | 38 -- .../emails/admin/update-password.blade.php | 25 - .../emails/customer/forget-password.blade.php | 34 - .../emails/customer/new-customer.blade.php | 30 - .../emails/customer/registration.blade.php | 32 - .../customer/subscription-email.blade.php | 26 - .../emails/customer/update-password.blade.php | 21 - .../customer/verification-email.blade.php | 26 - .../shop/views/emails/layouts/logo.blade.php | 5 - .../views/emails/layouts/master.blade.php | 22 - .../emails/sales/new-admin-order.blade.php | 221 ------- .../new-inventorysource-shipment.blade.php | 172 ----- .../views/emails/sales/new-invoice.blade.php | 211 ------ .../emails/sales/new-order-comment.blade.php | 35 - .../views/emails/sales/new-order.blade.php | 220 ------- .../views/emails/sales/new-refund.blade.php | 230 ------- .../views/emails/sales/new-shipment.blade.php | 174 ----- .../emails/sales/order-cancel-admin.blade.php | 212 ------ .../views/emails/sales/order-cancel.blade.php | 212 ------ resources/themes/shop/views/error.blade.php | 19 - .../themes/shop/views/errors/401.blade.php | 38 -- .../themes/shop/views/errors/403.blade.php | 38 -- .../themes/shop/views/errors/404.blade.php | 40 -- .../themes/shop/views/errors/500.blade.php | 40 -- .../themes/shop/views/errors/503.blade.php | 32 - .../guest/compare/compare-products.blade.php | 342 ---------- .../shop/views/guest/compare/index.blade.php | 11 - .../shop/views/guest/wishlist/index.blade.php | 3 - .../views/home/featured-products.blade.php | 27 - .../themes/shop/views/home/index.blade.php | 53 -- .../shop/views/home/new-products.blade.php | 27 - .../shop/views/home/news-updates.blade.php | 15 - .../themes/shop/views/home/slider.blade.php | 5 - resources/themes/shop/views/index.blade.php | 13 - .../views/layouts/footer/footer.blade.php | 91 --- .../shop/views/layouts/header/index.blade.php | 415 ------------ .../layouts/header/nav-menu/navmenu.blade.php | 138 ---- .../shop/views/layouts/master.blade.php | 129 ---- .../shop/views/partials/pagination.blade.php | 50 -- .../shop/views/products/add-buttons.blade.php | 24 - .../shop/views/products/add-to-cart.blade.php | 12 - .../shop/views/products/add-to.blade.php | 9 - .../shop/views/products/buy-now.blade.php | 7 - .../shop/views/products/compare.blade.php | 129 ---- .../shop/views/products/index.blade.php | 135 ---- .../shop/views/products/list/card.blade.php | 38 -- .../list/layered-navigation.blade.php | 219 ------- .../views/products/list/toolbar.blade.php | 83 --- .../shop/views/products/price.blade.php | 7 - .../shop/views/products/review.blade.php | 28 - .../views/products/reviews/create.blade.php | 118 ---- .../views/products/reviews/index.blade.php | 165 ----- .../shop/views/products/sharelinks.blade.php | 1 - .../themes/shop/views/products/view.blade.php | 291 --------- .../views/products/view/attributes.blade.php | 45 -- .../products/view/bundle-options.blade.php | 236 ------- .../view/configurable-options.blade.php | 324 --------- .../views/products/view/cross-sells.blade.php | 36 - .../products/view/downloadable.blade.php | 50 -- .../views/products/view/gallery.blade.php | 221 ------- .../products/view/grouped-products.blade.php | 38 -- .../views/products/view/product-add.blade.php | 11 - .../products/view/related-products.blade.php | 24 - .../views/products/view/reviews.blade.php | 98 --- .../shop/views/products/view/stock.blade.php | 13 - .../views/products/view/up-sells.blade.php | 28 - .../shop/views/products/wishlist.blade.php | 21 - .../themes/shop/views/search/search.blade.php | 87 --- 100 files changed, 10176 deletions(-) delete mode 100644 resources/themes/shop/views/checkout/cart/coupon.blade.php delete mode 100644 resources/themes/shop/views/checkout/cart/index.blade.php delete mode 100644 resources/themes/shop/views/checkout/cart/mini-cart.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage/customer-info.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage/payment.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage/review.blade.php delete mode 100644 resources/themes/shop/views/checkout/onepage/shipping.blade.php delete mode 100644 resources/themes/shop/views/checkout/success.blade.php delete mode 100644 resources/themes/shop/views/checkout/total/summary.blade.php delete mode 100644 resources/themes/shop/views/cms/page.blade.php delete mode 100644 resources/themes/shop/views/customers/account/address/country-state.blade.php delete mode 100644 resources/themes/shop/views/customers/account/address/create.blade.php delete mode 100644 resources/themes/shop/views/customers/account/address/edit.blade.php delete mode 100644 resources/themes/shop/views/customers/account/address/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/compare/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/downloadable_products/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/orders/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/orders/pdf.blade.php delete mode 100644 resources/themes/shop/views/customers/account/orders/view.blade.php delete mode 100644 resources/themes/shop/views/customers/account/partials/sidemenu.blade.php delete mode 100644 resources/themes/shop/views/customers/account/profile/edit.blade.php delete mode 100644 resources/themes/shop/views/customers/account/profile/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/reviews/index.blade.php delete mode 100644 resources/themes/shop/views/customers/account/reviews/reviews.blade.php delete mode 100644 resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php delete mode 100644 resources/themes/shop/views/customers/session/index.blade.php delete mode 100644 resources/themes/shop/views/customers/signup/forgot-password.blade.php delete mode 100644 resources/themes/shop/views/customers/signup/index.blade.php delete mode 100644 resources/themes/shop/views/customers/signup/reset-password.blade.php delete mode 100644 resources/themes/shop/views/emails/admin/forget-password.blade.php delete mode 100644 resources/themes/shop/views/emails/admin/update-password.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/forget-password.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/new-customer.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/registration.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/subscription-email.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/update-password.blade.php delete mode 100644 resources/themes/shop/views/emails/customer/verification-email.blade.php delete mode 100644 resources/themes/shop/views/emails/layouts/logo.blade.php delete mode 100644 resources/themes/shop/views/emails/layouts/master.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-admin-order.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-invoice.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-order-comment.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-order.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-refund.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/new-shipment.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php delete mode 100644 resources/themes/shop/views/emails/sales/order-cancel.blade.php delete mode 100644 resources/themes/shop/views/error.blade.php delete mode 100644 resources/themes/shop/views/errors/401.blade.php delete mode 100644 resources/themes/shop/views/errors/403.blade.php delete mode 100644 resources/themes/shop/views/errors/404.blade.php delete mode 100644 resources/themes/shop/views/errors/500.blade.php delete mode 100644 resources/themes/shop/views/errors/503.blade.php delete mode 100644 resources/themes/shop/views/guest/compare/compare-products.blade.php delete mode 100644 resources/themes/shop/views/guest/compare/index.blade.php delete mode 100644 resources/themes/shop/views/guest/wishlist/index.blade.php delete mode 100644 resources/themes/shop/views/home/featured-products.blade.php delete mode 100644 resources/themes/shop/views/home/index.blade.php delete mode 100644 resources/themes/shop/views/home/new-products.blade.php delete mode 100644 resources/themes/shop/views/home/news-updates.blade.php delete mode 100644 resources/themes/shop/views/home/slider.blade.php delete mode 100644 resources/themes/shop/views/index.blade.php delete mode 100644 resources/themes/shop/views/layouts/footer/footer.blade.php delete mode 100644 resources/themes/shop/views/layouts/header/index.blade.php delete mode 100644 resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php delete mode 100644 resources/themes/shop/views/layouts/master.blade.php delete mode 100644 resources/themes/shop/views/partials/pagination.blade.php delete mode 100644 resources/themes/shop/views/products/add-buttons.blade.php delete mode 100644 resources/themes/shop/views/products/add-to-cart.blade.php delete mode 100644 resources/themes/shop/views/products/add-to.blade.php delete mode 100644 resources/themes/shop/views/products/buy-now.blade.php delete mode 100644 resources/themes/shop/views/products/compare.blade.php delete mode 100644 resources/themes/shop/views/products/index.blade.php delete mode 100644 resources/themes/shop/views/products/list/card.blade.php delete mode 100644 resources/themes/shop/views/products/list/layered-navigation.blade.php delete mode 100644 resources/themes/shop/views/products/list/toolbar.blade.php delete mode 100644 resources/themes/shop/views/products/price.blade.php delete mode 100644 resources/themes/shop/views/products/review.blade.php delete mode 100644 resources/themes/shop/views/products/reviews/create.blade.php delete mode 100644 resources/themes/shop/views/products/reviews/index.blade.php delete mode 100644 resources/themes/shop/views/products/sharelinks.blade.php delete mode 100644 resources/themes/shop/views/products/view.blade.php delete mode 100644 resources/themes/shop/views/products/view/attributes.blade.php delete mode 100644 resources/themes/shop/views/products/view/bundle-options.blade.php delete mode 100644 resources/themes/shop/views/products/view/configurable-options.blade.php delete mode 100644 resources/themes/shop/views/products/view/cross-sells.blade.php delete mode 100644 resources/themes/shop/views/products/view/downloadable.blade.php delete mode 100644 resources/themes/shop/views/products/view/gallery.blade.php delete mode 100644 resources/themes/shop/views/products/view/grouped-products.blade.php delete mode 100644 resources/themes/shop/views/products/view/product-add.blade.php delete mode 100644 resources/themes/shop/views/products/view/related-products.blade.php delete mode 100644 resources/themes/shop/views/products/view/reviews.blade.php delete mode 100644 resources/themes/shop/views/products/view/stock.blade.php delete mode 100644 resources/themes/shop/views/products/view/up-sells.blade.php delete mode 100644 resources/themes/shop/views/products/wishlist.blade.php delete mode 100644 resources/themes/shop/views/search/search.blade.php 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 d44caa83c..000000000 --- a/resources/themes/shop/views/checkout/cart/index.blade.php +++ /dev/null @@ -1,274 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.cart.title') }} -@stop - -@section('content-wrapper') - @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - -
- @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 = (int) 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 4477af9b0..000000000 --- a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php +++ /dev/null @@ -1,116 +0,0 @@ -@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - -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 d18263480..000000000 --- a/resources/themes/shop/views/checkout/onepage.blade.php +++ /dev/null @@ -1,613 +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 223514041..000000000 --- a/resources/themes/shop/views/checkout/onepage/review.blade.php +++ /dev/null @@ -1,170 +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 - -
- - @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - -
- @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]) }} - - - - {{ 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') - - - -@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') - - - -@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') - - -@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') - - - -@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') - - - -@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') - - -@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') - - - -@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') - - - -@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 db57418cf..000000000 --- a/resources/themes/shop/views/customers/account/profile/edit.blade.php +++ /dev/null @@ -1,122 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.profile.edit-profile.page-title') }} -@endsection - -@section('content-wrapper') - -@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') - - -@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 28683a5c4..000000000 --- a/resources/themes/shop/views/customers/account/reviews/index.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.review.index.page-title') }} -@endsection - -@section('content-wrapper') - -@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 a86d410e1..000000000 --- a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php +++ /dev/null @@ -1,52 +0,0 @@ -@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.review.view.page-title') }} -@endsection - -@section('content-wrapper') - -@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 2ca3bd5a3..000000000 --- a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php +++ /dev/null @@ -1,94 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.wishlist.page-title') }} -@endsection - -@section('content-wrapper') - -@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') - -
- - - {!! 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 9f1598a08..000000000 --- a/resources/themes/shop/views/customers/signup/index.blade.php +++ /dev/null @@ -1,95 +0,0 @@ -@extends('shop::layouts.master') -@section('page_title') - {{ __('shop::app.customer.signup-form.page-title') }} -@endsection -@section('content-wrapper') - -
- - - - {!! 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 20ed0570d..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 - -@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 b6f65a053..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 abdbf9452..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 771d88d22..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 c02bdee5d..000000000 --- a/resources/themes/shop/views/products/add-buttons.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -@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 270b15adf..000000000 --- a/resources/themes/shop/views/products/list/card.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} - -
- - @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - - 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 0c9abb250..000000000 --- a/resources/themes/shop/views/products/reviews/create.blade.php +++ /dev/null @@ -1,118 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} -@endsection - -@section('content-wrapper') - -
- -
-
- @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - - 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 074c5d58b..000000000 --- a/resources/themes/shop/views/products/reviews/index.blade.php +++ /dev/null @@ -1,165 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.product-review-page-title') }} - {{ $product->name }} -@endsection - -@section('content-wrapper') - -
- -
- @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') - - @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 0f378be6d..000000000 --- a/resources/themes/shop/views/products/view.blade.php +++ /dev/null @@ -1,291 +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]) - - @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 970adc256..000000000 --- a/resources/themes/shop/views/products/view/configurable-options.blade.php +++ /dev/null @@ -1,324 +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 7ffa5261b..000000000 --- a/resources/themes/shop/views/products/view/gallery.blade.php +++ /dev/null @@ -1,221 +0,0 @@ -@inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') -@inject ('productVideoHelper', 'Webkul\Product\Helpers\ProductVideo') -@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') - -getGalleryImages($product); - - $videos = $productVideoHelper->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()) -
-
    -
  • - {{ __('shop::app.products.name') }} - {{ __('shop::app.products.qty') }} -
  • - @foreach ($product->grouped_products as $groupedProduct) - @if($groupedProduct->associated_product->getTypeInstance()->isSaleable()) -
  • - - {{ $groupedProduct->associated_product->name }} - - @include ('shop::products.price', ['product' => $groupedProduct->associated_product]) - - - - - - -
  • - @endif - @endforeach -
-
- @endif -
- - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/product-add.blade.php b/resources/themes/shop/views/products/view/product-add.blade.php 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()) - - @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 From 142f04ad41aaf07a9103493aa6f2fd2448703352 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Mon, 18 Jan 2021 16:23:53 +0530 Subject: [PATCH 4/7] fixing as per comment --- .../src/Http/Controllers/RegistrationController.php | 1 - packages/Webkul/Customer/src/Models/Customer.php | 9 +++++++++ .../views/customers/account/profile/edit.blade.php | 2 +- .../views/shop/customers/account/profile/edit.blade.php | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php index a3b14395f..3503ef018 100755 --- a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php +++ b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php @@ -97,7 +97,6 @@ class RegistrationController extends Controller 'is_verified' => core()->getConfigData('customer.settings.email.verification') ? 0 : 1, 'customer_group_id' => $this->customerGroupRepository->findOneWhere(['code' => 'general'])->id, 'token' => md5(uniqid(rand(), true)), - 'subscribed_to_news_letter' => isset(request()->input()['is_subscribed']) ? 1 : 0, ]); Event::dispatch('customer.registration.before'); diff --git a/packages/Webkul/Customer/src/Models/Customer.php b/packages/Webkul/Customer/src/Models/Customer.php index be81d5e72..12a3a3283 100755 --- a/packages/Webkul/Customer/src/Models/Customer.php +++ b/packages/Webkul/Customer/src/Models/Customer.php @@ -7,6 +7,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable; use Tymon\JWTAuth\Contracts\JWTSubject; use Webkul\Checkout\Models\CartProxy; use Webkul\Sales\Models\OrderProxy; +use Webkul\Core\Models\SubscribersListProxy; use Webkul\Product\Models\ProductReviewProxy; use Webkul\Customer\Notifications\CustomerResetPassword; use Webkul\Customer\Contracts\Customer as CustomerContract; @@ -160,4 +161,12 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject { return []; } + + /** + * Get the customer's subscription. + */ + public function subscription() + { + return $this->hasOne(SubscribersListProxy::modelClass(), 'customer_id'); + } } diff --git a/packages/Webkul/Shop/src/Resources/views/customers/account/profile/edit.blade.php b/packages/Webkul/Shop/src/Resources/views/customers/account/profile/edit.blade.php index db57418cf..18f2afc45 100755 --- a/packages/Webkul/Shop/src/Resources/views/customers/account/profile/edit.blade.php +++ b/packages/Webkul/Shop/src/Resources/views/customers/account/profile/edit.blade.php @@ -101,7 +101,7 @@
- subscribed_to_news_letter ? 'checked' : ''}}> + subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif> {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}
diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/profile/edit.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/profile/edit.blade.php index 94d22a384..47a9ee72a 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/profile/edit.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/profile/edit.blade.php @@ -179,7 +179,7 @@
- subscribed_to_news_letter ? 'checked' : ''}} style="width: auto;"> + subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif style="width: auto;"> {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}
From 9f67e46ef82b0775c639c4b66e81a4f72cd50a08 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Mon, 18 Jan 2021 20:13:46 +0530 Subject: [PATCH 5/7] added missed condition in marketing --- .../Core/src/Http/Controllers/SubscriptionController.php | 8 +++++++- packages/Webkul/Core/src/Models/SubscribersList.php | 9 +++++++++ .../src/Http/Controllers/RegistrationController.php | 1 + 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/Webkul/Core/src/Http/Controllers/SubscriptionController.php b/packages/Webkul/Core/src/Http/Controllers/SubscriptionController.php index e40c1a2e2..f019d40ce 100755 --- a/packages/Webkul/Core/src/Http/Controllers/SubscriptionController.php +++ b/packages/Webkul/Core/src/Http/Controllers/SubscriptionController.php @@ -70,6 +70,12 @@ class SubscriptionController extends Controller $subscriber = $this->subscribersListRepository->findOrFail($id); + $customer = $subscriber->customer; + + $customer->subscribed_to_news_letter = $data['is_subscribed']; + + $customer->save(); + $result = $subscriber->update($data); if ($result) { @@ -99,7 +105,7 @@ class SubscriptionController extends Controller return response()->json(['message' => true], 200); } catch (\Exception $e) { report($e); - + session()->flash('error', trans('admin::app.response.delete-failed', ['name' => 'Subscriber'])); } diff --git a/packages/Webkul/Core/src/Models/SubscribersList.php b/packages/Webkul/Core/src/Models/SubscribersList.php index 1259e83a8..d016047f0 100755 --- a/packages/Webkul/Core/src/Models/SubscribersList.php +++ b/packages/Webkul/Core/src/Models/SubscribersList.php @@ -3,6 +3,7 @@ namespace Webkul\Core\Models; use Illuminate\Database\Eloquent\Model; +use Webkul\Customer\Models\CustomerProxy; use Webkul\Core\Contracts\SubscribersList as SubscribersListContract; class SubscribersList extends Model implements SubscribersListContract @@ -24,4 +25,12 @@ class SubscribersList extends Model implements SubscribersListContract ]; protected $hidden = ['token']; + + /** + * Get the customer associated with the subscription. + */ + public function customer() + { + return $this->belongsTo(CustomerProxy::modelClass()); + } } \ No newline at end of file diff --git a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php index 3503ef018..a3b14395f 100755 --- a/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php +++ b/packages/Webkul/Customer/src/Http/Controllers/RegistrationController.php @@ -97,6 +97,7 @@ class RegistrationController extends Controller 'is_verified' => core()->getConfigData('customer.settings.email.verification') ? 0 : 1, 'customer_group_id' => $this->customerGroupRepository->findOneWhere(['code' => 'general'])->id, 'token' => md5(uniqid(rand(), true)), + 'subscribed_to_news_letter' => isset(request()->input()['is_subscribed']) ? 1 : 0, ]); Event::dispatch('customer.registration.before'); From cdd037e0aeddfa3400ba1ff37636d2ea9f16d9c0 Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 19 Jan 2021 16:09:53 +0900 Subject: [PATCH 6/7] fix typo --- packages/Webkul/Core/src/Helpers/Exchange/ExchangeRates.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/Core/src/Helpers/Exchange/ExchangeRates.php b/packages/Webkul/Core/src/Helpers/Exchange/ExchangeRates.php index 5c53c3a66..5fbeb32d3 100644 --- a/packages/Webkul/Core/src/Helpers/Exchange/ExchangeRates.php +++ b/packages/Webkul/Core/src/Helpers/Exchange/ExchangeRates.php @@ -67,7 +67,7 @@ class ExchangeRates extends ExchangeRate $result = json_decode($result->getBody()->getContents(), true); if (isset($result['success']) && ! $result['success']) { - throw new E\xception( + throw new \Exception( isset($result['error']['info']) ? $result['error']['info'] : $result['error']['type'], 1); From 0b7475c2bb26831490b82e437edfaee181aa953d Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Tue, 19 Jan 2021 13:24:20 +0530 Subject: [PATCH 7/7] Some Cleanups And Ignored Files --- .gitignore | 5 +- resources/themes/.gitignore | 2 + resources/views/.gitignore | 2 + resources/views/errors/401.blade.php | 5 - resources/views/errors/403.blade.php | 5 - resources/views/errors/404.blade.php | 5 - resources/views/errors/419.blade.php | 5 - resources/views/errors/429.blade.php | 5 - resources/views/errors/500.blade.php | 5 - resources/views/errors/503.blade.php | 5 - .../views/errors/illustrated-layout.blade.php | 486 ------------------ resources/views/errors/layout.blade.php | 57 -- resources/views/errors/minimal.blade.php | 62 --- .../views/vendor/mail/html/button.blade.php | 19 - .../views/vendor/mail/html/footer.blade.php | 11 - .../views/vendor/mail/html/header.blade.php | 11 - .../views/vendor/mail/html/layout.blade.php | 54 -- .../views/vendor/mail/html/message.blade.php | 27 - .../views/vendor/mail/html/panel.blade.php | 14 - .../vendor/mail/html/promotion.blade.php | 7 - .../mail/html/promotion/button.blade.php | 13 - .../views/vendor/mail/html/subcopy.blade.php | 7 - .../views/vendor/mail/html/table.blade.php | 3 - .../views/vendor/mail/html/themes/default.css | 289 ----------- .../vendor/mail/markdown/button.blade.php | 1 - .../vendor/mail/markdown/footer.blade.php | 1 - .../vendor/mail/markdown/header.blade.php | 1 - .../vendor/mail/markdown/layout.blade.php | 9 - .../vendor/mail/markdown/message.blade.php | 27 - .../vendor/mail/markdown/panel.blade.php | 1 - .../vendor/mail/markdown/promotion.blade.php | 1 - .../mail/markdown/promotion/button.blade.php | 1 - .../vendor/mail/markdown/subcopy.blade.php | 1 - .../vendor/mail/markdown/table.blade.php | 1 - .../views/vendor/mail/text/button.blade.php | 1 - .../views/vendor/mail/text/footer.blade.php | 1 - .../views/vendor/mail/text/header.blade.php | 1 - .../views/vendor/mail/text/layout.blade.php | 9 - .../views/vendor/mail/text/message.blade.php | 27 - .../views/vendor/mail/text/panel.blade.php | 1 - .../vendor/mail/text/promotion.blade.php | 1 - .../mail/text/promotion/button.blade.php | 1 - .../views/vendor/mail/text/subcopy.blade.php | 1 - .../views/vendor/mail/text/table.blade.php | 1 - .../vendor/notifications/email.blade.php | 62 --- .../vendor/pagination/bootstrap-4.blade.php | 46 -- .../views/vendor/pagination/default.blade.php | 46 -- .../vendor/pagination/semantic-ui.blade.php | 36 -- .../pagination/simple-bootstrap-4.blade.php | 27 - .../pagination/simple-default.blade.php | 19 - .../pagination/simple-tailwind.blade.php | 25 - .../vendor/pagination/tailwind.blade.php | 102 ---- 52 files changed, 5 insertions(+), 1550 deletions(-) create mode 100755 resources/themes/.gitignore create mode 100755 resources/views/.gitignore delete mode 100644 resources/views/errors/401.blade.php delete mode 100644 resources/views/errors/403.blade.php delete mode 100644 resources/views/errors/404.blade.php delete mode 100644 resources/views/errors/419.blade.php delete mode 100644 resources/views/errors/429.blade.php delete mode 100644 resources/views/errors/500.blade.php delete mode 100644 resources/views/errors/503.blade.php delete mode 100644 resources/views/errors/illustrated-layout.blade.php delete mode 100644 resources/views/errors/layout.blade.php delete mode 100644 resources/views/errors/minimal.blade.php delete mode 100755 resources/views/vendor/mail/html/button.blade.php delete mode 100755 resources/views/vendor/mail/html/footer.blade.php delete mode 100755 resources/views/vendor/mail/html/header.blade.php delete mode 100755 resources/views/vendor/mail/html/layout.blade.php delete mode 100755 resources/views/vendor/mail/html/message.blade.php delete mode 100755 resources/views/vendor/mail/html/panel.blade.php delete mode 100755 resources/views/vendor/mail/html/promotion.blade.php delete mode 100755 resources/views/vendor/mail/html/promotion/button.blade.php delete mode 100755 resources/views/vendor/mail/html/subcopy.blade.php delete mode 100755 resources/views/vendor/mail/html/table.blade.php delete mode 100755 resources/views/vendor/mail/html/themes/default.css delete mode 100755 resources/views/vendor/mail/markdown/button.blade.php delete mode 100755 resources/views/vendor/mail/markdown/footer.blade.php delete mode 100755 resources/views/vendor/mail/markdown/header.blade.php delete mode 100755 resources/views/vendor/mail/markdown/layout.blade.php delete mode 100755 resources/views/vendor/mail/markdown/message.blade.php delete mode 100755 resources/views/vendor/mail/markdown/panel.blade.php delete mode 100755 resources/views/vendor/mail/markdown/promotion.blade.php delete mode 100755 resources/views/vendor/mail/markdown/promotion/button.blade.php delete mode 100755 resources/views/vendor/mail/markdown/subcopy.blade.php delete mode 100755 resources/views/vendor/mail/markdown/table.blade.php delete mode 100644 resources/views/vendor/mail/text/button.blade.php delete mode 100644 resources/views/vendor/mail/text/footer.blade.php delete mode 100644 resources/views/vendor/mail/text/header.blade.php delete mode 100644 resources/views/vendor/mail/text/layout.blade.php delete mode 100644 resources/views/vendor/mail/text/message.blade.php delete mode 100644 resources/views/vendor/mail/text/panel.blade.php delete mode 100644 resources/views/vendor/mail/text/promotion.blade.php delete mode 100644 resources/views/vendor/mail/text/promotion/button.blade.php delete mode 100644 resources/views/vendor/mail/text/subcopy.blade.php delete mode 100644 resources/views/vendor/mail/text/table.blade.php delete mode 100755 resources/views/vendor/notifications/email.blade.php delete mode 100755 resources/views/vendor/pagination/bootstrap-4.blade.php delete mode 100755 resources/views/vendor/pagination/default.blade.php delete mode 100755 resources/views/vendor/pagination/semantic-ui.blade.php delete mode 100755 resources/views/vendor/pagination/simple-bootstrap-4.blade.php delete mode 100755 resources/views/vendor/pagination/simple-default.blade.php delete mode 100644 resources/views/vendor/pagination/simple-tailwind.blade.php delete mode 100644 resources/views/vendor/pagination/tailwind.blade.php diff --git a/.gitignore b/.gitignore index c0635892a..b26a20012 100644 --- a/.gitignore +++ b/.gitignore @@ -18,10 +18,7 @@ package-lock.json /public/storage /public/themes /public/vendor -/resources/themes/velocity/* -/resources/lang/vendor/admin/* -/resources/lang/vendor/shop/* -/resources/lang/vendor/velocity/* +/resources/lang/vendor /storage/*.key /storage/dcc-data/ /vendor diff --git a/resources/themes/.gitignore b/resources/themes/.gitignore new file mode 100755 index 000000000..d6b7ef32c --- /dev/null +++ b/resources/themes/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/resources/views/.gitignore b/resources/views/.gitignore new file mode 100755 index 000000000..d6b7ef32c --- /dev/null +++ b/resources/views/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/resources/views/errors/401.blade.php b/resources/views/errors/401.blade.php deleted file mode 100644 index 5c586db96..000000000 --- a/resources/views/errors/401.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Unauthorized')) -@section('code', '401') -@section('message', __('Unauthorized')) diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php deleted file mode 100644 index a5506f01f..000000000 --- a/resources/views/errors/403.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Forbidden')) -@section('code', '403') -@section('message', __($exception->getMessage() ?: 'Forbidden')) diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php deleted file mode 100644 index 7549540d8..000000000 --- a/resources/views/errors/404.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Not Found')) -@section('code', '404') -@section('message', __('Not Found')) diff --git a/resources/views/errors/419.blade.php b/resources/views/errors/419.blade.php deleted file mode 100644 index c09216e21..000000000 --- a/resources/views/errors/419.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Page Expired')) -@section('code', '419') -@section('message', __('Page Expired')) diff --git a/resources/views/errors/429.blade.php b/resources/views/errors/429.blade.php deleted file mode 100644 index f01b07b8e..000000000 --- a/resources/views/errors/429.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Too Many Requests')) -@section('code', '429') -@section('message', __('Too Many Requests')) diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php deleted file mode 100644 index d9e95d9b9..000000000 --- a/resources/views/errors/500.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Server Error')) -@section('code', '500') -@section('message', __('Server Error')) diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php deleted file mode 100644 index acd38100a..000000000 --- a/resources/views/errors/503.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@extends('errors::minimal') - -@section('title', __('Service Unavailable')) -@section('code', '503') -@section('message', __($exception->getMessage() ?: 'Service Unavailable')) diff --git a/resources/views/errors/illustrated-layout.blade.php b/resources/views/errors/illustrated-layout.blade.php deleted file mode 100644 index 64eb7cbb8..000000000 --- a/resources/views/errors/illustrated-layout.blade.php +++ /dev/null @@ -1,486 +0,0 @@ - - - - - - - @yield('title') - - - - - - - - - -
-
-
-
- @yield('code', __('Oh no')) -
- -
- -

- @yield('message') -

- - - - -
-
- -
- @yield('image') -
-
- - diff --git a/resources/views/errors/layout.blade.php b/resources/views/errors/layout.blade.php deleted file mode 100644 index 2c51d4f35..000000000 --- a/resources/views/errors/layout.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - @yield('title') - - - - - - - - - -
-
-
- @yield('message') -
-
-
- - diff --git a/resources/views/errors/minimal.blade.php b/resources/views/errors/minimal.blade.php deleted file mode 100644 index b63ac2b37..000000000 --- a/resources/views/errors/minimal.blade.php +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - @yield('title') - - - - - - - - - -
-
- @yield('code') -
- -
- @yield('message') -
-
- - diff --git a/resources/views/vendor/mail/html/button.blade.php b/resources/views/vendor/mail/html/button.blade.php deleted file mode 100755 index e74fe55a7..000000000 --- a/resources/views/vendor/mail/html/button.blade.php +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/resources/views/vendor/mail/html/footer.blade.php b/resources/views/vendor/mail/html/footer.blade.php deleted file mode 100755 index 3ff41f89c..000000000 --- a/resources/views/vendor/mail/html/footer.blade.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/resources/views/vendor/mail/html/header.blade.php b/resources/views/vendor/mail/html/header.blade.php deleted file mode 100755 index fa1875caa..000000000 --- a/resources/views/vendor/mail/html/header.blade.php +++ /dev/null @@ -1,11 +0,0 @@ - - - -@if (trim($slot) === 'Laravel') - -@else -{{ $slot }} -@endif - - - diff --git a/resources/views/vendor/mail/html/layout.blade.php b/resources/views/vendor/mail/html/layout.blade.php deleted file mode 100755 index 02a54e2da..000000000 --- a/resources/views/vendor/mail/html/layout.blade.php +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/resources/views/vendor/mail/html/message.blade.php b/resources/views/vendor/mail/html/message.blade.php deleted file mode 100755 index deec4a1f4..000000000 --- a/resources/views/vendor/mail/html/message.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@component('mail::layout') -{{-- Header --}} -@slot('header') -@component('mail::header', ['url' => config('app.url')]) -{{ config('app.name') }} -@endcomponent -@endslot - -{{-- Body --}} -{{ $slot }} - -{{-- Subcopy --}} -@isset($subcopy) -@slot('subcopy') -@component('mail::subcopy') -{{ $subcopy }} -@endcomponent -@endslot -@endisset - -{{-- Footer --}} -@slot('footer') -@component('mail::footer') -© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.') -@endcomponent -@endslot -@endcomponent diff --git a/resources/views/vendor/mail/html/panel.blade.php b/resources/views/vendor/mail/html/panel.blade.php deleted file mode 100755 index 2975a60a0..000000000 --- a/resources/views/vendor/mail/html/panel.blade.php +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - diff --git a/resources/views/vendor/mail/html/promotion.blade.php b/resources/views/vendor/mail/html/promotion.blade.php deleted file mode 100755 index 8fef44c97..000000000 --- a/resources/views/vendor/mail/html/promotion.blade.php +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/resources/views/vendor/mail/html/promotion/button.blade.php b/resources/views/vendor/mail/html/promotion/button.blade.php deleted file mode 100755 index 1dcb2ee46..000000000 --- a/resources/views/vendor/mail/html/promotion/button.blade.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - -
- - - - -
- {{ $slot }} -
-
diff --git a/resources/views/vendor/mail/html/subcopy.blade.php b/resources/views/vendor/mail/html/subcopy.blade.php deleted file mode 100755 index 790ce6c24..000000000 --- a/resources/views/vendor/mail/html/subcopy.blade.php +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/resources/views/vendor/mail/html/table.blade.php b/resources/views/vendor/mail/html/table.blade.php deleted file mode 100755 index a5f3348b2..000000000 --- a/resources/views/vendor/mail/html/table.blade.php +++ /dev/null @@ -1,3 +0,0 @@ -
-{{ Illuminate\Mail\Markdown::parse($slot) }} -
diff --git a/resources/views/vendor/mail/html/themes/default.css b/resources/views/vendor/mail/html/themes/default.css deleted file mode 100755 index 350fb838f..000000000 --- a/resources/views/vendor/mail/html/themes/default.css +++ /dev/null @@ -1,289 +0,0 @@ -/* Base */ - -body, -body *:not(html):not(style):not(br):not(tr):not(code) { - box-sizing: border-box; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, - 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; - position: relative; -} - -body { - -webkit-text-size-adjust: none; - background-color: #ffffff; - color: #718096; - height: 100%; - line-height: 1.4; - margin: 0; - padding: 0; - width: 100% !important; -} - -p, -ul, -ol, -blockquote { - line-height: 1.4; - text-align: left; -} - -a { - color: #3869d4; -} - -a img { - border: none; -} - -/* Typography */ - -h1 { - color: #3d4852; - font-size: 18px; - font-weight: bold; - margin-top: 0; - text-align: left; -} - -h2 { - font-size: 16px; - font-weight: bold; - margin-top: 0; - text-align: left; -} - -h3 { - font-size: 14px; - font-weight: bold; - margin-top: 0; - text-align: left; -} - -p { - font-size: 16px; - line-height: 1.5em; - margin-top: 0; - text-align: left; -} - -p.sub { - font-size: 12px; -} - -img { - max-width: 100%; -} - -/* Layout */ - -.wrapper { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 100%; - background-color: #edf2f7; - margin: 0; - padding: 0; - width: 100%; -} - -.content { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 100%; - margin: 0; - padding: 0; - width: 100%; -} - -/* Header */ - -.header { - padding: 25px 0; - text-align: center; -} - -.header a { - color: #3d4852; - font-size: 19px; - font-weight: bold; - text-decoration: none; -} - -/* Logo */ - -.logo { - height: 75px; - width: 75px; -} - -/* Body */ - -.body { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 100%; - background-color: #edf2f7; - border-bottom: 1px solid #edf2f7; - border-top: 1px solid #edf2f7; - margin: 0; - padding: 0; - width: 100%; -} - -.inner-body { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 570px; - background-color: #ffffff; - border-color: #e8e5ef; - border-radius: 2px; - border-width: 1px; - box-shadow: 0 2px 0 rgba(0, 0, 150, 0.025), 2px 4px 0 rgba(0, 0, 150, 0.015); - margin: 0 auto; - padding: 0; - width: 570px; -} - -/* Subcopy */ - -.subcopy { - border-top: 1px solid #e8e5ef; - margin-top: 25px; - padding-top: 25px; -} - -.subcopy p { - font-size: 14px; -} - -/* Footer */ - -.footer { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 570px; - margin: 0 auto; - padding: 0; - text-align: center; - width: 570px; -} - -.footer p { - color: #b0adc5; - font-size: 12px; - text-align: center; -} - -.footer a { - color: #b0adc5; - text-decoration: underline; -} - -/* Tables */ - -.table table { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 100%; - margin: 30px auto; - width: 100%; -} - -.table th { - border-bottom: 1px solid #edeff2; - margin: 0; - padding-bottom: 8px; -} - -.table td { - color: #74787e; - font-size: 15px; - line-height: 18px; - margin: 0; - padding: 10px 0; -} - -.content-cell { - max-width: 100vw; - padding: 32px; -} - -/* Buttons */ - -.action { - -premailer-cellpadding: 0; - -premailer-cellspacing: 0; - -premailer-width: 100%; - margin: 30px auto; - padding: 0; - text-align: center; - width: 100%; -} - -.button { - -webkit-text-size-adjust: none; - border-radius: 4px; - color: #fff; - display: inline-block; - overflow: hidden; - text-decoration: none; -} - -.button-blue, -.button-primary { - background-color: #2d3748; - border-bottom: 8px solid #2d3748; - border-left: 18px solid #2d3748; - border-right: 18px solid #2d3748; - border-top: 8px solid #2d3748; -} - -.button-green, -.button-success { - background-color: #48bb78; - border-bottom: 8px solid #48bb78; - border-left: 18px solid #48bb78; - border-right: 18px solid #48bb78; - border-top: 8px solid #48bb78; -} - -.button-red, -.button-error { - background-color: #e53e3e; - border-bottom: 8px solid #e53e3e; - border-left: 18px solid #e53e3e; - border-right: 18px solid #e53e3e; - border-top: 8px solid #e53e3e; -} - -/* Panels */ - -.panel { - border-left: #2d3748 solid 4px; - margin: 21px 0; -} - -.panel-content { - background-color: #edf2f7; - color: #718096; - padding: 16px; -} - -.panel-content p { - color: #718096; -} - -.panel-item { - padding: 0; -} - -.panel-item p:last-of-type { - margin-bottom: 0; - padding-bottom: 0; -} - -/* Utilities */ - -.break-all { - word-break: break-all; -} diff --git a/resources/views/vendor/mail/markdown/button.blade.php b/resources/views/vendor/mail/markdown/button.blade.php deleted file mode 100755 index 97444ebdc..000000000 --- a/resources/views/vendor/mail/markdown/button.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }}: {{ $url }} diff --git a/resources/views/vendor/mail/markdown/footer.blade.php b/resources/views/vendor/mail/markdown/footer.blade.php deleted file mode 100755 index 3338f620e..000000000 --- a/resources/views/vendor/mail/markdown/footer.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/markdown/header.blade.php b/resources/views/vendor/mail/markdown/header.blade.php deleted file mode 100755 index aaa3e5754..000000000 --- a/resources/views/vendor/mail/markdown/header.blade.php +++ /dev/null @@ -1 +0,0 @@ -[{{ $slot }}]({{ $url }}) diff --git a/resources/views/vendor/mail/markdown/layout.blade.php b/resources/views/vendor/mail/markdown/layout.blade.php deleted file mode 100755 index 9378baa07..000000000 --- a/resources/views/vendor/mail/markdown/layout.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -{!! strip_tags($header) !!} - -{!! strip_tags($slot) !!} -@isset($subcopy) - -{!! strip_tags($subcopy) !!} -@endisset - -{!! strip_tags($footer) !!} diff --git a/resources/views/vendor/mail/markdown/message.blade.php b/resources/views/vendor/mail/markdown/message.blade.php deleted file mode 100755 index b409c71cb..000000000 --- a/resources/views/vendor/mail/markdown/message.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@component('mail::layout') - {{-- Header --}} - @slot('header') - @component('mail::header', ['url' => config('app.url')]) - {{ config('app.name') }} - @endcomponent - @endslot - - {{-- Body --}} - {{ $slot }} - - {{-- Subcopy --}} - @isset($subcopy) - @slot('subcopy') - @component('mail::subcopy') - {{ $subcopy }} - @endcomponent - @endslot - @endisset - - {{-- Footer --}} - @slot('footer') - @component('mail::footer') - © {{ date('Y') }} {{ config('app.name') }}. All rights reserved. - @endcomponent - @endslot -@endcomponent diff --git a/resources/views/vendor/mail/markdown/panel.blade.php b/resources/views/vendor/mail/markdown/panel.blade.php deleted file mode 100755 index 3338f620e..000000000 --- a/resources/views/vendor/mail/markdown/panel.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/markdown/promotion.blade.php b/resources/views/vendor/mail/markdown/promotion.blade.php deleted file mode 100755 index 3338f620e..000000000 --- a/resources/views/vendor/mail/markdown/promotion.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/markdown/promotion/button.blade.php b/resources/views/vendor/mail/markdown/promotion/button.blade.php deleted file mode 100755 index aaa3e5754..000000000 --- a/resources/views/vendor/mail/markdown/promotion/button.blade.php +++ /dev/null @@ -1 +0,0 @@ -[{{ $slot }}]({{ $url }}) diff --git a/resources/views/vendor/mail/markdown/subcopy.blade.php b/resources/views/vendor/mail/markdown/subcopy.blade.php deleted file mode 100755 index 3338f620e..000000000 --- a/resources/views/vendor/mail/markdown/subcopy.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/markdown/table.blade.php b/resources/views/vendor/mail/markdown/table.blade.php deleted file mode 100755 index 3338f620e..000000000 --- a/resources/views/vendor/mail/markdown/table.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/text/button.blade.php b/resources/views/vendor/mail/text/button.blade.php deleted file mode 100644 index 97444ebdc..000000000 --- a/resources/views/vendor/mail/text/button.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }}: {{ $url }} diff --git a/resources/views/vendor/mail/text/footer.blade.php b/resources/views/vendor/mail/text/footer.blade.php deleted file mode 100644 index 3338f620e..000000000 --- a/resources/views/vendor/mail/text/footer.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/text/header.blade.php b/resources/views/vendor/mail/text/header.blade.php deleted file mode 100644 index aaa3e5754..000000000 --- a/resources/views/vendor/mail/text/header.blade.php +++ /dev/null @@ -1 +0,0 @@ -[{{ $slot }}]({{ $url }}) diff --git a/resources/views/vendor/mail/text/layout.blade.php b/resources/views/vendor/mail/text/layout.blade.php deleted file mode 100644 index 9378baa07..000000000 --- a/resources/views/vendor/mail/text/layout.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -{!! strip_tags($header) !!} - -{!! strip_tags($slot) !!} -@isset($subcopy) - -{!! strip_tags($subcopy) !!} -@endisset - -{!! strip_tags($footer) !!} diff --git a/resources/views/vendor/mail/text/message.blade.php b/resources/views/vendor/mail/text/message.blade.php deleted file mode 100644 index 1ae9ed8f1..000000000 --- a/resources/views/vendor/mail/text/message.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@component('mail::layout') - {{-- Header --}} - @slot('header') - @component('mail::header', ['url' => config('app.url')]) - {{ config('app.name') }} - @endcomponent - @endslot - - {{-- Body --}} - {{ $slot }} - - {{-- Subcopy --}} - @isset($subcopy) - @slot('subcopy') - @component('mail::subcopy') - {{ $subcopy }} - @endcomponent - @endslot - @endisset - - {{-- Footer --}} - @slot('footer') - @component('mail::footer') - © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.') - @endcomponent - @endslot -@endcomponent diff --git a/resources/views/vendor/mail/text/panel.blade.php b/resources/views/vendor/mail/text/panel.blade.php deleted file mode 100644 index 3338f620e..000000000 --- a/resources/views/vendor/mail/text/panel.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/text/promotion.blade.php b/resources/views/vendor/mail/text/promotion.blade.php deleted file mode 100644 index 3338f620e..000000000 --- a/resources/views/vendor/mail/text/promotion.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/text/promotion/button.blade.php b/resources/views/vendor/mail/text/promotion/button.blade.php deleted file mode 100644 index aaa3e5754..000000000 --- a/resources/views/vendor/mail/text/promotion/button.blade.php +++ /dev/null @@ -1 +0,0 @@ -[{{ $slot }}]({{ $url }}) diff --git a/resources/views/vendor/mail/text/subcopy.blade.php b/resources/views/vendor/mail/text/subcopy.blade.php deleted file mode 100644 index 3338f620e..000000000 --- a/resources/views/vendor/mail/text/subcopy.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/mail/text/table.blade.php b/resources/views/vendor/mail/text/table.blade.php deleted file mode 100644 index 3338f620e..000000000 --- a/resources/views/vendor/mail/text/table.blade.php +++ /dev/null @@ -1 +0,0 @@ -{{ $slot }} diff --git a/resources/views/vendor/notifications/email.blade.php b/resources/views/vendor/notifications/email.blade.php deleted file mode 100755 index e7a56b461..000000000 --- a/resources/views/vendor/notifications/email.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@component('mail::message') -{{-- Greeting --}} -@if (! empty($greeting)) -# {{ $greeting }} -@else -@if ($level === 'error') -# @lang('Whoops!') -@else -# @lang('Hello!') -@endif -@endif - -{{-- Intro Lines --}} -@foreach ($introLines as $line) -{{ $line }} - -@endforeach - -{{-- Action Button --}} -@isset($actionText) - -@component('mail::button', ['url' => $actionUrl, 'color' => $color]) -{{ $actionText }} -@endcomponent -@endisset - -{{-- Outro Lines --}} -@foreach ($outroLines as $line) -{{ $line }} - -@endforeach - -{{-- Salutation --}} -@if (! empty($salutation)) -{{ $salutation }} -@else -@lang('Regards'),
-{{ config('app.name') }} -@endif - -{{-- Subcopy --}} -@isset($actionText) -@slot('subcopy') -@lang( - "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". - 'into your web browser:', - [ - 'actionText' => $actionText, - ] -) [{{ $displayableActionUrl }}]({{ $actionUrl }}) -@endslot -@endisset -@endcomponent diff --git a/resources/views/vendor/pagination/bootstrap-4.blade.php b/resources/views/vendor/pagination/bootstrap-4.blade.php deleted file mode 100755 index 63c6f56b5..000000000 --- a/resources/views/vendor/pagination/bootstrap-4.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/default.blade.php b/resources/views/vendor/pagination/default.blade.php deleted file mode 100755 index 0db70b562..000000000 --- a/resources/views/vendor/pagination/default.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/semantic-ui.blade.php b/resources/views/vendor/pagination/semantic-ui.blade.php deleted file mode 100755 index ef0dbb184..000000000 --- a/resources/views/vendor/pagination/semantic-ui.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/simple-bootstrap-4.blade.php b/resources/views/vendor/pagination/simple-bootstrap-4.blade.php deleted file mode 100755 index 4bb491742..000000000 --- a/resources/views/vendor/pagination/simple-bootstrap-4.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/simple-default.blade.php b/resources/views/vendor/pagination/simple-default.blade.php deleted file mode 100755 index 36bdbc18c..000000000 --- a/resources/views/vendor/pagination/simple-default.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/simple-tailwind.blade.php b/resources/views/vendor/pagination/simple-tailwind.blade.php deleted file mode 100644 index 1c5e52f3e..000000000 --- a/resources/views/vendor/pagination/simple-tailwind.blade.php +++ /dev/null @@ -1,25 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/views/vendor/pagination/tailwind.blade.php b/resources/views/vendor/pagination/tailwind.blade.php deleted file mode 100644 index 4b92aaba1..000000000 --- a/resources/views/vendor/pagination/tailwind.blade.php +++ /dev/null @@ -1,102 +0,0 @@ -@if ($paginator->hasPages()) - -@endif