From 82c15cc62d7858878353b6d056794fdaaa5f6b69 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 19 Feb 2021 18:46:42 +0530 Subject: [PATCH 1/2] Issue #4659 fixed --- packages/Webkul/Core/src/Core.php | 8 +- .../shop/views/checkout/cart/coupon.blade.php | 119 +++ .../shop/views/checkout/cart/index.blade.php | 272 +++++++ .../views/checkout/cart/mini-cart.blade.php | 114 +++ .../shop/views/checkout/onepage.blade.php | 615 ++++++++++++++ .../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 | 168 ++++ .../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 | 132 +++ .../customers/account/profile/index.blade.php | 114 +++ .../customers/account/reviews/index.blade.php | 80 ++ .../account/reviews/reviews.blade.php | 50 ++ .../account/wishlist/wishlist.blade.php | 92 +++ .../views/customers/session/index.blade.php | 57 ++ .../signup/forgot-password.blade.php | 61 ++ .../views/customers/signup/index.blade.php | 97 +++ .../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 | 26 + .../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 | 36 + .../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 | 117 +++ .../views/products/reviews/index.blade.php | 163 ++++ .../shop/views/products/sharelinks.blade.php | 1 + .../themes/shop/views/products/view.blade.php | 299 +++++++ .../views/products/view/attributes.blade.php | 45 ++ .../products/view/bundle-options.blade.php | 236 ++++++ .../view/configurable-options.blade.php | 333 ++++++++ .../views/products/view/cross-sells.blade.php | 36 + .../products/view/downloadable.blade.php | 50 ++ .../views/products/view/gallery.blade.php | 219 +++++ .../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 ++ .../themes/velocity/views/UI/header.blade.php | 575 +++++++++++++ .../velocity/views/UI/particals.blade.php | 475 +++++++++++ .../views/checkout/cart/coupon.blade.php | 117 +++ .../views/checkout/cart/index.blade.php | 311 +++++++ .../views/checkout/cart/mini-cart.blade.php | 10 + .../velocity/views/checkout/onepage.blade.php | 762 ++++++++++++++++++ .../onepage/customer-checkout.blade.php | 24 + .../checkout/onepage/customer-info.blade.php | 243 ++++++ .../onepage/customer-new-form.blade.php | 541 +++++++++++++ .../views/checkout/onepage/payment.blade.php | 67 ++ .../views/checkout/onepage/review.blade.php | 176 ++++ .../views/checkout/onepage/shipping.blade.php | 60 ++ .../velocity/views/checkout/success.blade.php | 32 + .../views/checkout/total/summary.blade.php | 60 ++ .../themes/velocity/views/cms/page.blade.php | 25 + .../account/address/country-state.blade.php | 98 +++ .../account/address/create.blade.php | 114 +++ .../customers/account/address/edit.blade.php | 114 +++ .../customers/account/address/index.blade.php | 99 +++ .../customers/account/compare/index.blade.php | 19 + .../downloadable_products/index.blade.php | 28 + .../views/customers/account/index.blade.php | 46 ++ .../customers/account/orders/index.blade.php | 31 + .../customers/account/orders/view.blade.php | 582 +++++++++++++ .../account/partials/sidemenu.blade.php | 74 ++ .../customers/account/profile/edit.blade.php | 212 +++++ .../customers/account/profile/index.blade.php | 116 +++ .../customers/account/reviews/index.blade.php | 118 +++ .../account/wishlist/wishlist.blade.php | 63 ++ .../views/customers/session/index.blade.php | 105 +++ .../signup/forgot-password.blade.php | 71 ++ .../views/customers/signup/index.blade.php | 160 ++++ .../customers/signup/reset-password.blade.php | 101 +++ .../velocity/views/errors/404.blade.php | 54 ++ .../guest/compare/compare-products.blade.php | 332 ++++++++ .../views/guest/compare/index.blade.php | 11 + .../views/guest/wishlist/index.blade.php | 13 + .../advertisement-four.blade.php | 73 ++ .../advertisement-one.blade.php | 73 ++ .../advertisement-three.blade.php | 62 ++ .../advertisement-two.blade.php | 50 ++ .../category-with-custom-option.blade.php | 166 ++++ .../velocity/views/home/category.blade.php | 5 + .../views/home/customer-reviews.blade.php | 82 ++ .../views/home/featured-products.blade.php | 13 + .../helper/product-large-cart-view.blade.php | 67 ++ .../helper/product-small-cart-view.blade.php | 28 + .../views/home/hot-categories.blade.php | 10 + .../velocity/views/home/index.blade.php | 74 ++ .../views/home/new-products.blade.php | 20 + .../views/home/popular-categories.blade.php | 10 + .../views/home/product-policy.blade.php | 5 + .../velocity/views/home/slider.blade.php | 69 ++ .../views/layouts/footer/copy-right.blade.php | 9 + .../layouts/footer/footer-links.blade.php | 6 + .../footer/footer-links/footer-left.blade.php | 22 + .../footer-links/footer-middle.blade.php | 57 ++ .../footer-links/footer-right.blade.php | 29 + .../layouts/footer/footer-logo.blade.php | 5 + .../views/layouts/footer/index.blade.php | 17 + .../footer/newsletter-subscription.blade.php | 37 + .../views/layouts/footer/top-brands.blade.php | 33 + .../views/layouts/header/index.blade.php | 22 + .../velocity/views/layouts/master.blade.php | 128 +++ .../velocity/views/layouts/scripts.blade.php | 72 ++ .../velocity/views/layouts/styles.blade.php | 13 + .../views/layouts/top-nav/index.blade.php | 9 + .../layouts/top-nav/locale-currency.blade.php | 104 +++ .../layouts/top-nav/login-section.blade.php | 134 +++ .../views/products/add-to-cart.blade.php | 80 ++ .../velocity/views/products/buy-now.blade.php | 7 + .../velocity/views/products/index.blade.php | 176 ++++ .../views/products/list/card.blade.php | 198 +++++ .../list/layered-navigation.blade.php | 257 ++++++ .../products/list/recently-viewed.blade.php | 11 + .../views/products/list/toolbar.blade.php | 162 ++++ .../velocity/views/products/price.blade.php | 7 + .../views/products/reviews/create.blade.php | 99 +++ .../views/products/reviews/index.blade.php | 41 + .../velocity/views/products/view.blade.php | 344 ++++++++ .../views/products/view/attributes.blade.php | 50 ++ .../products/view/bundle-options.blade.php | 249 ++++++ .../view/configurable-options.blade.php | 353 ++++++++ .../views/products/view/cross-sells.blade.php | 61 ++ .../views/products/view/description.blade.php | 19 + .../products/view/downloadable.blade.php | 64 ++ .../views/products/view/gallery.blade.php | 177 ++++ .../products/view/grouped-products.blade.php | 38 + .../products/view/related-products.blade.php | 49 ++ .../views/products/view/reviews.blade.php | 208 +++++ .../views/products/view/small-view.blade.php | 13 + .../views/products/view/stock.blade.php | 17 + .../views/products/view/up-sells.blade.php | 49 ++ .../views/products/wishlist.blade.php | 39 + .../velocity/views/search/search.blade.php | 155 ++++ 196 files changed, 20657 insertions(+), 7 deletions(-) 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 create mode 100644 resources/themes/velocity/views/UI/header.blade.php create mode 100644 resources/themes/velocity/views/UI/particals.blade.php create mode 100644 resources/themes/velocity/views/checkout/cart/coupon.blade.php create mode 100644 resources/themes/velocity/views/checkout/cart/index.blade.php create mode 100644 resources/themes/velocity/views/checkout/cart/mini-cart.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/customer-info.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/payment.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/review.blade.php create mode 100644 resources/themes/velocity/views/checkout/onepage/shipping.blade.php create mode 100644 resources/themes/velocity/views/checkout/success.blade.php create mode 100644 resources/themes/velocity/views/checkout/total/summary.blade.php create mode 100644 resources/themes/velocity/views/cms/page.blade.php create mode 100644 resources/themes/velocity/views/customers/account/address/country-state.blade.php create mode 100644 resources/themes/velocity/views/customers/account/address/create.blade.php create mode 100644 resources/themes/velocity/views/customers/account/address/edit.blade.php create mode 100644 resources/themes/velocity/views/customers/account/address/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/compare/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/orders/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/orders/view.blade.php create mode 100644 resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php create mode 100644 resources/themes/velocity/views/customers/account/profile/edit.blade.php create mode 100644 resources/themes/velocity/views/customers/account/profile/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/reviews/index.blade.php create mode 100644 resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php create mode 100644 resources/themes/velocity/views/customers/session/index.blade.php create mode 100644 resources/themes/velocity/views/customers/signup/forgot-password.blade.php create mode 100644 resources/themes/velocity/views/customers/signup/index.blade.php create mode 100644 resources/themes/velocity/views/customers/signup/reset-password.blade.php create mode 100644 resources/themes/velocity/views/errors/404.blade.php create mode 100644 resources/themes/velocity/views/guest/compare/compare-products.blade.php create mode 100644 resources/themes/velocity/views/guest/compare/index.blade.php create mode 100644 resources/themes/velocity/views/guest/wishlist/index.blade.php create mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php create mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php create mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php create mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php create mode 100644 resources/themes/velocity/views/home/category-with-custom-option.blade.php create mode 100644 resources/themes/velocity/views/home/category.blade.php create mode 100644 resources/themes/velocity/views/home/customer-reviews.blade.php create mode 100644 resources/themes/velocity/views/home/featured-products.blade.php create mode 100644 resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php create mode 100644 resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php create mode 100644 resources/themes/velocity/views/home/hot-categories.blade.php create mode 100644 resources/themes/velocity/views/home/index.blade.php create mode 100644 resources/themes/velocity/views/home/new-products.blade.php create mode 100644 resources/themes/velocity/views/home/popular-categories.blade.php create mode 100644 resources/themes/velocity/views/home/product-policy.blade.php create mode 100644 resources/themes/velocity/views/home/slider.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/copy-right.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/footer-links.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/footer-logo.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/index.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php create mode 100644 resources/themes/velocity/views/layouts/footer/top-brands.blade.php create mode 100644 resources/themes/velocity/views/layouts/header/index.blade.php create mode 100644 resources/themes/velocity/views/layouts/master.blade.php create mode 100644 resources/themes/velocity/views/layouts/scripts.blade.php create mode 100644 resources/themes/velocity/views/layouts/styles.blade.php create mode 100644 resources/themes/velocity/views/layouts/top-nav/index.blade.php create mode 100644 resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php create mode 100644 resources/themes/velocity/views/layouts/top-nav/login-section.blade.php create mode 100644 resources/themes/velocity/views/products/add-to-cart.blade.php create mode 100644 resources/themes/velocity/views/products/buy-now.blade.php create mode 100644 resources/themes/velocity/views/products/index.blade.php create mode 100644 resources/themes/velocity/views/products/list/card.blade.php create mode 100644 resources/themes/velocity/views/products/list/layered-navigation.blade.php create mode 100644 resources/themes/velocity/views/products/list/recently-viewed.blade.php create mode 100644 resources/themes/velocity/views/products/list/toolbar.blade.php create mode 100644 resources/themes/velocity/views/products/price.blade.php create mode 100644 resources/themes/velocity/views/products/reviews/create.blade.php create mode 100644 resources/themes/velocity/views/products/reviews/index.blade.php create mode 100644 resources/themes/velocity/views/products/view.blade.php create mode 100644 resources/themes/velocity/views/products/view/attributes.blade.php create mode 100644 resources/themes/velocity/views/products/view/bundle-options.blade.php create mode 100644 resources/themes/velocity/views/products/view/configurable-options.blade.php create mode 100644 resources/themes/velocity/views/products/view/cross-sells.blade.php create mode 100644 resources/themes/velocity/views/products/view/description.blade.php create mode 100644 resources/themes/velocity/views/products/view/downloadable.blade.php create mode 100644 resources/themes/velocity/views/products/view/gallery.blade.php create mode 100644 resources/themes/velocity/views/products/view/grouped-products.blade.php create mode 100644 resources/themes/velocity/views/products/view/related-products.blade.php create mode 100644 resources/themes/velocity/views/products/view/reviews.blade.php create mode 100644 resources/themes/velocity/views/products/view/small-view.blade.php create mode 100644 resources/themes/velocity/views/products/view/stock.blade.php create mode 100644 resources/themes/velocity/views/products/view/up-sells.blade.php create mode 100644 resources/themes/velocity/views/products/wishlist.blade.php create mode 100644 resources/themes/velocity/views/search/search.blade.php diff --git a/packages/Webkul/Core/src/Core.php b/packages/Webkul/Core/src/Core.php index 065e5ee71..d216e50a8 100755 --- a/packages/Webkul/Core/src/Core.php +++ b/packages/Webkul/Core/src/Core.php @@ -239,13 +239,7 @@ class Core */ public function getChannelName($channel): string { - static $channelName; - - if ($channelName) { - return $channelName; - } - - return $channelName = $channel->name + return $channel->name ?? $channel->translate(app()->getLocale())->name ?? $channel->translate(config('app.fallback_locale'))->name; } diff --git a/resources/themes/shop/views/checkout/cart/coupon.blade.php b/resources/themes/shop/views/checkout/cart/coupon.blade.php new file mode 100644 index 000000000..090740935 --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/coupon.blade.php @@ -0,0 +1,119 @@ +@if ($cart) + + + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/checkout/cart/index.blade.php b/resources/themes/shop/views/checkout/cart/index.blade.php new file mode 100644 index 000000000..6d7ebafb6 --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/index.blade.php @@ -0,0 +1,272 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.cart.title') }} +@stop + +@section('content-wrapper') +
+ @if ($cart) +
+ {{ __('shop::app.checkout.cart.title') }} +
+ +
+
+
+ +
+ @csrf + @foreach ($cart->items as $key => $item) + @php + $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); + + if (is_null ($item->product->url_key)) { + if (! is_null($item->product->parent)) { + $url_key = $item->product->parent->url_key; + } + } else { + $url_key = $item->product->url_key; + } + @endphp + +
+
+ +
+ +
+ + {!! view_render_event('bagisto.shop.checkout.cart.item.name.before', ['item' => $item]) !!} + + + + {!! view_render_event('bagisto.shop.checkout.cart.item.name.after', ['item' => $item]) !!} + + + {!! view_render_event('bagisto.shop.checkout.cart.item.price.before', ['item' => $item]) !!} + +
+ {{ core()->currency($item->base_price) }} +
+ + {!! view_render_event('bagisto.shop.checkout.cart.item.price.after', ['item' => $item]) !!} + + + {!! view_render_event('bagisto.shop.checkout.cart.item.options.before', ['item' => $item]) !!} + + @if (isset($item->additional['attributes'])) +
+ + @foreach ($item->additional['attributes'] as $attribute) + {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach + +
+ @endif + + {!! view_render_event('bagisto.shop.checkout.cart.item.options.after', ['item' => $item]) !!} + + + {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.before', ['item' => $item]) !!} + +
+ @if ($item->product->getTypeInstance()->showQuantityBox() === true) + + + @endif + + + {{ __('shop::app.checkout.cart.remove-link') }} + + @auth('customer') + @php + $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; + @endphp + + @if ($showWishlist) + + @if ($item->parent_id != 'null' ||$item->parent_id != null) + {{ __('shop::app.checkout.cart.move-to-wishlist') }} + @else + {{ __('shop::app.checkout.cart.move-to-wishlist') }} + @endif + + @endif + @endauth +
+ + {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.after', ['item' => $item]) !!} + + @if (! cart()->isItemHaveQuantity($item)) +
+ * {{ __('shop::app.checkout.cart.quantity-error') }} +
+ @endif +
+ +
+ @endforeach +
+ + {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} + +
+ {{ __('shop::app.checkout.cart.continue-shopping') }} + +
+ @if ($cart->hasProductsWithQuantityBox()) + + @endif + + @if (! cart()->hasError()) + @php + $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; + @endphp + + + + @endif +
+
+ + {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} +
+
+ +
+ {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!} + + @include('shop::checkout.total.summary', ['cart' => $cart]) + + + + {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!} +
+
+ + @include ('shop::products.view.cross-sells') + + @else + +
+ {{ __('shop::app.checkout.cart.title') }} +
+ +
+

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

+ +

+ {{ __('shop::app.checkout.cart.continue-shopping') }} +

+
+ + @endif +
+ +@endsection + +@push('scripts') + @include('shop::checkout.cart.coupon') + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php new file mode 100644 index 000000000..363278219 --- /dev/null +++ b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php @@ -0,0 +1,114 @@ +getCart(); ?> + +@if ($cart) + items; ?> + + + + + +@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..117026353 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage.blade.php @@ -0,0 +1,615 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.onepage.title') }} +@stop + +@section('content-wrapper') + +@endsection + +@push('scripts') + @include('shop::checkout.cart.coupon') + + + + + +@endpush diff --git a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php new file mode 100644 index 000000000..4ad841c6e --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php @@ -0,0 +1,23 @@ +
+
+ + + +
+ +
+ + + +
+
\ 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..43950ef85 --- /dev/null +++ b/resources/themes/shop/views/checkout/onepage/review.blade.php @@ -0,0 +1,168 @@ +
+
+ {{ __('shop::app.checkout.onepage.summary') }} +
+ +
+ @if ($billingAddress = $cart->billing_address) +
+
+ {{ __('shop::app.checkout.onepage.billing-address') }} +
+ +
+
    +
  • + {{ $billingAddress->company_name ?? '' }} +
  • +
  • + {{ $billingAddress->first_name }} {{ $billingAddress->last_name }} +
  • +
  • + {{ $billingAddress->address1 }},
    {{ $billingAddress->state }} +
  • +
  • + {{ core()->country_name($billingAddress->country) }} {{ $billingAddress->postcode }} +
  • + + + +
  • + {{ __('shop::app.checkout.onepage.contact') }} : {{ $billingAddress->phone }} +
  • +
+
+
+ @endif + + @if ($cart->haveStockableItems() && $shippingAddress = $cart->shipping_address) +
+
+ {{ __('shop::app.checkout.onepage.shipping-address') }} +
+ +
+
    +
  • + {{ $shippingAddress->company_name ?? '' }} +
  • +
  • + {{ $shippingAddress->first_name }} {{ $shippingAddress->last_name }} +
  • +
  • + {{ $shippingAddress->address1 }},
    {{ $shippingAddress->state }} +
  • +
  • + {{ core()->country_name($shippingAddress->country) }} {{ $shippingAddress->postcode }} +
  • + + + +
  • + {{ __('shop::app.checkout.onepage.contact') }} : {{ $shippingAddress->phone }} +
  • +
+
+
+ @endif + +
+ +
+ @foreach ($cart->items as $item) + @php + $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); + @endphp + +
+
+ +
+ +
+ + {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} + +
+ {{ $item->product->name }} +
+ + {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} + {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} + +
+ + {{ __('shop::app.checkout.onepage.price') }} + + + {{ core()->currency($item->base_price) }} + +
+ + {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} + {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} + +
+ + {{ __('shop::app.checkout.onepage.quantity') }} + + + {{ $item->quantity }} + +
+ + {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} + + {!! view_render_event('bagisto.shop.checkout.options.before', ['item' => $item]) !!} + + @if (isset($item->additional['attributes'])) +
+ + @foreach ($item->additional['attributes'] as $attribute) + {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach + +
+ @endif + + {!! view_render_event('bagisto.shop.checkout.options.after', ['item' => $item]) !!} +
+
+ @endforeach +
+ +
+
+ @if ($cart->haveStockableItems()) +
+
+ +
+ +
+ {{ core()->currency($cart->selected_shipping_rate->base_price) }} + +
+ {{ $cart->selected_shipping_rate->method_title }} +
+
+
+ @endif + +
+
+ +
+ +
+ {{ core()->getConfigData('sales.paymentmethods.' . $cart->payment->method . '.title') }} +
+
+ +
+ +
+ +
+
+
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/shipping.blade.php b/resources/themes/shop/views/checkout/onepage/shipping.blade.php 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') + +
+ + @include('shop::customers.account.partials.sidemenu') + + +
+ +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/edit.blade.php b/resources/themes/shop/views/customers/account/address/edit.blade.php new file mode 100644 index 000000000..aa7bcbd34 --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/edit.blade.php @@ -0,0 +1,125 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.address.edit.page-title') }} +@endsection + +@section('content-wrapper') + +
+ @include('shop::customers.account.partials.sidemenu') + + +
+ +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/address/index.blade.php b/resources/themes/shop/views/customers/account/address/index.blade.php new file mode 100644 index 000000000..b099f377b --- /dev/null +++ b/resources/themes/shop/views/customers/account/address/index.blade.php @@ -0,0 +1,112 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.address.index.page-title') }} +@endsection + +@section('content-wrapper') + +
+ + @include('shop::customers.account.partials.sidemenu') + + +
+@endsection + +@push('scripts') + +@endpush diff --git a/resources/themes/shop/views/customers/account/compare/index.blade.php b/resources/themes/shop/views/customers/account/compare/index.blade.php new file mode 100644 index 000000000..7b6de5e66 --- /dev/null +++ b/resources/themes/shop/views/customers/account/compare/index.blade.php @@ -0,0 +1,29 @@ +@extends('shop::layouts.master') + +@include('shop::guest.compare.compare-products') + +@section('page_title') + {{ __('shop::app.customer.compare.compare_similar_items') }} +@endsection + +@section('content-wrapper') + +
+ @include('shop::customers.account.partials.sidemenu') + + + +
+ +@endsection diff --git a/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php new file mode 100644 index 000000000..583ebe97e --- /dev/null +++ b/resources/themes/shop/views/customers/account/downloadable_products/index.blade.php @@ -0,0 +1,39 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.downloadable_products.title') }} +@endsection + +@section('content-wrapper') + +
+ @include('shop::customers.account.partials.sidemenu') + + + +
+ +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/index.blade.php b/resources/themes/shop/views/customers/account/index.blade.php new file mode 100644 index 000000000..4097e93df --- /dev/null +++ b/resources/themes/shop/views/customers/account/index.blade.php @@ -0,0 +1,9 @@ +@extends('shop::layouts.master') + +@section('content-wrapper') +
+ @include('shop::customers.account.partials.sidemenu') +

Account Index Page

+
+ +@endsection diff --git a/resources/themes/shop/views/customers/account/orders/index.blade.php b/resources/themes/shop/views/customers/account/orders/index.blade.php new file mode 100644 index 000000000..6c53d4602 --- /dev/null +++ b/resources/themes/shop/views/customers/account/orders/index.blade.php @@ -0,0 +1,39 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.order.index.page-title') }} +@endsection + +@section('content-wrapper') + +
+ @include('shop::customers.account.partials.sidemenu') + + + +
+ +@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') + +
+ @include('shop::customers.account.partials.sidemenu') + + + +
+ +@endsection diff --git a/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php new file mode 100644 index 000000000..df0d6ad1f --- /dev/null +++ b/resources/themes/shop/views/customers/account/partials/sidemenu.blade.php @@ -0,0 +1,62 @@ + + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/profile/edit.blade.php b/resources/themes/shop/views/customers/account/profile/edit.blade.php new file mode 100644 index 000000000..44e076f7a --- /dev/null +++ b/resources/themes/shop/views/customers/account/profile/edit.blade.php @@ -0,0 +1,132 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.profile.edit-profile.page-title') }} +@endsection + +@section('content-wrapper') +
+ + @include('shop::customers.account.partials.sidemenu') + + + +
+@endsection diff --git a/resources/themes/shop/views/customers/account/profile/index.blade.php b/resources/themes/shop/views/customers/account/profile/index.blade.php new file mode 100644 index 000000000..6ad256cd7 --- /dev/null +++ b/resources/themes/shop/views/customers/account/profile/index.blade.php @@ -0,0 +1,114 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.profile.index.title') }} +@endsection + +@section('content-wrapper') + +
+ + @include('shop::customers.account.partials.sidemenu') + + +
+@endsection diff --git a/resources/themes/shop/views/customers/account/reviews/index.blade.php b/resources/themes/shop/views/customers/account/reviews/index.blade.php new file mode 100644 index 000000000..540a3b88d --- /dev/null +++ b/resources/themes/shop/views/customers/account/reviews/index.blade.php @@ -0,0 +1,80 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.review.index.page-title') }} +@endsection + +@section('content-wrapper') +
+ @include('shop::customers.account.partials.sidemenu') + + +
+@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php new file mode 100644 index 000000000..b97c9e3bf --- /dev/null +++ b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php @@ -0,0 +1,50 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.review.view.page-title') }} +@endsection + +@section('content-wrapper') +
+ @include('shop::customers.account.partials.sidemenu') + + +
+@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php new file mode 100644 index 000000000..092db144d --- /dev/null +++ b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php @@ -0,0 +1,92 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.wishlist.page-title') }} +@endsection + +@section('content-wrapper') +
+ @include('shop::customers.account.partials.sidemenu') + + @inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + + +
+@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..72f74bd86 --- /dev/null +++ b/resources/themes/shop/views/customers/signup/index.blade.php @@ -0,0 +1,97 @@ +@extends('shop::layouts.master') +@section('page_title') + {{ __('shop::app.customer.signup-form.page-title') }} +@endsection +@section('content-wrapper') + +
+ + + + {!! 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..2d435e7ab --- /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 + {{ config('app.name') }} +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/emails/layouts/master.blade.php b/resources/themes/shop/views/emails/layouts/master.blade.php 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..85fe7368a --- /dev/null +++ b/resources/themes/shop/views/guest/compare/compare-products.blade.php @@ -0,0 +1,342 @@ +@php + $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository'); + $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily(); + + $locale = request()->get('locale') ?: app()->getLocale(); + + $attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson(); +@endphp + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/guest/compare/index.blade.php b/resources/themes/shop/views/guest/compare/index.blade.php new file mode 100644 index 000000000..08cd183db --- /dev/null +++ b/resources/themes/shop/views/guest/compare/index.blade.php @@ -0,0 +1,11 @@ +@extends('shop::layouts.master') + +@include('shop::guest.compare.compare-products') + +@section('page_title') + {{ __('shop::app.customer.compare.compare_similar_items') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/guest/wishlist/index.blade.php b/resources/themes/shop/views/guest/wishlist/index.blade.php new file mode 100644 index 000000000..be3b6a35b --- /dev/null +++ b/resources/themes/shop/views/guest/wishlist/index.blade.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/resources/themes/shop/views/home/featured-products.blade.php b/resources/themes/shop/views/home/featured-products.blade.php new file mode 100644 index 000000000..654a02043 --- /dev/null +++ b/resources/themes/shop/views/home/featured-products.blade.php @@ -0,0 +1,27 @@ +@if (count(app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts())) + +@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..40af4726f --- /dev/null +++ b/resources/themes/shop/views/home/slider.blade.php @@ -0,0 +1,5 @@ +@if (count($sliderData)) +
+ +
+@endif \ No newline at end of file diff --git a/resources/themes/shop/views/index.blade.php b/resources/themes/shop/views/index.blade.php new file mode 100644 index 000000000..5d0687bbe --- /dev/null +++ b/resources/themes/shop/views/index.blade.php @@ -0,0 +1,13 @@ +@inject('rateHelper' , 'Webkul\Shipping\Helper\Rate') +
+ @foreach ($rateHelper->collectRates() as $key=>$count) +
+ ${{ core()->currency($count) }} {{ $key }} +
+ @endforeach +
+ \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/footer/footer.blade.php b/resources/themes/shop/views/layouts/footer/footer.blade.php new file mode 100644 index 000000000..493d12e3f --- /dev/null +++ b/resources/themes/shop/views/layouts/footer/footer.blade.php @@ -0,0 +1,91 @@ + diff --git a/resources/themes/shop/views/layouts/header/index.blade.php b/resources/themes/shop/views/layouts/header/index.blade.php new file mode 100644 index 000000000..333b2899e --- /dev/null +++ b/resources/themes/shop/views/layouts/header/index.blade.php @@ -0,0 +1,415 @@ +input('term'); + $image_search = request()->input('image-search'); + + if (! is_null($term)) { + $serachQuery = 'term='.request()->input('term'); + } +?> + + + +@push('scripts') + + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php new file mode 100644 index 000000000..0e9e3085a --- /dev/null +++ b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php @@ -0,0 +1,138 @@ +{!! view_render_event('bagisto.shop.layout.header.category.before') !!} + +getVisibleCategoryTree(core()->getCurrentChannel()->root_category_id) as $category) { + if ($category->slug) { + array_push($categories, $category); + } +} + +?> + + + +{!! view_render_event('bagisto.shop.layout.header.category.after') !!} + + +@push('scripts') + + + + + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/master.blade.php b/resources/themes/shop/views/layouts/master.blade.php new file mode 100644 index 000000000..83f6c798b --- /dev/null +++ b/resources/themes/shop/views/layouts/master.blade.php @@ -0,0 +1,129 @@ + + + + + + @yield('page_title') + + + + + + + + + + + @if ($favicon = core()->getCurrentChannel()->favicon_url) + + @else + + @endif + + @yield('head') + + @section('seo') + @if (! request()->is('/')) + + @endif + @show + + @stack('css') + + {!! view_render_event('bagisto.shop.layout.head') !!} + + + + + + +getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif style="scroll-behavior: smooth;"> + + {!! view_render_event('bagisto.shop.layout.body.before') !!} + +
+ + +
+ + {!! view_render_event('bagisto.shop.layout.header.before') !!} + + @include('shop::layouts.header.index') + + {!! view_render_event('bagisto.shop.layout.header.after') !!} + + @yield('slider') + +
+ + {!! view_render_event('bagisto.shop.layout.content.before') !!} + + @yield('content-wrapper') + + {!! view_render_event('bagisto.shop.layout.content.after') !!} + +
+ +
+ + {!! view_render_event('bagisto.shop.layout.footer.before') !!} + + @include('shop::layouts.footer.footer') + + {!! view_render_event('bagisto.shop.layout.footer.after') !!} + + @if (core()->getConfigData('general.content.footer.footer_toggle')) + + @endif + + +
+ + + + + + + @stack('scripts') + + {!! view_render_event('bagisto.shop.layout.body.after') !!} + + + + + + + + \ No newline at end of file diff --git a/resources/themes/shop/views/partials/pagination.blade.php b/resources/themes/shop/views/partials/pagination.blade.php new file mode 100644 index 000000000..7350ddb24 --- /dev/null +++ b/resources/themes/shop/views/partials/pagination.blade.php @@ -0,0 +1,50 @@ +@if ($paginator->hasPages()) + +@endif diff --git a/resources/themes/shop/views/products/add-buttons.blade.php b/resources/themes/shop/views/products/add-buttons.blade.php new file mode 100644 index 000000000..2c4bcfa76 --- /dev/null +++ b/resources/themes/shop/views/products/add-buttons.blade.php @@ -0,0 +1,26 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +@php + $showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false; + + $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; +@endphp + +
+
+ @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..3acde17f7 --- /dev/null +++ b/resources/themes/shop/views/products/list/card.blade.php @@ -0,0 +1,36 @@ +{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} + +
+ + getProductBaseImage($product); ?> + + @if ($product->new) +
+ {{ __('shop::app.products.new') }} +
+ @endif + +
+ + + +
+ +
+ + + + @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..53f8de210 --- /dev/null +++ b/resources/themes/shop/views/products/reviews/create.blade.php @@ -0,0 +1,117 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} +@endsection + +@section('content-wrapper') + +
+ +
+
+ + getProductBaseImage($product); ?> + +
+ + + +
+ + + + @include('shop::products.price') + +
+ +
+
+ @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..45ae15a7a --- /dev/null +++ b/resources/themes/shop/views/products/reviews/index.blade.php @@ -0,0 +1,163 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.product-review-page-title') }} - {{ $product->name }} +@endsection + +@section('content-wrapper') + +
+ +
+ @inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + + getProductBaseImage($product); ?> + +
+
+ + + +
+ + + +
+ @if ($product->getTypeInstance()->haveSpecialPrice()) + {{ core()->currency($product->getTypeInstance()->getSpecialPrice()) }} + @else + {{ core()->currency($product->getTypeInstance()->getMinimalPrice()) }} + @endif +
+
+ +
+
+ {{ __('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..946da0a51 --- /dev/null +++ b/resources/themes/shop/views/products/view.blade.php @@ -0,0 +1,299 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }} +@stop + +@section('seo') + meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/> + + + + @if (core()->getConfigData('catalog.rich_snippets.products.enable')) + + @endif + + getProductBaseImage($product); ?> + + + + + + + + + + + + + + + + + + + + +@stop + +@section('content-wrapper') + + {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!} + +
+ +
+ +
+ @csrf() + + + + @include ('shop::products.view.gallery') + +
+ +
+ {{ $product->name }} +
+ + @include ('shop::products.review', ['product' => $product]) + + @include ('shop::products.price', ['product' => $product]) + + @if (count($product->getTypeInstance()->getCustomerGroupPricingOffers()) > 0) +
+ @foreach ($product->getTypeInstance()->getCustomerGroupPricingOffers() as $offers) +

{{ $offers }}

+ @endforeach +
+ @endif + + @include ('shop::products.view.stock', ['product' => $product]) + + {!! view_render_event('bagisto.shop.products.view.short_description.before', ['product' => $product]) !!} + +
+ {!! $product->short_description !!} +
+ + {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} + + + {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} + + @if ($product->getTypeInstance()->showQuantityBox()) + + @else + + @endif + + {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} + + @include ('shop::products.view.configurable-options') + + @include ('shop::products.view.downloadable') + + @include ('shop::products.view.grouped-products') + + @include ('shop::products.view.bundle-options') + + {!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!} + + +
+ {{ __('shop::app.products.description') }} + +
+ +
+
+ {!! $product->description !!} +
+
+
+ + {!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!} + + @include ('shop::products.view.attributes') + + @include ('shop::products.view.reviews') +
+
+
+
+ + @include ('shop::products.view.related-products') + + @include ('shop::products.view.up-sells') + +
+ + {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!} +@endsection + +@push('scripts') + + + + + + +@endpush diff --git a/resources/themes/shop/views/products/view/attributes.blade.php b/resources/themes/shop/views/products/view/attributes.blade.php 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..10c05b6cc --- /dev/null +++ b/resources/themes/shop/views/products/view/configurable-options.blade.php @@ -0,0 +1,333 @@ +@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) + + @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') + + {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} + + + + {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} + + @push('scripts') + + + + getConfigurationConfig($product) ?> + + + @endpush + +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/cross-sells.blade.php b/resources/themes/shop/views/products/view/cross-sells.blade.php new file mode 100644 index 000000000..f7b3e03b8 --- /dev/null +++ b/resources/themes/shop/views/products/view/cross-sells.blade.php @@ -0,0 +1,36 @@ +@foreach ($cart->items as $item) + product; + + if ($product->cross_sells()->count()) { + $products[] = $product; + $products = array_unique($products); + } + ?> +@endforeach + +@if (isset($products)) + +
+ +
+ {{ __('shop::app.products.cross-sell-title') }} + +
+ +
+ @foreach($products as $product) + + @foreach ($product->cross_sells()->paginate(2) as $cross_sell_product) + + @include ('shop::products.list.card', ['product' => $cross_sell_product]) + + @endforeach + + @endforeach + +
+ +
+ +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/downloadable.blade.php b/resources/themes/shop/views/products/view/downloadable.blade.php new file mode 100644 index 000000000..7f41196f7 --- /dev/null +++ b/resources/themes/shop/views/products/view/downloadable.blade.php @@ -0,0 +1,50 @@ +@if ($product->type == 'downloadable') + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} + +
+ + @if ($product->downloadable_samples->count()) +
+

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

+ + +
+ @endif + + @if ($product->downloadable_links->count()) + + @endif +
+ + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/gallery.blade.php b/resources/themes/shop/views/products/view/gallery.blade.php new file mode 100644 index 000000000..39a5c0c0b --- /dev/null +++ b/resources/themes/shop/views/products/view/gallery.blade.php @@ -0,0 +1,219 @@ +@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') + +getGalleryImages($product); + + $videos = productvideo()->getVideos($product); + + $images = array_merge($images, $videos); +?> + + +{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!} + +
+ +
+
+ + + + @include ('shop::products.view.product-add') + +
+ +{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!} + +@push('scripts') + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/grouped-products.blade.php b/resources/themes/shop/views/products/view/grouped-products.blade.php new file mode 100644 index 000000000..1f2b36dcc --- /dev/null +++ b/resources/themes/shop/views/products/view/grouped-products.blade.php @@ -0,0 +1,38 @@ +@if ($product->type == 'grouped') + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} + +
+ @if ($product->grouped_products->count()) +
+
    +
  • + {{ __('shop::app.products.name') }} + {{ __('shop::app.products.qty') }} +
  • + @foreach ($product->grouped_products as $groupedProduct) + @if($groupedProduct->associated_product->getTypeInstance()->isSaleable()) +
  • + + {{ $groupedProduct->associated_product->name }} + + @include ('shop::products.price', ['product' => $groupedProduct->associated_product]) + + + + + + +
  • + @endif + @endforeach +
+
+ @endif +
+ + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/product-add.blade.php b/resources/themes/shop/views/products/view/product-add.blade.php new file mode 100644 index 000000000..cb621c137 --- /dev/null +++ b/resources/themes/shop/views/products/view/product-add.blade.php @@ -0,0 +1,11 @@ +{!! view_render_event('bagisto.shop.products.view.product-add.before', ['product' => $product]) !!} + +
+ @include ('shop::products.add-to-cart', ['product' => $product]) + + @if (core()->getConfigData('catalog.products.storefront.buy_now_button_display')) + @include ('shop::products.buy-now') + @endif +
+ +{!! view_render_event('bagisto.shop.products.view.product-add.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/related-products.blade.php b/resources/themes/shop/views/products/view/related-products.blade.php new file mode 100644 index 000000000..722b4bf05 --- /dev/null +++ b/resources/themes/shop/views/products/view/related-products.blade.php @@ -0,0 +1,24 @@ +related_products()->get(); +?> + +@if ($relatedProducts->count()) +
+ +
+ {{ __('shop::app.products.related-product-title') }} + +
+ +
+ + @foreach ($relatedProducts as $related_product) + + @include ('shop::products.list.card', ['product' => $related_product]) + + @endforeach + +
+ +
+@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/reviews.blade.php b/resources/themes/shop/views/products/view/reviews.blade.php new file mode 100644 index 000000000..fbd627628 --- /dev/null +++ b/resources/themes/shop/views/products/view/reviews.blade.php @@ -0,0 +1,98 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + +{!! view_render_event('bagisto.shop.products.view.reviews.after', ['product' => $product]) !!} + +@if ($total = $reviewHelper->getTotalReviews($product)) +
+
+ {{ __('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 diff --git a/resources/themes/velocity/views/UI/header.blade.php b/resources/themes/velocity/views/UI/header.blade.php new file mode 100644 index 000000000..86dede849 --- /dev/null +++ b/resources/themes/velocity/views/UI/header.blade.php @@ -0,0 +1,575 @@ +@push('scripts') + +@endpush + +@php + $cart = cart()->getCart(); + + $cartItemsCount = trans('shop::app.minicart.zero'); + + if ($cart) { + $cartItemsCount = $cart->items->count(); + } +@endphp + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/UI/particals.blade.php b/resources/themes/velocity/views/UI/particals.blade.php new file mode 100644 index 000000000..ba03388ed --- /dev/null +++ b/resources/themes/velocity/views/UI/particals.blade.php @@ -0,0 +1,475 @@ +@push('scripts') + + + + + +@endpush + +@include('velocity::UI.header') + +@push('scripts') + + + + + + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/coupon.blade.php b/resources/themes/velocity/views/checkout/cart/coupon.blade.php new file mode 100644 index 000000000..6d4ad411d --- /dev/null +++ b/resources/themes/velocity/views/checkout/cart/coupon.blade.php @@ -0,0 +1,117 @@ +@if ($cart) + + + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/index.blade.php b/resources/themes/velocity/views/checkout/cart/index.blade.php new file mode 100644 index 000000000..f8ed0ca57 --- /dev/null +++ b/resources/themes/velocity/views/checkout/cart/index.blade.php @@ -0,0 +1,311 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') + +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.cart.title') }} +@stop + +@section('content-wrapper') + +@endsection + +@push('css') + +@endpush + +@push('scripts') + @include('shop::checkout.cart.coupon') + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php b/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php new file mode 100644 index 000000000..df0db3e4b --- /dev/null +++ b/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php @@ -0,0 +1,10 @@ +
+ + +
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage.blade.php b/resources/themes/velocity/views/checkout/onepage.blade.php new file mode 100644 index 000000000..0e2f0e847 --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage.blade.php @@ -0,0 +1,762 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.onepage.title') }} +@stop + +@section('content-wrapper') + +@endsection + +@push('scripts') + @include('shop::checkout.cart.coupon') + + + + + +@endpush diff --git a/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php new file mode 100644 index 000000000..89c9a00aa --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php @@ -0,0 +1,24 @@ +
+ + + + + + + +
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php new file mode 100644 index 000000000..5d1790cda --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php @@ -0,0 +1,243 @@ +
+
+ + +
+

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

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

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

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

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

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

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

+ +
+ +
+ @auth('customer') + @if(count(auth('customer')->user()->addresses)) + + + {{ __('shop::app.checkout.onepage.back') }} + + @endif + @endauth + + @include('shop::checkout.onepage.customer-new-form', [ + 'shipping' => true + ]) +
+
+
+ @endif +
diff --git a/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php new file mode 100644 index 000000000..92732accc --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php @@ -0,0 +1,541 @@ +@php + $isCustomer = auth()->guard('customer')->check(); +@endphp + + @if (isset($shipping) && $shipping) +
+ + + + + + @{{ errors.first('address-form.shipping[first_name]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.shipping[last_name]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.shipping[email]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.shipping[address1][]') }} + +
+ + @if ( + core()->getConfigData('customer.settings.address.street_lines') + && core()->getConfigData('customer.settings.address.street_lines') > 1 + ) + @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) +
+ +
+ @endfor + @endif + +
+ + + + + + @{{ errors.first('address-form.shipping[city]') }} + +
+ +
+ + + + +
+ +
+ + + @{{ errors.first('address-form.shipping[country]') }} + +
+ + +
+ + + + + + +
+ +
+ + + @{{ errors.first('address-form.shipping[state]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.shipping[postcode]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.shipping[phone]') }} + +
+ + @auth('customer') +
+ + + + + {{ __('shop::app.checkout.onepage.save_as_address') }} + + +
+ @endauth + + @elseif (isset($billing) && $billing) +
+ + + + + + @{{ errors.first('address-form.billing[company_name]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.billing[first_name]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.billing[last_name]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.billing[email]') }} + +
+ + {{-- for customer login checkout --}} + @if (! $isCustomer) + @include('shop::checkout.onepage.customer-checkout') + @endif + +
+ + + + + + @{{ errors.first('address-form.billing[address1][]') }} + +
+ + @if ( + core()->getConfigData('customer.settings.address.street_lines') + && core()->getConfigData('customer.settings.address.street_lines') > 1 + ) + @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) +
+ +
+ @endfor + @endif + +
+ + + + + + @{{ errors.first('address-form.billing[city]') }} + +
+ +
+ + + + +
+ +
+ + + @{{ errors.first('address-form.billing[country]') }} + +
+ +
+ + + + + +
+ +
+ + + @{{ errors.first('address-form.billing[state]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.billing[postcode]') }} + +
+ +
+ + + + + + @{{ errors.first('address-form.billing[phone]') }} + +
+ + @if ($cart->haveStockableItems()) +
+ + + + + {{ __('shop::app.checkout.onepage.use_for_shipping') }} + + +
+ @endif + + @auth('customer') +
+ + + + + {{ __('shop::app.checkout.onepage.save_as_address') }} + + +
+ @endauth + @endif \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/payment.blade.php b/resources/themes/velocity/views/checkout/onepage/payment.blade.php new file mode 100644 index 000000000..be0f4af35 --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/payment.blade.php @@ -0,0 +1,67 @@ +
+
+ +
+ +

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

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

{{ $additionalDetails['value'] }}

+
+ @endif +
+
+ + {!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!} + + @endforeach + + + @{{ errors.first('payment-form.payment[method]') }} + +
+
+
+
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/review.blade.php b/resources/themes/velocity/views/checkout/onepage/review.blade.php new file mode 100644 index 000000000..c4a089206 --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/review.blade.php @@ -0,0 +1,176 @@ +
+ +
+

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

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

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

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

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

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

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

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

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

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

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

+ + @foreach ($cart->items as $item) + @php + $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); + @endphp + +
+
+ +
+ +
+ + {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} + +
+ {{ $item->product->name }} +
+ + {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} + +
+ {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} + + {{ core()->currency($item->base_price) }} + + {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} + + + + {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} + + {{ $item->quantity }} ({{ __('shop::app.checkout.onepage.quantity') }}) + + {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} +
+ +
+ {{ core()->currency($item->base_total) }} +
+ + {!! view_render_event('bagisto.shop.checkout.options.before', ['item' => $item]) !!} + + @if (isset($item->additional['attributes'])) +
+ + @foreach ($item->additional['attributes'] as $attribute) + {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach + +
+ @endif + + {!! view_render_event('bagisto.shop.checkout.options.after', ['item' => $item]) !!} +
+
+ @endforeach +
+ +
+
+ @if ($cart->haveStockableItems()) +
+
+ +
+ +
+

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

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

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

+ + {{ __('shop::app.customer.account.order.view.payment-method') }} +
+
+ + +
+ +
+ +
+
+
+
+
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/shipping.blade.php b/resources/themes/velocity/views/checkout/onepage/shipping.blade.php new file mode 100644 index 000000000..044e8bd91 --- /dev/null +++ b/resources/themes/velocity/views/checkout/onepage/shipping.blade.php @@ -0,0 +1,60 @@ +
+
+ +
+

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

+ +
+ +
+ + @foreach ($shippingRateGroups as $rateGroup) + + {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!} + @foreach ($rateGroup['rates'] as $rate) +
+
+ +
+ +
+
+ {{ core()->currency($rate->base_price) }} +
+ +
+ {{ $rate->method_title }} - {{ __($rate->method_description) }} +
+
+
+ + @endforeach + + {!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!} + + @endforeach + + + + @{{ errors.first('shipping-form.shipping_method') }} + +
+
+
+
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/success.blade.php b/resources/themes/velocity/views/checkout/success.blade.php new file mode 100644 index 000000000..d67def693 --- /dev/null +++ b/resources/themes/velocity/views/checkout/success.blade.php @@ -0,0 +1,32 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.checkout.success.title') }} +@stop + +@section('content-wrapper') +
+
+

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

+ +

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

+ +

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

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

{{ __('velocity::app.checkout.cart.cart-summary') }}

+ +
+ {{ __('velocity::app.checkout.sub-total') }} + {{ core()->currency($cart->base_sub_total) }} +
+ + @if ($cart->selected_shipping_rate) +
+ {{ __('shop::app.checkout.total.delivery-charges') }} + {{ core()->currency($cart->selected_shipping_rate->base_price) }} +
+ @endif + + @if ($cart->base_tax_total) + @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($cart, true) as $taxRate => $baseTaxAmount ) +
+ {{ __('shop::app.checkout.total.tax') }} {{ $taxRate }} % + {{ core()->currency($baseTaxAmount) }} +
+ @endforeach + @endif + + @if ( + $cart->base_discount_amount + && $cart->base_discount_amount > 0 + ) +
+ + {{ __('shop::app.checkout.total.disc-amount') }} + + -{{ core()->currency($cart->base_discount_amount) }} + +
+ @endif + +
+ {{ __('shop::app.checkout.total.grand-total') }} + + {{ core()->currency($cart->base_grand_total) }} + +
+ +
+ @php + $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; + @endphp + + + +
+
\ No newline at end of file diff --git a/resources/themes/velocity/views/cms/page.blade.php b/resources/themes/velocity/views/cms/page.blade.php new file mode 100644 index 000000000..088b3a453 --- /dev/null +++ b/resources/themes/velocity/views/cms/page.blade.php @@ -0,0 +1,25 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ $page->page_title }} +@endsection + +@section('head') + @isset($page->meta_title) + + @endisset + + @isset($page->meta_description) + + @endisset + + @isset($page->meta_keywords) + + @endisset +@endsection + +@section('content-wrapper') +
+ {!! DbView::make($page)->field('html_content')->render() !!} +
+@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/country-state.blade.php b/resources/themes/velocity/views/customers/account/address/country-state.blade.php new file mode 100644 index 000000000..6776aa123 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/address/country-state.blade.php @@ -0,0 +1,98 @@ + + +@push('scripts') + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/create.blade.php b/resources/themes/velocity/views/customers/account/address/create.blade.php new file mode 100644 index 000000000..f4843b1e4 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/address/create.blade.php @@ -0,0 +1,114 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.address.create.page-title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + +
+ + {!! view_render_event('bagisto.shop.customers.account.address.create.before') !!} + +
+ + +
+ + {!! view_render_event('bagisto.shop.customers.account.address.create.after') !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/edit.blade.php b/resources/themes/velocity/views/customers/account/address/edit.blade.php new file mode 100644 index 000000000..e4c168e26 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/address/edit.blade.php @@ -0,0 +1,114 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.address.edit.page-title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + +
+ + {!! view_render_event('bagisto.shop.customers.account.address.edit.before', ['address' => $address]) !!} + +
+ + + +
+ + {!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/index.blade.php b/resources/themes/velocity/views/customers/account/address/index.blade.php new file mode 100644 index 000000000..243272120 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/address/index.blade.php @@ -0,0 +1,99 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.address.index.page-title') }} +@endsection + +@section('page-detail-wrapper') + @if ($addresses->isEmpty()) + + + + {{ __('shop::app.customer.account.address.index.add') }} + + @endif + +
+ + + + @if (! $addresses->isEmpty()) + + @endif + +
+
+ + {!! view_render_event('bagisto.shop.customers.account.address.list.before', ['addresses' => $addresses]) !!} + +
+ @if ($addresses->isEmpty()) +
{{ __('shop::app.customer.account.address.index.empty') }}
+ @else +
+ @foreach ($addresses as $address) +
+
+
+
{{ $address->first_name }} {{ $address->last_name }}
+ +
    + {{--
  • {{ $address->company_name }}
  • --}} +
  • {{ $address->address1 }},
  • +
  • {{ $address->city }},
  • +
  • {{ $address->state }},
  • +
  • {{ core()->country_name($address->country) }} {{ $address->postcode }}
  • +
  • + {{ __('shop::app.customer.account.address.index.contact') }} : {{$address->phone }} +
  • +
+ + + {{ __('shop::app.customer.account.address.index.edit') }} + + + + + {{ __('shop::app.customer.account.address.index.delete') }} + +
+
+
+ @endforeach +
+ @endif +
+ + {!! view_render_event('bagisto.shop.customers.account.address.list.after', ['addresses' => $addresses]) !!} +@endsection + +@push('scripts') + +@endpush + +@if ($addresses->isEmpty()) + +@endif diff --git a/resources/themes/velocity/views/customers/account/compare/index.blade.php b/resources/themes/velocity/views/customers/account/compare/index.blade.php new file mode 100644 index 000000000..8c669d10e --- /dev/null +++ b/resources/themes/velocity/views/customers/account/compare/index.blade.php @@ -0,0 +1,19 @@ +@extends('shop::customers.account.index') + +@include('velocity::guest.compare.compare-products') + +@section('page_title') + {{ __('velocity::app.customer.compare.compare_similar_items') }} +@endsection + +@push('css') + +@endpush + +@section('page-detail-wrapper') + +@endsection diff --git a/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php b/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php new file mode 100644 index 000000000..659886d1e --- /dev/null +++ b/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php @@ -0,0 +1,28 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.downloadable_products.title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + +
+
+ + {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!} + +
+ +
+ + {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/index.blade.php b/resources/themes/velocity/views/customers/account/index.blade.php new file mode 100644 index 000000000..7e7f0cb69 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/index.blade.php @@ -0,0 +1,46 @@ +@extends('shop::layouts.master') + +@section('content-wrapper') +
+ + + +
+@endsection + +@push('scripts') + +@endpush diff --git a/resources/themes/velocity/views/customers/account/orders/index.blade.php b/resources/themes/velocity/views/customers/account/orders/index.blade.php new file mode 100644 index 000000000..e283ab63b --- /dev/null +++ b/resources/themes/velocity/views/customers/account/orders/index.blade.php @@ -0,0 +1,31 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.order.index.page-title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + + + + + +
+ + {!! view_render_event('bagisto.shop.customers.account.orders.list.before') !!} + +
+ +
+ + {!! view_render_event('bagisto.shop.customers.account.orders.list.after') !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/orders/view.blade.php b/resources/themes/velocity/views/customers/account/orders/view.blade.php new file mode 100644 index 000000000..fd64e3675 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/orders/view.blade.php @@ -0,0 +1,582 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }} +@endsection + +@push('css') + +@endpush + +@section('page-detail-wrapper') +
+ +
+@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php b/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php new file mode 100644 index 000000000..d0bab2b38 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php @@ -0,0 +1,74 @@ +
+ + + @foreach ($menu->items as $menuItem) + + @endforeach +
+ +@push('css') + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/profile/edit.blade.php b/resources/themes/velocity/views/customers/account/profile/edit.blade.php new file mode 100644 index 000000000..14c70dd45 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/profile/edit.blade.php @@ -0,0 +1,212 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.profile.index.title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + +
+ + {!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!} + +
+ + +
+ + {!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/profile/index.blade.php b/resources/themes/velocity/views/customers/account/profile/index.blade.php new file mode 100644 index 000000000..10d9a2c1b --- /dev/null +++ b/resources/themes/velocity/views/customers/account/profile/index.blade.php @@ -0,0 +1,116 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.profile.index.title') }} +@endsection + +@push('css') + +@endpush + + +@section('page-detail-wrapper') +
+ + + + + + + + +
+ + {!! view_render_event('bagisto.shop.customers.account.profile.view.before', ['customer' => $customer]) !!} + +
+
+ + + {!! view_render_event( + 'bagisto.shop.customers.account.profile.view.table.before', ['customer' => $customer]) + !!} + + + + + + + {!! view_render_event('bagisto.shop.customers.account.profile.view.table.first_name.after', ['customer' => $customer]) !!} + + + + + + + {!! view_render_event('bagisto.shop.customers.account.profile.view.table.last_name.after', ['customer' => $customer]) !!} + + + + + + + {!! view_render_event('bagisto.shop.customers.account.profile.view.table.gender.after', ['customer' => $customer]) !!} + + + + + + + {!! view_render_event('bagisto.shop.customers.account.profile.view.table.date_of_birth.after', ['customer' => $customer]) !!} + + + + + + + {!! view_render_event( + 'bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer]) + !!} + +
{{ __('shop::app.customer.account.profile.fname') }}{{ $customer->first_name }}
{{ __('shop::app.customer.account.profile.lname') }}{{ $customer->last_name }}
{{ __('shop::app.customer.account.profile.gender') }}{{ $customer->gender ?? '-' }}
{{ __('shop::app.customer.account.profile.dob') }}{{ $customer->date_of_birth ?? '-' }}
{{ __('shop::app.customer.account.profile.email') }}{{ $customer->email }}
+
+ + + +
+ @csrf + + +

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

+ + +
+
+ + + @{{ errors.first('password') }} +
+ +
+ +
+
+
+
+
+ + {!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!} +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/reviews/index.blade.php b/resources/themes/velocity/views/customers/account/reviews/index.blade.php new file mode 100644 index 000000000..9affd9951 --- /dev/null +++ b/resources/themes/velocity/views/customers/account/reviews/index.blade.php @@ -0,0 +1,118 @@ +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.review.index.page-title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + + + + + + + @if (count($reviews) > 1) + + @endif +
+ + {!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!} + +
+ @if (! $reviews->isEmpty()) + @foreach ($reviews as $review) +
+
+ @php + $image = productimage()->getProductBaseImage($review->product); + @endphp + + + + + +
+ + + + +
{{ $review->title }}
+ +

{{ $review->comment }}

+
+ + +
+
+ @endforeach + +
+ {{ $reviews->links() }} +
+ {{-- --}} + @else +
+ {{ __('customer::app.reviews.empty') }} +
+ @endif + +
+ + {!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!} +@endsection + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php new file mode 100644 index 000000000..aa8bf2f6c --- /dev/null +++ b/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php @@ -0,0 +1,63 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +@extends('shop::customers.account.index') + +@section('page_title') + {{ __('shop::app.customer.account.wishlist.page-title') }} +@endsection + +@section('page-detail-wrapper') +
+ + + @if (count($items)) + + @endif +
+ + {!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!} + +
+ + @if ($items->count()) + @foreach ($items as $item) + @php + $currentMode = $toolbarHelper->getCurrentMode(); + $moveToCartText = __('shop::app.customer.account.wishlist.move-to-cart'); + @endphp + + @include ('shop::products.list.card', [ + 'list' => true, + 'checkmode' => true, + 'moveToCart' => true, + 'wishlistMoveRoute' => route('customer.wishlist.move', $item->id), + 'addToCartForm' => true, + 'removeWishlist' => true, + 'reloadPage' => true, + 'itemId' => $item->id, + 'item' => $item, + 'product' => $item->product, + 'additionalAttributes' => true, + 'btnText' => $moveToCartText, + 'addToCartBtnClass' => 'small-padding', + ]) + @endforeach + +
+ {{ $items->links() }} +
+ @else +
+ {{ __('customer::app.wishlist.empty') }} +
+ @endif +
+ + {!! view_render_event('bagisto.shop.customers.account.wishlist.list.after', ['wishlist' => $items]) !!} +@endsection diff --git a/resources/themes/velocity/views/customers/session/index.blade.php b/resources/themes/velocity/views/customers/session/index.blade.php new file mode 100644 index 000000000..9242d3077 --- /dev/null +++ b/resources/themes/velocity/views/customers/session/index.blade.php @@ -0,0 +1,105 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.login-form.page-title') }} +@endsection + +@section('content-wrapper') +
+ + {!! view_render_event('bagisto.shop.customers.login.before') !!} + +
+
+
+

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

+ + + + +
+ +
+
+

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

+ +

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

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

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

+ + + + +
+ +
+

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

+ +

+ {{ __('velocity::app.customer.forget-password.recover-password-text')}} +

+ + {!! view_render_event('bagisto.shop.customers.forget_password.before') !!} + +
+ + {{ csrf_field() }} + + {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.before') !!} + +
+ + + + + + @{{ errors.first('email') }} + +
+ + {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!} + + +
+ + {!! view_render_event('bagisto.shop.customers.forget_password.after') !!} +
+
+
+
+@endsection diff --git a/resources/themes/velocity/views/customers/signup/index.blade.php b/resources/themes/velocity/views/customers/signup/index.blade.php new file mode 100644 index 000000000..bc5dfbd1b --- /dev/null +++ b/resources/themes/velocity/views/customers/signup/index.blade.php @@ -0,0 +1,160 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.signup-form.page-title') }} +@endsection + +@section('content-wrapper') +
+
+
+
+

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

+ + + + +
+ +
+

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

+ +

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

+ + {!! view_render_event('bagisto.shop.customers.signup.before') !!} + +
+ + {{ csrf_field() }} + + {!! view_render_event('bagisto.shop.customers.signup_form_controls.before') !!} + +
+ + + + + + @{{ errors.first('first_name') }} + +
+ + {!! view_render_event('bagisto.shop.customers.signup_form_controls.firstname.after') !!} + +
+ + + + + + @{{ errors.first('last_name') }} + +
+ + {!! view_render_event('bagisto.shop.customers.signup_form_controls.lastname.after') !!} + +
+ + + + + + @{{ errors.first('email') }} + +
+ + {!! view_render_event('bagisto.shop.customers.signup_form_controls.email.after') !!} + +
+ + + + + + @{{ errors.first('password') }} + +
+ + {!! view_render_event('bagisto.shop.customers.signup_form_controls.password.after') !!} + +
+ + + + + + @{{ errors.first('password_confirmation') }} + +
+ + @if (core()->getConfigData('customer.settings.newsletter.subscription')) +
+ + {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }} +
+ @endif + + {!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!} + + +
+ + {!! view_render_event('bagisto.shop.customers.signup.after') !!} +
+
+
+
+@endsection diff --git a/resources/themes/velocity/views/customers/signup/reset-password.blade.php b/resources/themes/velocity/views/customers/signup/reset-password.blade.php new file mode 100644 index 000000000..db4a7b74d --- /dev/null +++ b/resources/themes/velocity/views/customers/signup/reset-password.blade.php @@ -0,0 +1,101 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.reset-password.title') }} +@endsection + +@section('content-wrapper') + +
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} +
+
+
+
+

+ {{ __('shop::app.customer.reset-password.title')}} +

+
+ +
+ + {!! view_render_event('bagisto.shop.customers.forget_password.before') !!} + +
+ + {{ csrf_field() }} + + + + {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.before') !!} + +
+ + + + + + @{{ errors.first('email') }} + +
+ +
+ + + + + + @{{ errors.first('password') }} + +
+ +
+ + + + + + @{{ errors.first('confirm_password') }} + +
+ + {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!} + + +
+ + + {!! view_render_event('bagisto.shop.customers.forget_password.after') !!} +
+
+
+
+ {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} +
+@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/errors/404.blade.php b/resources/themes/velocity/views/errors/404.blade.php new file mode 100644 index 000000000..456cb893d --- /dev/null +++ b/resources/themes/velocity/views/errors/404.blade.php @@ -0,0 +1,54 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('admin::app.error.404.page-title') }} +@stop + +@section('body-header') +@endsection + +@section('full-content-wrapper') +
+
+
+ +
+ {{ __('velocity::app.error.page-lost-short') }} +
+ +

+ {{ __('velocity::app.error.page-lost-description') }} +

+
+ +
+
+ + @if ($logo = core()->getCurrentChannel()->logo_url) +
+ @else +
+ @endif +
+ + +
+ > +
+ + + {{ __('velocity::app.error.go-to-home') }} + +
+
+
+ +@endsection + +@section('footer') +@show diff --git a/resources/themes/velocity/views/guest/compare/compare-products.blade.php b/resources/themes/velocity/views/guest/compare/compare-products.blade.php new file mode 100644 index 000000000..296dae42f --- /dev/null +++ b/resources/themes/velocity/views/guest/compare/compare-products.blade.php @@ -0,0 +1,332 @@ +@php + $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository'); + $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily(); + + $locale = request()->get('locale') ?: app()->getLocale(); + + $attributeOptionTranslations = app('\Webkul\Attribute\Repositories\AttributeOptionTranslationRepository')->where('locale', $locale)->get()->toJson(); +@endphp + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/guest/compare/index.blade.php b/resources/themes/velocity/views/guest/compare/index.blade.php new file mode 100644 index 000000000..78b233fee --- /dev/null +++ b/resources/themes/velocity/views/guest/compare/index.blade.php @@ -0,0 +1,11 @@ +@extends('shop::layouts.master') + +@include('shop::guest.compare.compare-products') + +@section('page_title') + {{ __('velocity::app.customer.compare.compare_similar_items') }} +@endsection + +@section('content-wrapper') + +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/guest/wishlist/index.blade.php b/resources/themes/velocity/views/guest/wishlist/index.blade.php new file mode 100644 index 000000000..4ca8b61e4 --- /dev/null +++ b/resources/themes/velocity/views/guest/wishlist/index.blade.php @@ -0,0 +1,13 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.customer.account.wishlist.page-title') }} +@endsection + +@section('content-wrapper') + @push('scripts') + + @endpush +@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php new file mode 100644 index 000000000..690b19f69 --- /dev/null +++ b/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php @@ -0,0 +1,73 @@ +@php + $isRendered = false; + $advertisementFour = null; +@endphp + +@if ($velocityMetaData && $velocityMetaData->advertisement) + @php + $advertisement = json_decode($velocityMetaData->advertisement, true); + + if (isset($advertisement[4]) && is_array($advertisement[4])) { + $advertisementFour = array_values(array_filter($advertisement[4])); + } + @endphp + + @if ($advertisementFour) + @php + $isRendered = true; + @endphp + + + @endif +@endif + +@if (! $isRendered) + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php new file mode 100644 index 000000000..ee81fb7ab --- /dev/null +++ b/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php @@ -0,0 +1,73 @@ +@php + $isRendered = false; + $advertisementOne = null; +@endphp + +@if ($velocityMetaData && $velocityMetaData->advertisement) + @php + $advertisement = json_decode($velocityMetaData->advertisement, true); + if (isset($advertisement[1])) { + $advertisementOne = $advertisement[1]; + } + @endphp + + @if ($advertisementOne) + @php + $isRendered = true; + @endphp + + + @endif +@endif + +@if (! $isRendered) + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php new file mode 100644 index 000000000..964ad2989 --- /dev/null +++ b/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php @@ -0,0 +1,62 @@ +@php + $isRendered = false; + $advertisementThree = null; +@endphp + +@if ($velocityMetaData && $velocityMetaData->advertisement) + @php + $advertisement = json_decode($velocityMetaData->advertisement, true); + + if (isset($advertisement[3]) && is_array($advertisement[3])) { + $advertisementThree = array_values(array_filter($advertisement[3])); + } + @endphp + + @if ($advertisementThree) + @php + $isRendered = true; + @endphp + + + @endif +@endif + +@if (! $isRendered) + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php new file mode 100644 index 000000000..fbb88d695 --- /dev/null +++ b/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php @@ -0,0 +1,50 @@ +@php + $isRendered = false; + $advertisementTwo = null; +@endphp + +@if ($velocityMetaData && $velocityMetaData->advertisement) + @php + $advertisement = json_decode($velocityMetaData->advertisement, true); + + if (isset($advertisement[2]) && is_array($advertisement[2])) { + $advertisementTwo = array_values(array_filter($advertisement[2])); + } + @endphp + + @if ($advertisementTwo) + @php + $isRendered = true; + @endphp + + + @endif +@endif + +@if (! $isRendered) + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/category-with-custom-option.blade.php b/resources/themes/velocity/views/home/category-with-custom-option.blade.php new file mode 100644 index 000000000..71f8e7cb2 --- /dev/null +++ b/resources/themes/velocity/views/home/category-with-custom-option.blade.php @@ -0,0 +1,166 @@ +@php + $categoryRepository = app('Webkul\Category\Repositories\CategoryRepository'); + + $category[0] = $categoryRepository->findByPath($category[0]); + $category[1] = $categoryRepository->findByPath($category[1]); + $category[2] = $categoryRepository->findByPath($category[2]); + $category[3] = $categoryRepository->findByPath($category[3]); +@endphp + +
+
+
+ +
+ +
+
+
+
+ +
+
+

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

+ +
+
+
+ +
+ +
+ +
+
+
+
+ +
+
+

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

+ +
+
+
+
+ +
+
+
+
+
+ +
+
+

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

+ +
+
+
+
+ +
+ +
+
+
+
+ +
+
+

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

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

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

+ +
+
+
+
+ @endforeach +
+ diff --git a/resources/themes/velocity/views/home/category.blade.php b/resources/themes/velocity/views/home/category.blade.php new file mode 100644 index 000000000..760a46bad --- /dev/null +++ b/resources/themes/velocity/views/home/category.blade.php @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/resources/themes/velocity/views/home/customer-reviews.blade.php b/resources/themes/velocity/views/home/customer-reviews.blade.php new file mode 100644 index 000000000..954cb8d16 --- /dev/null +++ b/resources/themes/velocity/views/home/customer-reviews.blade.php @@ -0,0 +1,82 @@ +@php + $reviews = app('Webkul\Velocity\Helpers\Helper')->getShopRecentReviews(4); + $reviewCount = count($reviews); +@endphp + +
+ @if ($reviewCount) + + +
+ @foreach ($reviews as $key => $review) +
+
+
+
+
+ + {{ strtoupper(substr( $review['name'], 0, 1 )) }} + +
+ +
+

+ {{ $review['name'] }} +

+ +
+ {{ __('velocity::app.products.reviewed') }}- {{$review->product->name}} +
+
+
+ +
+ +
+ +
+

{{ $review['comment'] }}

+
+
+
+
+ @endforeach +
+ @endif +
+ +@push('scripts') + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/home/featured-products.blade.php b/resources/themes/velocity/views/home/featured-products.blade.php new file mode 100644 index 000000000..d7a1cd137 --- /dev/null +++ b/resources/themes/velocity/views/home/featured-products.blade.php @@ -0,0 +1,13 @@ +@php + $count = core()->getConfigData('catalog.products.homepage.no_of_featured_product_homepage'); + $count = $count ? $count : 10; + $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr'; +@endphp + + + \ No newline at end of file diff --git a/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php new file mode 100644 index 000000000..0da129418 --- /dev/null +++ b/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php @@ -0,0 +1,67 @@ +@foreach ($products as $product) +
+
+ + {{-- sale-button --}} + @if ($product['actual-price'] > $product['selling-price']) + + @endif + + {{-- product image --}} +
+
+
+
+ +
+ +
+ {{ $product['productName'] }} +
+ + + {{ $product['currency-icon'] }}{{ $product['selling-price'] }} + + + @if ($product['actual-price'] > $product['selling-price']) + + {{ $product['currency-icon'] }}{{ $product['actual-price'] }} + + + + {{ (($product['actual-price'] - $product['selling-price']) * 100) / $product['actual-price'] }}% + + @endif +
+
+ + @if ($product['review-count']) +
+ + + + + + {{ $product['review-count'] }} reviews +
+ @else +
+ Be the first to write a review +
+ @endif + +
+ + {{-- --}} + +
+ +
+
+
+@endforeach \ No newline at end of file diff --git a/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php new file mode 100644 index 000000000..6212c2895 --- /dev/null +++ b/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php @@ -0,0 +1,28 @@ + +@foreach ($products as $product) +
+ +
+
+
+ +
+
+ {{ $product['productName'] }} + + + {{ $product['currency-icon'] }}{{ $product['selling-price'] }} + + +
+ + + + + +
+
+ +
+
+@endforeach diff --git a/resources/themes/velocity/views/home/hot-categories.blade.php b/resources/themes/velocity/views/home/hot-categories.blade.php new file mode 100644 index 000000000..79de54d30 --- /dev/null +++ b/resources/themes/velocity/views/home/hot-categories.blade.php @@ -0,0 +1,10 @@ +
+ + + +
+ @foreach ($category as $slug) + + @endforeach +
+
\ No newline at end of file diff --git a/resources/themes/velocity/views/home/index.blade.php b/resources/themes/velocity/views/home/index.blade.php new file mode 100644 index 000000000..fda9c1b70 --- /dev/null +++ b/resources/themes/velocity/views/home/index.blade.php @@ -0,0 +1,74 @@ +@extends('shop::layouts.master') + +@inject ('productRatingHelper', 'Webkul\Product\Helpers\Review') + +@php + $channel = core()->getCurrentChannel(); + + $homeSEO = $channel->home_seo; + + if (isset($homeSEO)) { + $homeSEO = json_decode($channel->home_seo); + + $metaTitle = $homeSEO->meta_title; + + $metaDescription = $homeSEO->meta_description; + + $metaKeywords = $homeSEO->meta_keywords; + } +@endphp + +@section('page_title') + {{ isset($metaTitle) ? $metaTitle : "" }} +@endsection + +@section('head') + + @if (isset($homeSEO)) + @isset($metaTitle) + + @endisset + + @isset($metaDescription) + + @endisset + + @isset($metaKeywords) + + @endisset + @endif +@endsection + +@push('css') + +@endpush + +@section('content-wrapper') + @include('shop::home.slider') +@endsection + +@section('full-content-wrapper') + +
+ {!! view_render_event('bagisto.shop.home.content.before') !!} + + @if ($velocityMetaData) + {!! DbView::make($velocityMetaData)->field('home_page_content')->render() !!} + @else + @include('shop::home.advertisements.advertisement-four') + @include('shop::home.featured-products') + @include('shop::home.advertisements.advertisement-three') + @include('shop::home.new-products') + @include('shop::home.advertisements.advertisement-two') + @endif + + {{ view_render_event('bagisto.shop.home.content.after') }} +
+ +@endsection + diff --git a/resources/themes/velocity/views/home/new-products.blade.php b/resources/themes/velocity/views/home/new-products.blade.php new file mode 100644 index 000000000..c90525b94 --- /dev/null +++ b/resources/themes/velocity/views/home/new-products.blade.php @@ -0,0 +1,20 @@ +@php + $count = core()->getConfigData('catalog.products.homepage.no_of_new_product_homepage'); + $count = $count ? $count : 10; + $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr'; +@endphp + +{!! view_render_event('bagisto.shop.new-products.before') !!} + + + + +{!! view_render_event('bagisto.shop.new-products.after') !!} diff --git a/resources/themes/velocity/views/home/popular-categories.blade.php b/resources/themes/velocity/views/home/popular-categories.blade.php new file mode 100644 index 000000000..82b5feb91 --- /dev/null +++ b/resources/themes/velocity/views/home/popular-categories.blade.php @@ -0,0 +1,10 @@ + diff --git a/resources/themes/velocity/views/home/product-policy.blade.php b/resources/themes/velocity/views/home/product-policy.blade.php new file mode 100644 index 000000000..d5bab81b0 --- /dev/null +++ b/resources/themes/velocity/views/home/product-policy.blade.php @@ -0,0 +1,5 @@ +
+
+ {!! $velocityMetaData->product_policy !!} +
+
diff --git a/resources/themes/velocity/views/home/slider.blade.php b/resources/themes/velocity/views/home/slider.blade.php new file mode 100644 index 000000000..bad23e2cd --- /dev/null +++ b/resources/themes/velocity/views/home/slider.blade.php @@ -0,0 +1,69 @@ +@php + $direction = core()->getCurrentLocale()->direction; +@endphp + +@if ($velocityMetaData && $velocityMetaData->slider) + +@endif + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/copy-right.blade.php b/resources/themes/velocity/views/layouts/footer/copy-right.blade.php new file mode 100644 index 000000000..432017c80 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/copy-right.blade.php @@ -0,0 +1,9 @@ + diff --git a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php new file mode 100644 index 000000000..0dcdd540d --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php @@ -0,0 +1,6 @@ + + diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php new file mode 100644 index 000000000..213b15a26 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php @@ -0,0 +1,22 @@ +
+ + + @if ($velocityMetaData) + {!! $velocityMetaData->footer_left_content !!} + @else + {!! __('velocity::app.admin.meta-data.footer-left-raw-content') !!} + @endif +
\ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php new file mode 100644 index 000000000..1fa2db348 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php @@ -0,0 +1,57 @@ + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php new file mode 100644 index 000000000..4c81267b6 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php @@ -0,0 +1,29 @@ + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php b/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php new file mode 100644 index 000000000..dbac17c65 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/index.blade.php b/resources/themes/velocity/views/layouts/footer/index.blade.php new file mode 100644 index 000000000..71eebfb6e --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/index.blade.php @@ -0,0 +1,17 @@ + + + diff --git a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php new file mode 100644 index 000000000..6658c3459 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php @@ -0,0 +1,37 @@ +@if ( + $velocityMetaData + && $velocityMetaData->subscription_bar_content + || core()->getConfigData('customer.settings.newsletter.subscription') +) +
+ +
+@endif diff --git a/resources/themes/velocity/views/layouts/footer/top-brands.blade.php b/resources/themes/velocity/views/layouts/footer/top-brands.blade.php new file mode 100644 index 000000000..650ed3cf0 --- /dev/null +++ b/resources/themes/velocity/views/layouts/footer/top-brands.blade.php @@ -0,0 +1,33 @@ +@php + $brandname = app('Webkul\Velocity\Helpers\Helper'); + $topBrandsCollection = $brandname->getBrandsWithCategories(); +@endphp + +@if (! empty($topBrandsCollection)) +
+
+ @if ($topBrandsCollection) +
+

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

+
+ +
    + @foreach($topBrandsCollection as $categoryName => $brandsCollection) +
  • + + + + @foreach ($brandsCollection as $brandIndex => $brand ) + {{$brand}} + @if ($brandIndex + 1 !== sizeof($brandsCollection)) + | + @endif + @endforeach + +
  • + @endforeach +
+ @endif +
+
+@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/header/index.blade.php b/resources/themes/velocity/views/layouts/header/index.blade.php new file mode 100644 index 000000000..fe58600d6 --- /dev/null +++ b/resources/themes/velocity/views/layouts/header/index.blade.php @@ -0,0 +1,22 @@ + + +@push('scripts') + +@endpush diff --git a/resources/themes/velocity/views/layouts/master.blade.php b/resources/themes/velocity/views/layouts/master.blade.php new file mode 100644 index 000000000..1897dd941 --- /dev/null +++ b/resources/themes/velocity/views/layouts/master.blade.php @@ -0,0 +1,128 @@ + + + + + {{-- title --}} + @yield('page_title') + + {{-- meta data --}} + + + + + + + {!! view_render_event('bagisto.shop.layout.head') !!} + + {{-- for extra head data --}} + @yield('head') + + {{-- seo meta data --}} + @section('seo') + + @show + + {{-- fav icon --}} + @if ($favicon = core()->getCurrentChannel()->favicon_url) + + @else + + @endif + + {{-- all styles --}} + @include('shop::layouts.styles') + + + getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif> + {!! view_render_event('bagisto.shop.layout.body.before') !!} + + @include('shop::UI.particals') + + {{-- main app --}} +
+ + +
+ + @section('body-header') + @include('shop::layouts.top-nav.index') + + {!! view_render_event('bagisto.shop.layout.header.before') !!} + + @include('shop::layouts.header.index') + + {!! view_render_event('bagisto.shop.layout.header.after') !!} + +
+ @php + $velocityContent = app('Webkul\Velocity\Repositories\ContentRepository')->getAllContents(); + @endphp + + + +
+
+ + + +
+ +
+ + {!! view_render_event('bagisto.shop.layout.content.before') !!} + + @yield('content-wrapper') + + {!! view_render_event('bagisto.shop.layout.content.after') !!} +
+ +
+
+
+
+ @show + +
+ + {!! view_render_event('bagisto.shop.layout.full-content.before') !!} + + @yield('full-content-wrapper') + + {!! view_render_event('bagisto.shop.layout.full-content.after') !!} + +
+
+ + +
+ + {{-- footer --}} + @section('footer') + {!! view_render_event('bagisto.shop.layout.footer.before') !!} + + @include('shop::layouts.footer.index') + + {!! view_render_event('bagisto.shop.layout.footer.after') !!} + @show + + {!! view_render_event('bagisto.shop.layout.body.after') !!} + +
+ + {{-- all scripts --}} + @include('shop::layouts.scripts') + + diff --git a/resources/themes/velocity/views/layouts/scripts.blade.php b/resources/themes/velocity/views/layouts/scripts.blade.php new file mode 100644 index 000000000..56d645a15 --- /dev/null +++ b/resources/themes/velocity/views/layouts/scripts.blade.php @@ -0,0 +1,72 @@ + + + + + + + + +@stack('scripts') + + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/styles.blade.php b/resources/themes/velocity/views/layouts/styles.blade.php new file mode 100644 index 000000000..e69b0004f --- /dev/null +++ b/resources/themes/velocity/views/layouts/styles.blade.php @@ -0,0 +1,13 @@ + + +@if (core()->getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') + +@endif + + + +@stack('css') + + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/top-nav/index.blade.php b/resources/themes/velocity/views/layouts/top-nav/index.blade.php new file mode 100644 index 000000000..fcb3493a6 --- /dev/null +++ b/resources/themes/velocity/views/layouts/top-nav/index.blade.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php b/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php new file mode 100644 index 000000000..fd7ebd6d7 --- /dev/null +++ b/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php @@ -0,0 +1,104 @@ +@php + $searchQuery = request()->input(); + + if ($searchQuery && ! empty($searchQuery)) { + $searchQuery = implode('&', array_map( + function ($v, $k) { + if (is_array($v)) { + if (is_array($v)) { + $key = array_keys($v)[0]; + + return $k. "[$key]=" . implode('&' . $k . '[]=', $v); + } else { + return $k. '[]=' . implode('&' . $k . '[]=', $v); + } + } else { + return $k . '=' . $v; + } + }, + $searchQuery, + array_keys($searchQuery) + )); + } else { + $searchQuery = false; + } +@endphp + +{!! view_render_event('bagisto.shop.layout.header.locale.before') !!} +
+ +
+ +{!! view_render_event('bagisto.shop.layout.header.locale.after') !!} + +{!! view_render_event('bagisto.shop.layout.header.currency-item.before') !!} + + @if (core()->getCurrentChannel()->currencies->count() > 1) +
+ +
+ @endif + +{!! view_render_event('bagisto.shop.layout.header.currency-item.after') !!} diff --git a/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php b/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php new file mode 100644 index 000000000..1ee8cde56 --- /dev/null +++ b/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php @@ -0,0 +1,134 @@ +{!! view_render_event('bagisto.shop.layout.header.account-item.before') !!} + +{!! view_render_event('bagisto.shop.layout.header.account-item.after') !!} + +@push('scripts') + + + +@endpush + diff --git a/resources/themes/velocity/views/products/add-to-cart.blade.php b/resources/themes/velocity/views/products/add-to-cart.blade.php new file mode 100644 index 000000000..2ef856f65 --- /dev/null +++ b/resources/themes/velocity/views/products/add-to-cart.blade.php @@ -0,0 +1,80 @@ +{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!} + +
+ @if (isset($showCompare) && $showCompare) + + @endif + + @if (! (isset($showWishlist) && !$showWishlist) && core()->getConfigData('general.content.shop.wishlist_option')) + @include('shop::products.wishlist', [ + 'addClass' => $addWishlistClass ?? '' + ]) + @endif + +
+ @if (isset($form) && !$form) + + @elseif(isset($addToCartForm) && !$addToCartForm) +
+ + @csrf + + + + +
+ @else + isSaleable() ? 'false' : 'true' }} + show-cart-icon={{ ! (isset($showCartIcon) && ! $showCartIcon) }} + btn-text="{{ (! isset($moveToCart) && $product->type == 'booking') ? __('shop::app.products.book-now') : $btnText ?? __('shop::app.products.add-to-cart') }}"> + + @endif +
+
+ +{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/buy-now.blade.php b/resources/themes/velocity/views/products/buy-now.blade.php new file mode 100644 index 000000000..8bc1844b8 --- /dev/null +++ b/resources/themes/velocity/views/products/buy-now.blade.php @@ -0,0 +1,7 @@ +{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} + + + +{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/index.blade.php b/resources/themes/velocity/views/products/index.blade.php new file mode 100644 index 000000000..aaf5877c6 --- /dev/null +++ b/resources/themes/velocity/views/products/index.blade.php @@ -0,0 +1,176 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') +@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') + +@extends('shop::layouts.master') + +@section('page_title') + {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }} +@stop + +@section('seo') + + + + @if (core()->getConfigData('catalog.rich_snippets.categories.enable')) + + @endif +@stop + +@push('css') + +@endpush + +@php + $isProductsDisplayMode = in_array( + $category->display_mode, [ + null, + 'products_only', + 'products_and_description' + ] + ); + + $isDescriptionDisplayMode = in_array( + $category->display_mode, [ + null, + 'description_only', + 'products_and_description' + ] + ); +@endphp + +@section('content-wrapper') + +@stop + +@push('scripts') + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/list/card.blade.php b/resources/themes/velocity/views/products/list/card.blade.php new file mode 100644 index 000000000..7f43fd6ed --- /dev/null +++ b/resources/themes/velocity/views/products/list/card.blade.php @@ -0,0 +1,198 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +@push('css') + +@endpush + +@php + if (isset($checkmode) && $checkmode && $toolbarHelper->getCurrentMode() == "list") { + $list = true; + } + + if (isset($item)) { + $productBaseImage = productimage()->getProductImage($item); + } else { + $productBaseImage = productimage()->getProductBaseImage($product); + } + + $totalReviews = $reviewHelper->getTotalReviews($product); + $avgRatings = ceil($reviewHelper->getAverageRating($product)); + + $galleryImages = productimage()->getGalleryImages($product); + $priceHTML = view('shop::products.price', ['product' => $product])->render(); + + $product->__set('priceHTML', $priceHTML); + $product->__set('avgRating', $avgRatings); + $product->__set('totalReviews', $totalReviews); + $product->__set('galleryImages', $galleryImages); + $product->__set('shortDescription', $product->short_description); + $product->__set('firstReviewText', trans('velocity::app.products.be-first-review')); + $product->__set('addToCartHtml', view('shop::products.add-to-cart', [ + 'product' => $product, + 'addWishlistClass' => ! (isset($list) && $list) ? '' : '', + + 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" + ? true : false, + + 'btnText' => null, + 'moveToCart' => null, + 'addToCartBtnClass' => '', + ])->render()); + +@endphp + +{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} + @if (isset($list) && $list) +
+ + +
+
+
+ + + {{ $product->name }} + + + @if (isset($additionalAttributes) && $additionalAttributes) + @if (isset($item->additional['attributes'])) +
+ + @foreach ($item->additional['attributes'] as $attribute) + {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
+ @endforeach + +
+ @endif + @endif +
+ +
+ @include ('shop::products.price', ['product' => $product]) +
+ + @if( $totalReviews ) +
+ + {{ $totalReviews }} Ratings +
+ @endif + +
+ @include ('shop::products.add-to-cart', [ + 'addWishlistClass' => 'pl10', + 'product' => $product, + 'addToCartBtnClass' => 'medium-padding', + 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" + ? true : false, + ]) +
+
+
+
+ @else +
+ + + {{ $product->name }} + + {{-- --}} + + + + @if ($product->new) +
+ {{ __('shop::app.products.new') }} +
+ @endif + +
+ + +
+ @include ('shop::products.price', ['product' => $product]) +
+ + @if ($totalReviews) +
+ + + {{ __('velocity::app.products.ratings', ['totalRatings' => $totalReviews ]) }} + +
+ @else +
+ {{ __('velocity::app.products.be-first-review') }} +
+ @endif + +
+ @include ('shop::products.add-to-cart', [ + 'product' => $product, + 'btnText' => $btnText ?? null, + 'moveToCart' => $moveToCart ?? null, + 'wishlistMoveRoute' => $wishlistMoveRoute ?? null, + 'reloadPage' => $reloadPage ?? null, + 'addToCartForm' => $addToCartForm ?? false, + 'addToCartBtnClass' => $addToCartBtnClass ?? '', + 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" + ? true : false, + ]) +
+
+
+ @endif + +{!! view_render_event('bagisto.shop.products.list.card.after', ['product' => $product]) !!} diff --git a/resources/themes/velocity/views/products/list/layered-navigation.blade.php b/resources/themes/velocity/views/products/list/layered-navigation.blade.php new file mode 100644 index 000000000..137ad209d --- /dev/null +++ b/resources/themes/velocity/views/products/list/layered-navigation.blade.php @@ -0,0 +1,257 @@ +@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') +@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository') +@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository') + +getProductsRelatedFilterableAttributes($category); + + $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)); + } + + if (! count($filterAttributes) > 0) { + $filterAttributes = $attributeRepository->getFilterAttributes(); + } +?> + +
+ + {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!} + + + + {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!} + +
+ +@push('scripts') + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/list/recently-viewed.blade.php b/resources/themes/velocity/views/products/list/recently-viewed.blade.php new file mode 100644 index 000000000..8c1ea1606 --- /dev/null +++ b/resources/themes/velocity/views/products/list/recently-viewed.blade.php @@ -0,0 +1,11 @@ +@php + $direction = core()->getCurrentLocale()->direction; +@endphp + + + diff --git a/resources/themes/velocity/views/products/list/toolbar.blade.php b/resources/themes/velocity/views/products/list/toolbar.blade.php new file mode 100644 index 000000000..080c7007c --- /dev/null +++ b/resources/themes/velocity/views/products/list/toolbar.blade.php @@ -0,0 +1,162 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!} + +{!! view_render_event('bagisto.shop.products.list.toolbar.after') !!} + +@push('scripts') + + + +@endpush diff --git a/resources/themes/velocity/views/products/price.blade.php b/resources/themes/velocity/views/products/price.blade.php new file mode 100644 index 000000000..bed2c056d --- /dev/null +++ b/resources/themes/velocity/views/products/price.blade.php @@ -0,0 +1,7 @@ +{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!} + +
+ {!! $product->getTypeInstance()->getPriceHtml() !!} +
+ +{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/reviews/create.blade.php b/resources/themes/velocity/views/products/reviews/create.blade.php new file mode 100644 index 000000000..d52609fdc --- /dev/null +++ b/resources/themes/velocity/views/products/reviews/create.blade.php @@ -0,0 +1,99 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} +@endsection + +@section('content-wrapper') + +
+
+ @include ('shop::products.view.small-view', ['product' => $product]) + +
+
+

+ {{ __('shop::app.reviews.write-review') }} +

+ +
+ + @csrf + +
+ + + + @{{ errors.first('rating') }} + +
+ +
+ + + + + @{{ errors.first('title') }} + +
+ + @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user()) +
+ + + + @{{ errors.first('name') }} + +
+ @endif + +
+ + + + @{{ errors.first('comment') }} + +
+ +
+ +
+
+
+
+ @if ($showRecentlyViewed) + @include ('shop::products.list.recently-viewed', [ + 'addClass' => 'col-lg-3 col-md-12' + ]) + @endif +
+
+ +@endsection diff --git a/resources/themes/velocity/views/products/reviews/index.blade.php b/resources/themes/velocity/views/products/reviews/index.blade.php new file mode 100644 index 000000000..4f002a904 --- /dev/null +++ b/resources/themes/velocity/views/products/reviews/index.blade.php @@ -0,0 +1,41 @@ +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.reviews.product-review-page-title') }} +@endsection + +@php + $ratings = [ + '', '', '', '' + ]; + + $ratings = [ + 10, 30, 20, 15, 25 + ]; + + $totalReviews = 25; + $totalRatings = array_sum($ratings); + +@endphp + +@push('css') + +@endpush + +@section('content-wrapper') +
+
+ @include ('shop::products.view.small-view', ['product' => $product]) + +
+

Rating and Reviews

+ + @include ('shop::products.view.reviews') +
+
+
+@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view.blade.php b/resources/themes/velocity/views/products/view.blade.php new file mode 100644 index 000000000..943b0a54a --- /dev/null +++ b/resources/themes/velocity/views/products/view.blade.php @@ -0,0 +1,344 @@ +@extends('shop::layouts.master') + +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') +@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper') + +@php + $total = $reviewHelper->getTotalReviews($product); + + $avgRatings = $reviewHelper->getAverageRating($product); + $avgStarRating = round($avgRatings); + + $productImages = []; + $images = productimage()->getGalleryImages($product); + + foreach ($images as $key => $image) { + array_push($productImages, $image['medium_image_url']); + } +@endphp + +@section('page_title') + {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }} +@stop + +@section('seo') + meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/> + + + + @if (core()->getConfigData('catalog.rich_snippets.products.enable')) + + @endif + + getProductBaseImage($product, $images); ?> + + + + + + + + + + + + + + + + + + + + +@stop + +@push('css') + +@endpush + +@section('full-content-wrapper') + {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!} +
+
+
+ +
+ @csrf() + + + +
+ {{-- product-gallery --}} +
+ @include ('shop::products.view.gallery') +
+ + {{-- right-section --}} +
+ {{-- product-info-section --}} +
+

{{ $product->name }}

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

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

+ + {!! $product->short_description !!} +
+ @endif + + {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} + + + {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} + + @if ($product->getTypeInstance()->showQuantityBox()) +
+ +
+ @else + + @endif + + {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} + + @include ('shop::products.view.configurable-options') + + @include ('shop::products.view.downloadable') + + @include ('shop::products.view.grouped-products') + + @include ('shop::products.view.bundle-options') + + @include ('shop::products.view.attributes', [ + 'active' => true + ]) + + {{-- product long description --}} + @include ('shop::products.view.description') + + {{-- reviews count --}} + @include ('shop::products.view.reviews', ['accordian' => true]) +
+
+
+
+
+
+ + + +
+ @if( + isset($velocityMetaData['product_view_images']) + && $velocityMetaData['product_view_images'] + ) + @foreach (json_decode($velocityMetaData['product_view_images'], true) as $image) + @if ($image && $image !== '') + + @endif + @endforeach + @endif +
+
+ {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!} +@endsection + +@push('scripts') + + + + + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/attributes.blade.php b/resources/themes/velocity/views/products/view/attributes.blade.php new file mode 100644 index 000000000..d66e74f28 --- /dev/null +++ b/resources/themes/velocity/views/products/view/attributes.blade.php @@ -0,0 +1,50 @@ +@inject ('productViewHelper', 'Webkul\Product\Helpers\View') + +{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!} + @php + $customAttributeValues = $productViewHelper->getAdditionalData($product); + @endphp + + @if ($customAttributeValues) + +
+

+ {{ __('velocity::app.products.more-infomation') }} +

+ +
+ +
+ + + @foreach ($customAttributeValues as $attribute) + + @if ($attribute['label']) + + @else + + @endif + + @if ($attribute['type'] == 'file' && $attribute['value']) + + @elseif ($attribute['type'] == 'image' && $attribute['value']) + + @else + + @endif + + @endforeach +
{{ $attribute['label'] }}{{ $attribute['admin_name'] }} + + + + + + + + {{ $attribute['value'] }}
+
+
+ @endif + +{!! view_render_event('bagisto.shop.products.view.attributes.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/bundle-options.blade.php b/resources/themes/velocity/views/products/view/bundle-options.blade.php new file mode 100644 index 000000000..1dfefed08 --- /dev/null +++ b/resources/themes/velocity/views/products/view/bundle-options.blade.php @@ -0,0 +1,249 @@ +@if ($product->type == 'bundle') + @push('css') + + @endpush + + {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!} + + + + {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!} + + @push('scripts') + + + + + + @endpush +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/configurable-options.blade.php b/resources/themes/velocity/views/products/view/configurable-options.blade.php new file mode 100644 index 000000000..b9f3874f8 --- /dev/null +++ b/resources/themes/velocity/views/products/view/configurable-options.blade.php @@ -0,0 +1,353 @@ +@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) + + @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') + + @php + $config = $configurableOptionHelper->getConfigurationConfig($product); + $galleryImages = productimage()->getGalleryImages($product); + @endphp + + {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} + + + + {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} + + @push('scripts') + + + + @endpush +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/cross-sells.blade.php b/resources/themes/velocity/views/products/view/cross-sells.blade.php new file mode 100644 index 000000000..f095c431b --- /dev/null +++ b/resources/themes/velocity/views/products/view/cross-sells.blade.php @@ -0,0 +1,61 @@ +@foreach ($cart->items as $item) + product; + + if ($product->cross_sells()->count()) { + $products[] = $product; + $products = array_unique($products); + } + ?> +@endforeach + +@if (isset($products)) + + + + + + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/description.blade.php b/resources/themes/velocity/views/products/view/description.blade.php new file mode 100644 index 000000000..ab76a8a0b --- /dev/null +++ b/resources/themes/velocity/views/products/view/description.blade.php @@ -0,0 +1,19 @@ +{!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!} + + +
+

+ {{ __('velocity::app.products.details') }} +

+ + +
+ +
+
+ {!! $product->description !!} +
+
+
+ +{!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/downloadable.blade.php b/resources/themes/velocity/views/products/view/downloadable.blade.php new file mode 100644 index 000000000..ba76b7af4 --- /dev/null +++ b/resources/themes/velocity/views/products/view/downloadable.blade.php @@ -0,0 +1,64 @@ +@if ($product->type == 'downloadable') + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} + +
+ + @if ($product->downloadable_samples->count()) +
+

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

+ + +
+ @endif + + @if ($product->downloadable_links->count()) + + @endif +
+ + {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/gallery.blade.php b/resources/themes/velocity/views/products/view/gallery.blade.php new file mode 100644 index 000000000..ed9788a7a --- /dev/null +++ b/resources/themes/velocity/views/products/view/gallery.blade.php @@ -0,0 +1,177 @@ +@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') + +@php + $images = productimage()->getGalleryImages($product); + $videos = productvideo()->getVideos($product); + + $videoData = $imageData = []; + + foreach ($videos as $key => $video) { + $videoData[$key]['type'] = $video['type']; + $videoData[$key]['large_image_url'] = $videoData[$key]['small_image_url']= $videoData[$key]['medium_image_url']= $videoData[$key]['original_image_url'] = $video['video_url']; + } + + foreach ($images as $key => $image) { + $imageData[$key]['type'] = ''; + $imageData[$key]['large_image_url'] = $image['large_image_url']; + $imageData[$key]['small_image_url'] = $image['small_image_url']; + $imageData[$key]['medium_image_url'] = $image['medium_image_url']; + $imageData[$key]['original_image_url'] = $image['original_image_url']; + } + + $images = array_merge($imageData, $videoData); +@endphp + +{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!} + +
+
+ + +
+ +
+ +
+ +
+ +{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!} + + + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/grouped-products.blade.php b/resources/themes/velocity/views/products/view/grouped-products.blade.php new file mode 100644 index 000000000..06ca41b48 --- /dev/null +++ b/resources/themes/velocity/views/products/view/grouped-products.blade.php @@ -0,0 +1,38 @@ +@if ($product->type == 'grouped') + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} + +
+ @if ($product->grouped_products->count()) +
+
    +
  • + {{ __('shop::app.products.name') }} + {{ __('shop::app.products.qty') }} +
  • + @foreach ($product->grouped_products as $groupedProduct) + @if($groupedProduct->associated_product->getTypeInstance()->isSaleable()) +
  • + + {{ $groupedProduct->associated_product->name }} + + @include ('shop::products.price', ['product' => $groupedProduct->associated_product]) + + + + + + +
  • + @endif + @endforeach +
+
+ @endif +
+ + {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/related-products.blade.php b/resources/themes/velocity/views/products/view/related-products.blade.php new file mode 100644 index 000000000..af9fd1759 --- /dev/null +++ b/resources/themes/velocity/views/products/view/related-products.blade.php @@ -0,0 +1,49 @@ +related_products()->get(); +?> + +@if ($relatedProducts->count()) + + + + + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/reviews.blade.php b/resources/themes/velocity/views/products/view/reviews.blade.php new file mode 100644 index 000000000..b45d02b57 --- /dev/null +++ b/resources/themes/velocity/views/products/view/reviews.blade.php @@ -0,0 +1,208 @@ +@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') +@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper') + +@php + $reviews = $reviewHelper->getReviews($product)->paginate(10); + + if (! isset($total)) { + $total = $reviewHelper->getTotalReviews($product); + $avgRatings = $reviewHelper->getAverageRating($product); + $avgStarRating = round($avgRatings); + } + + $percentageRatings = $reviewHelper->getPercentageRating($product); +@endphp + +{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!} + + @if ($total) + @if (isset($accordian) && $accordian) + + {{-- customer ratings --}} +
+

+ {{ __('velocity::app.products.customer-rating') }} +

+ + +
+ +
+
+
+

{{ $avgRatings }} {{ __('shop::app.reviews.star') }}

+ + + + + {{ __('shop::app.reviews.ratingreviews', [ + 'rating' => $avgRatings, + 'review' => $total]) + }} + + + @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) + + + + @endif +
+ +
+ + @for ($i = 5; $i >= 1; $i--) + +
+ {{ $i }} {{ __('shop::app.reviews.star') }} + +
+
+
+ + {{ $percentageRatings[$i] }} % +
+ @endfor + +
+
+
+
+ @else +
+
+
+

{{ $avgRatings }} {{ __('shop::app.reviews.star') }}

+ + + + + {{ __('shop::app.reviews.ratingreviews', [ + 'rating' => $avgRatings, + 'review' => $total]) + }} + + + @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) + + + + @endif +
+ +
+ + @for ($i = 5; $i >= 1; $i--) + +
+ {{ $i }} Star + +
+
+
+ + {{ $percentageRatings[$i] }} % +
+ @endfor + +
+
+
+ @endif + + @if (isset($accordian) && $accordian) + + {{-- customer reviews --}} +
+

+ {{ __('velocity::app.products.reviews-title') }} +

+ + +
+ +
+ @foreach ($reviews as $review) +
+

{{ $review->title }}

+ + + +
+ {{ $review->comment }} +
+ +
+ {{ __('velocity::app.products.review-by') }} - + + + {{ $review->name }}, + + + {{ core()->formatDate($review->created_at, 'F d, Y') }} + +
+
+ @endforeach + + {{ __('velocity::app.products.view-all-reviews') }} +
+
+ @else +

+ {{ __('velocity::app.products.reviews-title') }} +

+ +
+ @foreach ($reviews as $review) +
+

{{ $review->title }}

+ + + +
+ {{ $review->comment }} +
+ +
+ @if ("{{ $review->name }}") + {{ __('velocity::app.products.review-by') }} - + + + @endif + + {{ core()->formatDate($review->created_at, 'F d, Y') }} + +
+
+ @endforeach +
+ @endif + + @else + @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) +
+ + + +
+ @endif + @endif + +{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/small-view.blade.php b/resources/themes/velocity/views/products/view/small-view.blade.php new file mode 100644 index 000000000..26a7aa7a6 --- /dev/null +++ b/resources/themes/velocity/views/products/view/small-view.blade.php @@ -0,0 +1,13 @@ +@php + $productBaseImage = productimage()->getProductBaseImage($product); +@endphp + +
+ + + + + + + +
\ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/stock.blade.php b/resources/themes/velocity/views/products/view/stock.blade.php new file mode 100644 index 000000000..bb694f6b4 --- /dev/null +++ b/resources/themes/velocity/views/products/view/stock.blade.php @@ -0,0 +1,17 @@ +{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!} + +
+ +
+ +{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/up-sells.blade.php b/resources/themes/velocity/views/products/view/up-sells.blade.php new file mode 100644 index 000000000..ec527b146 --- /dev/null +++ b/resources/themes/velocity/views/products/view/up-sells.blade.php @@ -0,0 +1,49 @@ +up_sells()->get(); +?> + +@if ($productUpSells->count()) + + + + + +@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/wishlist.blade.php b/resources/themes/velocity/views/products/wishlist.blade.php new file mode 100644 index 000000000..66573a0a1 --- /dev/null +++ b/resources/themes/velocity/views/products/wishlist.blade.php @@ -0,0 +1,39 @@ +@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') + +{!! view_render_event('bagisto.shop.products.wishlist.before') !!} + + @auth('customer') + @php + /* search wishlist on the basis of product's id so that wishlist id can be catched */ + $wishlist = $wishListHelper->getWishlistProduct($product); + + /* link making */ + $href = isset($route) ? $route : ($wishlist ? route('customer.wishlist.remove', $wishlist->id) : route('customer.wishlist.add', $product->product_id)); + + /* title */ + $title = $wishlist ? __('velocity::app.shop.wishlist.remove-wishlist-text') : __('velocity::app.shop.wishlist.add-wishlist-text'); + @endphp + + + + + + @if (isset($text)) + {!! $text !!} + @endif + + @endauth + + @guest('customer') + + + + @endauth + +{!! view_render_event('bagisto.shop.products.wishlist.after') !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/search/search.blade.php b/resources/themes/velocity/views/search/search.blade.php new file mode 100644 index 000000000..962f820e1 --- /dev/null +++ b/resources/themes/velocity/views/search/search.blade.php @@ -0,0 +1,155 @@ +@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') + +@extends('shop::layouts.master') + +@section('page_title') + {{ __('shop::app.search.page-title') }} +@endsection + +@push('css') + +@endpush + +@section('content-wrapper') +
+ +
+@endsection + +@push('scripts') + + + + + +@endpush \ No newline at end of file From 788fb261882b37d2d658c72de4e2a00ea0684217 Mon Sep 17 00:00:00 2001 From: rahul shukla Date: Fri, 19 Feb 2021 18:50:32 +0530 Subject: [PATCH 2/2] Issue #4659 fixed --- .../shop/views/checkout/cart/coupon.blade.php | 119 --- .../shop/views/checkout/cart/index.blade.php | 272 ------- .../views/checkout/cart/mini-cart.blade.php | 114 --- .../shop/views/checkout/onepage.blade.php | 615 -------------- .../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 | 168 ---- .../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 | 132 --- .../customers/account/profile/index.blade.php | 114 --- .../customers/account/reviews/index.blade.php | 80 -- .../account/reviews/reviews.blade.php | 50 -- .../account/wishlist/wishlist.blade.php | 92 --- .../views/customers/session/index.blade.php | 57 -- .../signup/forgot-password.blade.php | 61 -- .../views/customers/signup/index.blade.php | 97 --- .../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 | 26 - .../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 | 36 - .../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 | 117 --- .../views/products/reviews/index.blade.php | 163 ---- .../shop/views/products/sharelinks.blade.php | 1 - .../themes/shop/views/products/view.blade.php | 299 ------- .../views/products/view/attributes.blade.php | 45 -- .../products/view/bundle-options.blade.php | 236 ------ .../view/configurable-options.blade.php | 333 -------- .../views/products/view/cross-sells.blade.php | 36 - .../products/view/downloadable.blade.php | 50 -- .../views/products/view/gallery.blade.php | 219 ----- .../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 -- .../themes/velocity/views/UI/header.blade.php | 575 ------------- .../velocity/views/UI/particals.blade.php | 475 ----------- .../views/checkout/cart/coupon.blade.php | 117 --- .../views/checkout/cart/index.blade.php | 311 ------- .../views/checkout/cart/mini-cart.blade.php | 10 - .../velocity/views/checkout/onepage.blade.php | 762 ------------------ .../onepage/customer-checkout.blade.php | 24 - .../checkout/onepage/customer-info.blade.php | 243 ------ .../onepage/customer-new-form.blade.php | 541 ------------- .../views/checkout/onepage/payment.blade.php | 67 -- .../views/checkout/onepage/review.blade.php | 176 ---- .../views/checkout/onepage/shipping.blade.php | 60 -- .../velocity/views/checkout/success.blade.php | 32 - .../views/checkout/total/summary.blade.php | 60 -- .../themes/velocity/views/cms/page.blade.php | 25 - .../account/address/country-state.blade.php | 98 --- .../account/address/create.blade.php | 114 --- .../customers/account/address/edit.blade.php | 114 --- .../customers/account/address/index.blade.php | 99 --- .../customers/account/compare/index.blade.php | 19 - .../downloadable_products/index.blade.php | 28 - .../views/customers/account/index.blade.php | 46 -- .../customers/account/orders/index.blade.php | 31 - .../customers/account/orders/view.blade.php | 582 ------------- .../account/partials/sidemenu.blade.php | 74 -- .../customers/account/profile/edit.blade.php | 212 ----- .../customers/account/profile/index.blade.php | 116 --- .../customers/account/reviews/index.blade.php | 118 --- .../account/wishlist/wishlist.blade.php | 63 -- .../views/customers/session/index.blade.php | 105 --- .../signup/forgot-password.blade.php | 71 -- .../views/customers/signup/index.blade.php | 160 ---- .../customers/signup/reset-password.blade.php | 101 --- .../velocity/views/errors/404.blade.php | 54 -- .../guest/compare/compare-products.blade.php | 332 -------- .../views/guest/compare/index.blade.php | 11 - .../views/guest/wishlist/index.blade.php | 13 - .../advertisement-four.blade.php | 73 -- .../advertisement-one.blade.php | 73 -- .../advertisement-three.blade.php | 62 -- .../advertisement-two.blade.php | 50 -- .../category-with-custom-option.blade.php | 166 ---- .../velocity/views/home/category.blade.php | 5 - .../views/home/customer-reviews.blade.php | 82 -- .../views/home/featured-products.blade.php | 13 - .../helper/product-large-cart-view.blade.php | 67 -- .../helper/product-small-cart-view.blade.php | 28 - .../views/home/hot-categories.blade.php | 10 - .../velocity/views/home/index.blade.php | 74 -- .../views/home/new-products.blade.php | 20 - .../views/home/popular-categories.blade.php | 10 - .../views/home/product-policy.blade.php | 5 - .../velocity/views/home/slider.blade.php | 69 -- .../views/layouts/footer/copy-right.blade.php | 9 - .../layouts/footer/footer-links.blade.php | 6 - .../footer/footer-links/footer-left.blade.php | 22 - .../footer-links/footer-middle.blade.php | 57 -- .../footer-links/footer-right.blade.php | 29 - .../layouts/footer/footer-logo.blade.php | 5 - .../views/layouts/footer/index.blade.php | 17 - .../footer/newsletter-subscription.blade.php | 37 - .../views/layouts/footer/top-brands.blade.php | 33 - .../views/layouts/header/index.blade.php | 22 - .../velocity/views/layouts/master.blade.php | 128 --- .../velocity/views/layouts/scripts.blade.php | 72 -- .../velocity/views/layouts/styles.blade.php | 13 - .../views/layouts/top-nav/index.blade.php | 9 - .../layouts/top-nav/locale-currency.blade.php | 104 --- .../layouts/top-nav/login-section.blade.php | 134 --- .../views/products/add-to-cart.blade.php | 80 -- .../velocity/views/products/buy-now.blade.php | 7 - .../velocity/views/products/index.blade.php | 176 ---- .../views/products/list/card.blade.php | 198 ----- .../list/layered-navigation.blade.php | 257 ------ .../products/list/recently-viewed.blade.php | 11 - .../views/products/list/toolbar.blade.php | 162 ---- .../velocity/views/products/price.blade.php | 7 - .../views/products/reviews/create.blade.php | 99 --- .../views/products/reviews/index.blade.php | 41 - .../velocity/views/products/view.blade.php | 344 -------- .../views/products/view/attributes.blade.php | 50 -- .../products/view/bundle-options.blade.php | 249 ------ .../view/configurable-options.blade.php | 353 -------- .../views/products/view/cross-sells.blade.php | 61 -- .../views/products/view/description.blade.php | 19 - .../products/view/downloadable.blade.php | 64 -- .../views/products/view/gallery.blade.php | 177 ---- .../products/view/grouped-products.blade.php | 38 - .../products/view/related-products.blade.php | 49 -- .../views/products/view/reviews.blade.php | 208 ----- .../views/products/view/small-view.blade.php | 13 - .../views/products/view/stock.blade.php | 17 - .../views/products/view/up-sells.blade.php | 49 -- .../views/products/wishlist.blade.php | 39 - .../velocity/views/search/search.blade.php | 155 ---- 195 files changed, 20656 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 delete mode 100644 resources/themes/velocity/views/UI/header.blade.php delete mode 100644 resources/themes/velocity/views/UI/particals.blade.php delete mode 100644 resources/themes/velocity/views/checkout/cart/coupon.blade.php delete mode 100644 resources/themes/velocity/views/checkout/cart/index.blade.php delete mode 100644 resources/themes/velocity/views/checkout/cart/mini-cart.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/customer-info.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/payment.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/review.blade.php delete mode 100644 resources/themes/velocity/views/checkout/onepage/shipping.blade.php delete mode 100644 resources/themes/velocity/views/checkout/success.blade.php delete mode 100644 resources/themes/velocity/views/checkout/total/summary.blade.php delete mode 100644 resources/themes/velocity/views/cms/page.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/address/country-state.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/address/create.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/address/edit.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/address/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/compare/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/orders/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/orders/view.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/profile/edit.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/profile/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/reviews/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php delete mode 100644 resources/themes/velocity/views/customers/session/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/signup/forgot-password.blade.php delete mode 100644 resources/themes/velocity/views/customers/signup/index.blade.php delete mode 100644 resources/themes/velocity/views/customers/signup/reset-password.blade.php delete mode 100644 resources/themes/velocity/views/errors/404.blade.php delete mode 100644 resources/themes/velocity/views/guest/compare/compare-products.blade.php delete mode 100644 resources/themes/velocity/views/guest/compare/index.blade.php delete mode 100644 resources/themes/velocity/views/guest/wishlist/index.blade.php delete mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php delete mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php delete mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php delete mode 100644 resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php delete mode 100644 resources/themes/velocity/views/home/category-with-custom-option.blade.php delete mode 100644 resources/themes/velocity/views/home/category.blade.php delete mode 100644 resources/themes/velocity/views/home/customer-reviews.blade.php delete mode 100644 resources/themes/velocity/views/home/featured-products.blade.php delete mode 100644 resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php delete mode 100644 resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php delete mode 100644 resources/themes/velocity/views/home/hot-categories.blade.php delete mode 100644 resources/themes/velocity/views/home/index.blade.php delete mode 100644 resources/themes/velocity/views/home/new-products.blade.php delete mode 100644 resources/themes/velocity/views/home/popular-categories.blade.php delete mode 100644 resources/themes/velocity/views/home/product-policy.blade.php delete mode 100644 resources/themes/velocity/views/home/slider.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/copy-right.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/footer-links.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/footer-logo.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/index.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php delete mode 100644 resources/themes/velocity/views/layouts/footer/top-brands.blade.php delete mode 100644 resources/themes/velocity/views/layouts/header/index.blade.php delete mode 100644 resources/themes/velocity/views/layouts/master.blade.php delete mode 100644 resources/themes/velocity/views/layouts/scripts.blade.php delete mode 100644 resources/themes/velocity/views/layouts/styles.blade.php delete mode 100644 resources/themes/velocity/views/layouts/top-nav/index.blade.php delete mode 100644 resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php delete mode 100644 resources/themes/velocity/views/layouts/top-nav/login-section.blade.php delete mode 100644 resources/themes/velocity/views/products/add-to-cart.blade.php delete mode 100644 resources/themes/velocity/views/products/buy-now.blade.php delete mode 100644 resources/themes/velocity/views/products/index.blade.php delete mode 100644 resources/themes/velocity/views/products/list/card.blade.php delete mode 100644 resources/themes/velocity/views/products/list/layered-navigation.blade.php delete mode 100644 resources/themes/velocity/views/products/list/recently-viewed.blade.php delete mode 100644 resources/themes/velocity/views/products/list/toolbar.blade.php delete mode 100644 resources/themes/velocity/views/products/price.blade.php delete mode 100644 resources/themes/velocity/views/products/reviews/create.blade.php delete mode 100644 resources/themes/velocity/views/products/reviews/index.blade.php delete mode 100644 resources/themes/velocity/views/products/view.blade.php delete mode 100644 resources/themes/velocity/views/products/view/attributes.blade.php delete mode 100644 resources/themes/velocity/views/products/view/bundle-options.blade.php delete mode 100644 resources/themes/velocity/views/products/view/configurable-options.blade.php delete mode 100644 resources/themes/velocity/views/products/view/cross-sells.blade.php delete mode 100644 resources/themes/velocity/views/products/view/description.blade.php delete mode 100644 resources/themes/velocity/views/products/view/downloadable.blade.php delete mode 100644 resources/themes/velocity/views/products/view/gallery.blade.php delete mode 100644 resources/themes/velocity/views/products/view/grouped-products.blade.php delete mode 100644 resources/themes/velocity/views/products/view/related-products.blade.php delete mode 100644 resources/themes/velocity/views/products/view/reviews.blade.php delete mode 100644 resources/themes/velocity/views/products/view/small-view.blade.php delete mode 100644 resources/themes/velocity/views/products/view/stock.blade.php delete mode 100644 resources/themes/velocity/views/products/view/up-sells.blade.php delete mode 100644 resources/themes/velocity/views/products/wishlist.blade.php delete mode 100644 resources/themes/velocity/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 6d7ebafb6..000000000 --- a/resources/themes/shop/views/checkout/cart/index.blade.php +++ /dev/null @@ -1,272 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.cart.title') }} -@stop - -@section('content-wrapper') -
- @if ($cart) -
- {{ __('shop::app.checkout.cart.title') }} -
- -
-
-
- -
- @csrf - @foreach ($cart->items as $key => $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - - if (is_null ($item->product->url_key)) { - if (! is_null($item->product->parent)) { - $url_key = $item->product->parent->url_key; - } - } else { - $url_key = $item->product->url_key; - } - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.name.before', ['item' => $item]) !!} - - - - {!! view_render_event('bagisto.shop.checkout.cart.item.name.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.item.price.before', ['item' => $item]) !!} - -
- {{ core()->currency($item->base_price) }} -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.price.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.item.options.before', ['item' => $item]) !!} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif - - {!! view_render_event('bagisto.shop.checkout.cart.item.options.after', ['item' => $item]) !!} - - - {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.before', ['item' => $item]) !!} - -
- @if ($item->product->getTypeInstance()->showQuantityBox() === true) - - - @endif - - - {{ __('shop::app.checkout.cart.remove-link') }} - - @auth('customer') - @php - $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; - @endphp - - @if ($showWishlist) - - @if ($item->parent_id != 'null' ||$item->parent_id != null) - {{ __('shop::app.checkout.cart.move-to-wishlist') }} - @else - {{ __('shop::app.checkout.cart.move-to-wishlist') }} - @endif - - @endif - @endauth -
- - {!! view_render_event('bagisto.shop.checkout.cart.item.quantity.after', ['item' => $item]) !!} - - @if (! cart()->isItemHaveQuantity($item)) -
- * {{ __('shop::app.checkout.cart.quantity-error') }} -
- @endif -
- -
- @endforeach -
- - {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} - -
- {{ __('shop::app.checkout.cart.continue-shopping') }} - -
- @if ($cart->hasProductsWithQuantityBox()) - - @endif - - @if (! cart()->hasError()) - @php - $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; - @endphp - - - - @endif -
-
- - {!! view_render_event('bagisto.shop.checkout.cart.controls.after', ['cart' => $cart]) !!} -
-
- -
- {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!} - - @include('shop::checkout.total.summary', ['cart' => $cart]) - - - - {!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!} -
-
- - @include ('shop::products.view.cross-sells') - - @else - -
- {{ __('shop::app.checkout.cart.title') }} -
- -
-

- {{ __('shop::app.checkout.cart.empty') }} -

- -

- {{ __('shop::app.checkout.cart.continue-shopping') }} -

-
- - @endif -
- -@endsection - -@push('scripts') - @include('shop::checkout.cart.coupon') - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php b/resources/themes/shop/views/checkout/cart/mini-cart.blade.php deleted file mode 100644 index 363278219..000000000 --- a/resources/themes/shop/views/checkout/cart/mini-cart.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -getCart(); ?> - -@if ($cart) - items; ?> - - - - - -@else - - -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage.blade.php b/resources/themes/shop/views/checkout/onepage.blade.php deleted file mode 100644 index 117026353..000000000 --- a/resources/themes/shop/views/checkout/onepage.blade.php +++ /dev/null @@ -1,615 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.onepage.title') }} -@stop - -@section('content-wrapper') - -@endsection - -@push('scripts') - @include('shop::checkout.cart.coupon') - - - - - -@endpush diff --git a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php deleted file mode 100644 index 4ad841c6e..000000000 --- a/resources/themes/shop/views/checkout/onepage/customer-checkout.blade.php +++ /dev/null @@ -1,23 +0,0 @@ -
-
- - - -
- -
- - - -
-
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/customer-info.blade.php b/resources/themes/shop/views/checkout/onepage/customer-info.blade.php deleted file mode 100644 index 40fbcba67..000000000 --- a/resources/themes/shop/views/checkout/onepage/customer-info.blade.php +++ /dev/null @@ -1,475 +0,0 @@ -
- -
-
- {{ __('shop::app.checkout.onepage.billing-address') }} - - - {{ __('shop::app.checkout.onepage.new-address') }} - -
-
-
-
- - -
    -
  • - @{{ addresses.company_name }} -
  • - -
  • - @{{ allAddress.first_name }} @{{ allAddress.last_name }}, -
  • - -
  • - @{{ addresses.address1 }}, -
  • - -
  • - @{{ addresses.city }}, -
  • - -
  • - @{{ addresses.state }}, -
  • - -
  • - @{{ addresses.country }} @{{ addresses.postcode }} -
  • - -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
-
-
- - @{{ errors.first('address-form.billing[address_id]') }} - -
-
- - @if ($cart->haveStockableItems()) -
- - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - -
- @endif -
- -
- -
-

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

- - @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth -
- -
- - - - - - @{{ errors.first('address-form.billing[email]') }} - -
- - {{-- for customer login checkout --}} - @if (! auth()->guard('customer')->check()) - @include('shop::checkout.onepage.customer-checkout') - @endif - -
- - - - - - @{{ errors.first('address-form.billing[company_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[address1][]') }} - -
- - @if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1) -
- @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) - - @endfor -
- @endif - -
- - - - - - @{{ errors.first('address-form.billing[city]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[country]') }} - -
- -
- - - - - - - - @{{ errors.first('address-form.billing[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[phone]') }} - -
- - @if ($cart->haveStockableItems()) -
- - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - -
- @endif - - @auth('customer') -
- - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - -
- @endauth - -
- - @if ($cart->haveStockableItems()) -
-
- {{ __('shop::app.checkout.onepage.shipping-address') }} - - - {{ __('shop::app.checkout.onepage.new-address') }} - -
- -
-
-
- - -
    -
  • - @{{ addresses.company_name }} -
  • - -
  • - @{{ addresses.first_name }} @{{ addresses.last_name }}, -
  • - -
  • - @{{ addresses.address1 }}, -
  • - -
  • - @{{ addresses.city }}, -
  • - -
  • - @{{ addresses.state }}, -
  • - -
  • - @{{ addresses.country }} @{{ addresses.postcode }} -
  • - -
  • - {{ __('shop::app.customer.account.address.index.contact') }} : @{{ addresses.phone }} -
  • -
-
-
- -
- - @{{ errors.first('address-form.shipping[address_id]') }} - -
- -
-
- -
- -
-

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

- @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth -
- -
- - - - - - @{{ errors.first('address-form.shipping[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[email]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[address1][]') }} - -
- - @if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1) -
- @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) - - @endfor -
- @endif - -
- - - - - - @{{ errors.first('address-form.shipping[city]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[country]') }} - -
- -
- - - - - - - - - @{{ errors.first('address-form.shipping[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[phone]') }} - -
- - @auth('customer') -
- - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - -
- @endauth - -
- @endif - -
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/payment.blade.php b/resources/themes/shop/views/checkout/onepage/payment.blade.php deleted file mode 100644 index 487d31c7e..000000000 --- a/resources/themes/shop/views/checkout/onepage/payment.blade.php +++ /dev/null @@ -1,51 +0,0 @@ -
-
-
- {{ __('shop::app.checkout.onepage.payment-methods') }} -
- -
- -
- - @foreach ($paymentMethods as $payment) - - {!! view_render_event('bagisto.shop.checkout.payment-method.before', ['payment' => $payment]) !!} - -
-
- - - {{ $payment['method_title'] }} - -
- -
- {{ __($payment['description']) }} -
- - - - @if (! empty($additionalDetails)) -
- -

{{ $additionalDetails['value'] }}

-
- @endif -
- - {!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!} - - @endforeach - - - @{{ errors.first('payment-form.payment[method]') }} - - -
-
-
-
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/review.blade.php b/resources/themes/shop/views/checkout/onepage/review.blade.php deleted file mode 100644 index 43950ef85..000000000 --- a/resources/themes/shop/views/checkout/onepage/review.blade.php +++ /dev/null @@ -1,168 +0,0 @@ -
-
- {{ __('shop::app.checkout.onepage.summary') }} -
- -
- @if ($billingAddress = $cart->billing_address) -
-
- {{ __('shop::app.checkout.onepage.billing-address') }} -
- -
-
    -
  • - {{ $billingAddress->company_name ?? '' }} -
  • -
  • - {{ $billingAddress->first_name }} {{ $billingAddress->last_name }} -
  • -
  • - {{ $billingAddress->address1 }},
    {{ $billingAddress->state }} -
  • -
  • - {{ core()->country_name($billingAddress->country) }} {{ $billingAddress->postcode }} -
  • - - - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $billingAddress->phone }} -
  • -
-
-
- @endif - - @if ($cart->haveStockableItems() && $shippingAddress = $cart->shipping_address) -
-
- {{ __('shop::app.checkout.onepage.shipping-address') }} -
- -
-
    -
  • - {{ $shippingAddress->company_name ?? '' }} -
  • -
  • - {{ $shippingAddress->first_name }} {{ $shippingAddress->last_name }} -
  • -
  • - {{ $shippingAddress->address1 }},
    {{ $shippingAddress->state }} -
  • -
  • - {{ core()->country_name($shippingAddress->country) }} {{ $shippingAddress->postcode }} -
  • - - - -
  • - {{ __('shop::app.checkout.onepage.contact') }} : {{ $shippingAddress->phone }} -
  • -
-
-
- @endif - -
- -
- @foreach ($cart->items as $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} - -
- {{ $item->product->name }} -
- - {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} - {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} - -
- - {{ __('shop::app.checkout.onepage.price') }} - - - {{ core()->currency($item->base_price) }} - -
- - {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} - {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} - -
- - {{ __('shop::app.checkout.onepage.quantity') }} - - - {{ $item->quantity }} - -
- - {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} - - {!! view_render_event('bagisto.shop.checkout.options.before', ['item' => $item]) !!} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif - - {!! view_render_event('bagisto.shop.checkout.options.after', ['item' => $item]) !!} -
-
- @endforeach -
- -
-
- @if ($cart->haveStockableItems()) -
-
- -
- -
- {{ core()->currency($cart->selected_shipping_rate->base_price) }} - -
- {{ $cart->selected_shipping_rate->method_title }} -
-
-
- @endif - -
-
- -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $cart->payment->method . '.title') }} -
-
- -
- -
- -
-
-
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/onepage/shipping.blade.php b/resources/themes/shop/views/checkout/onepage/shipping.blade.php deleted file mode 100644 index e1a6dbab8..000000000 --- a/resources/themes/shop/views/checkout/onepage/shipping.blade.php +++ /dev/null @@ -1,48 +0,0 @@ -
-
-
- {{ __('shop::app.checkout.onepage.shipping-method') }} -
- -
- -
- - @foreach ($shippingRateGroups as $rateGroup) - {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!} - - - {{ $rateGroup['carrier_title'] }} - - - @foreach ($rateGroup['rates'] as $rate) -
-
- - {{-- --}} - {{ core()->currency($rate->base_price) }} -
- -
-
- {{ $rate->method_title }} - {{ __($rate->method_description) }} -
-
-
- - @endforeach - - {!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!} - - @endforeach - - - @{{ errors.first('shipping-form.shipping_method') }} - -
-
-
-
\ No newline at end of file diff --git a/resources/themes/shop/views/checkout/success.blade.php b/resources/themes/shop/views/checkout/success.blade.php deleted file mode 100644 index c403360ad..000000000 --- a/resources/themes/shop/views/checkout/success.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.success.title') }} -@stop - -@section('content-wrapper') - -
-

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

- -

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

- -

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

- - {{ view_render_event('bagisto.shop.checkout.continue-shopping.before', ['order' => $order]) }} - - - - {{ 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 44e076f7a..000000000 --- a/resources/themes/shop/views/customers/account/profile/edit.blade.php +++ /dev/null @@ -1,132 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.profile.edit-profile.page-title') }} -@endsection - -@section('content-wrapper') - -@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 540a3b88d..000000000 --- a/resources/themes/shop/views/customers/account/reviews/index.blade.php +++ /dev/null @@ -1,80 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.review.index.page-title') }} -@endsection - -@section('content-wrapper') - -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php b/resources/themes/shop/views/customers/account/reviews/reviews.blade.php deleted file mode 100644 index b97c9e3bf..000000000 --- a/resources/themes/shop/views/customers/account/reviews/reviews.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.review.view.page-title') }} -@endsection - -@section('content-wrapper') - -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php deleted file mode 100644 index 092db144d..000000000 --- a/resources/themes/shop/views/customers/account/wishlist/wishlist.blade.php +++ /dev/null @@ -1,92 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.wishlist.page-title') }} -@endsection - -@section('content-wrapper') - -@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 72f74bd86..000000000 --- a/resources/themes/shop/views/customers/signup/index.blade.php +++ /dev/null @@ -1,97 +0,0 @@ -@extends('shop::layouts.master') -@section('page_title') - {{ __('shop::app.customer.signup-form.page-title') }} -@endsection -@section('content-wrapper') - -
- - - - {!! view_render_event('bagisto.shop.customers.signup.before') !!} - -
- - {{ csrf_field() }} - - -
- - {!! view_render_event('bagisto.shop.customers.signup.after') !!} -
-@endsection diff --git a/resources/themes/shop/views/customers/signup/reset-password.blade.php b/resources/themes/shop/views/customers/signup/reset-password.blade.php deleted file mode 100644 index feb0962ad..000000000 --- a/resources/themes/shop/views/customers/signup/reset-password.blade.php +++ /dev/null @@ -1,52 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.reset-password.title') }} -@endsection - -@section('content-wrapper') - -
- - {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} - -
- - {{ csrf_field() }} - - -
- - {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} -
-@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/emails/admin/forget-password.blade.php b/resources/themes/shop/views/emails/admin/forget-password.blade.php deleted file mode 100644 index 4e312d436..000000000 --- a/resources/themes/shop/views/emails/admin/forget-password.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
-

- {{ __('shop::app.mail.forget-password.dear', ['name' => $user_name]) }}, -

- -

- {{ __('shop::app.mail.forget-password.info') }} -

- -

- - {{ __('shop::app.mail.forget-password.reset-password') }} - -

- -

- {{ __('shop::app.mail.forget-password.final-summary') }} -

- -

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

- -
-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/admin/update-password.blade.php b/resources/themes/shop/views/emails/admin/update-password.blade.php deleted file mode 100644 index f1759daed..000000000 --- a/resources/themes/shop/views/emails/admin/update-password.blade.php +++ /dev/null @@ -1,25 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-

- {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }}, -

- -

- {{ __('shop::app.mail.update-password.info') }} -

- -

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

-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/forget-password.blade.php b/resources/themes/shop/views/emails/customer/forget-password.blade.php deleted file mode 100644 index 685346631..000000000 --- a/resources/themes/shop/views/emails/customer/forget-password.blade.php +++ /dev/null @@ -1,34 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
-

- {{ __('shop::app.mail.forget-password.dear', ['name' => $user_name]) }}, -

- -

- {{ __('shop::app.mail.forget-password.info') }} -

- -

- - {{ __('shop::app.mail.forget-password.reset-password') }} - -

- -

- {{ __('shop::app.mail.forget-password.final-summary') }} -

- -

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

- -
-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/new-customer.blade.php b/resources/themes/shop/views/emails/customer/new-customer.blade.php deleted file mode 100644 index 8fcbfd931..000000000 --- a/resources/themes/shop/views/emails/customer/new-customer.blade.php +++ /dev/null @@ -1,30 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {{ __('shop::app.mail.customer.new.dear', ['customer_name' => $customer['name']]) }}, - -
- -
- {!! __('shop::app.mail.customer.new.summary') !!} - -
- -
- {!! __('shop::app.mail.customer.new.username-email') !!} - {{ $customer['email'] }}
- {!! __('shop::app.mail.customer.new.password') !!} - {{ $password}} -
- -

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

-
- -@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/registration.blade.php b/resources/themes/shop/views/emails/customer/registration.blade.php deleted file mode 100644 index 384fd29e7..000000000 --- a/resources/themes/shop/views/emails/customer/registration.blade.php +++ /dev/null @@ -1,32 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- - -
-
-

- {{ __('shop::app.mail.customer.registration.dear', ['customer_name' => $data['first_name']. ' ' .$data['last_name']]) }}, -

- -

- {!! __('shop::app.mail.customer.registration.greeting') !!} -

-
- -
- {{ __('shop::app.mail.customer.registration.summary') }} -
- -

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

-
-
- -@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/subscription-email.blade.php b/resources/themes/shop/views/emails/customer/subscription-email.blade.php deleted file mode 100644 index b7be2a8d2..000000000 --- a/resources/themes/shop/views/emails/customer/subscription-email.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {!! __('shop::app.mail.customer.subscription.greeting') !!} -
- -
- {!! __('shop::app.mail.customer.subscription.summary') !!} -
- -
- - {!! __('shop::app.mail.customer.subscription.unsubscribe') !!} - -
-
- -@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/update-password.blade.php b/resources/themes/shop/views/emails/customer/update-password.blade.php deleted file mode 100644 index 4d616875f..000000000 --- a/resources/themes/shop/views/emails/customer/update-password.blade.php +++ /dev/null @@ -1,21 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-

- {{ __('shop::app.mail.update-password.dear', ['name' => $user->name]) }}, -

- -

- {{ __('shop::app.mail.update-password.info') }} -

- -

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

-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/customer/verification-email.blade.php b/resources/themes/shop/views/emails/customer/verification-email.blade.php deleted file mode 100644 index fda82f400..000000000 --- a/resources/themes/shop/views/emails/customer/verification-email.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@component('shop::emails.layouts.master') - -
-
- - @include ('shop::emails.layouts.logo') - -
- -
- {!! __('shop::app.mail.customer.verification.heading') !!} -
- -
- {!! __('shop::app.mail.customer.verification.summary') !!} -
- -
- - {!! __('shop::app.mail.customer.verification.verify') !!} - -
-
- -@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/layouts/logo.blade.php b/resources/themes/shop/views/emails/layouts/logo.blade.php deleted file mode 100644 index 2d435e7ab..000000000 --- a/resources/themes/shop/views/emails/layouts/logo.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@if ($logo = core()->getCurrentChannel()->logo_url) - {{ config('app.name') }} -@else - {{ config('app.name') }} -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/emails/layouts/master.blade.php b/resources/themes/shop/views/emails/layouts/master.blade.php deleted file mode 100644 index 9451f8cf1..000000000 --- a/resources/themes/shop/views/emails/layouts/master.blade.php +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - -
-
- {{ $header ?? '' }} -
- -
- {{ $slot }} - - {{ $subcopy ?? '' }} -
-
- - diff --git a/resources/themes/shop/views/emails/sales/new-admin-order.blade.php b/resources/themes/shop/views/emails/sales/new-admin-order.blade.php deleted file mode 100644 index 6009ab0d8..000000000 --- a/resources/themes/shop/views/emails/sales/new-admin-order.blade.php +++ /dev/null @@ -1,221 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
- - {{ __('shop::app.mail.order.heading') }} -
- -

- {{ __('shop::app.mail.order.dear-admin', ['admin_name' => config('mail.from.name')]) }}, -

- -

- {!! __('shop::app.mail.order.greeting-admin', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.order.summary') }} -
- -
-
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
- - @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp - - @if (! empty($additionalDetails)) -
-
{{ $additionalDetails['title'] }}
-
{{ $additionalDetails['value'] }}
-
- @endif -
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $item->getTypeInstance()->getOrderedItem($item)->sku }} - - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
- {{ core()->formatPrice($item->price, $order->order_currency_code) }} - - {{ $item->qty_ordered }} -
-
-
- -
-
- {{ __('shop::app.mail.order.subtotal') }} - - {{ core()->formatBasePrice($order->base_sub_total) }} - -
- -
- {{ __('shop::app.mail.order.shipping-handling') }} - - {{ core()->formatBasePrice($order->base_shipping_amount) }} - -
- - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, true) as $taxRate => $baseTaxAmount ) -
- {{ __('shop::app.mail.order.tax') }} {{ $taxRate }} % - - {{ core()->formatBasePrice($baseTaxAmount) }} - -
- @endforeach - - @if ($order->discount_amount > 0) -
- {{ __('shop::app.mail.order.discount') }} - - {{ core()->formatBasePrice($order->base_discount_amount) }} - -
- @endif - -
- {{ __('shop::app.mail.order.grand-total') }} - - {{ core()->formatBasePrice($order->base_grand_total) }} - -
-
- -
-

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php b/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php deleted file mode 100644 index 487d297ca..000000000 --- a/resources/themes/shop/views/emails/sales/new-inventorysource-shipment.blade.php +++ /dev/null @@ -1,172 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- - order; ?> - inventory_source; ?> - -
-
- - {{ __('shop::app.mail.shipment.inventory-heading', ['order_id' => $order->increment_id, 'shipment_id' => $shipment->id]) }} -
- -

- {{ __('shop::app.mail.order.dear', ['customer_name' => $inventory->name]) }}, -

- -

- {!! __('shop::app.mail.shipment.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- - - -
-
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
-
- {{ $order->shipping_title }} -
- -
- {{ __('shop::app.mail.shipment.carrier') }} : {{ $shipment->carrier_title }} -
- -
- {{ __('shop::app.mail.shipment.tracking-number') }} : {{ $shipment->track_number }} -
-
-
- -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->sku }} - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
{{ core()->formatPrice($item->price, $order->order_currency_code) }}{{ $item->qty }}
-
-
- - {{--
-

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

-
--}} -
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/sales/new-invoice.blade.php b/resources/themes/shop/views/emails/sales/new-invoice.blade.php deleted file mode 100644 index 6a1b71ce5..000000000 --- a/resources/themes/shop/views/emails/sales/new-invoice.blade.php +++ /dev/null @@ -1,211 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - order; ?> - -
-
- - {{ __('shop::app.mail.invoice.heading', ['order_id' => $order->increment_id, 'invoice_id' => $invoice->id]) }} -
- -

- {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }}, -

- -

- {!! __('shop::app.mail.order.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.invoice.summary') }} -
- -
- @if ($order->shipping_address) -
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- @endif - -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - @foreach ($invoice->items as $item) - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} - : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
{{ core()->formatPrice($item->price, $order->order_currency_code) }} - {{ $item->qty }}
-
-
- -
-
- {{ __('shop::app.mail.order.subtotal') }} - - {{ core()->formatPrice($invoice->sub_total, $invoice->order_currency_code) }} - -
- - @if ($order->shipping_address) -
- {{ __('shop::app.mail.order.shipping-handling') }} - - {{ core()->formatPrice($invoice->shipping_amount, $invoice->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.tax') }} - - {{ core()->formatPrice($invoice->tax_amount, $order->order_currency_code) }} - -
- - @if ($invoice->discount_amount > 0) -
- {{ __('shop::app.mail.order.discount') }} - - {{ core()->formatPrice($invoice->discount_amount, $invoice->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.grand-total') }} - - {{ core()->formatPrice($invoice->grand_total, $invoice->order_currency_code) }} - -
-
- -
-

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/emails/sales/new-order-comment.blade.php b/resources/themes/shop/views/emails/sales/new-order-comment.blade.php deleted file mode 100644 index 0d8c19672..000000000 --- a/resources/themes/shop/views/emails/sales/new-order-comment.blade.php +++ /dev/null @@ -1,35 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
-

- {{ __('shop::app.mail.order.comment.dear', ['customer_name' => $comment->order->customer_full_name]) }}, -

-
- -
-

- {{ $comment->comment }} -

-
- -
-

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/emails/sales/new-order.blade.php b/resources/themes/shop/views/emails/sales/new-order.blade.php deleted file mode 100644 index 2db328e2b..000000000 --- a/resources/themes/shop/views/emails/sales/new-order.blade.php +++ /dev/null @@ -1,220 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
- - {{ __('shop::app.mail.order.heading') }} -
- -

- {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }}, -

- -

- {!! __('shop::app.mail.order.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.order.summary') }} -
- -
- @if ($order->shipping_address) -
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- @endif - -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
- - @php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp - - @if (! empty($additionalDetails)) -
-
{{ $additionalDetails['title'] }}
-
{{ $additionalDetails['value'] }}
-
- @endif -
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->getTypeInstance()->getOrderedItem($item)->sku }} - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
{{ core()->formatPrice($item->price, $order->order_currency_code) }} - {{ $item->qty_ordered }}
-
-
- -
-
- {{ __('shop::app.mail.order.subtotal') }} - - {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }} - -
- - @if ($order->shipping_address) -
- {{ __('shop::app.mail.order.shipping-handling') }} - - {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }} - -
- @endif - - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount ) -
- {{ __('shop::app.mail.order.tax') }} {{ $taxRate }} % - - {{ core()->formatPrice($taxAmount, $order->order_currency_code) }} - -
- @endforeach - - @if ($order->discount_amount > 0) -
- {{ __('shop::app.mail.order.discount') }} - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.grand-total') }} - - {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }} - -
-
- -
-

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

- -

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/emails/sales/new-refund.blade.php b/resources/themes/shop/views/emails/sales/new-refund.blade.php deleted file mode 100644 index 993108341..000000000 --- a/resources/themes/shop/views/emails/sales/new-refund.blade.php +++ /dev/null @@ -1,230 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - order; ?> - -
-
- - {{ __('shop::app.mail.refund.heading', ['order_id' => $order->increment_id, 'refund_id' => $refund->id]) }} -
- -

- {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }}, -

- -

- {!! __('shop::app.mail.order.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.refund.summary') }} -
- -
- @if ($order->shipping_address) -
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- @endif - -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - @foreach ($refund->items as $item) - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
- {{ core()->formatPrice($item->price, $order->order_currency_code) }} - - {{ $item->qty }} -
-
-
- -
-
- {{ __('shop::app.mail.order.subtotal') }} - - {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code) }} - -
- - @if ($order->shipping_address) -
- {{ __('shop::app.mail.order.shipping-handling') }} - - {{ core()->formatPrice($refund->shipping_amount, $refund->order_currency_code) }} - -
- @endif - - @if ($refund->tax_amount > 0) - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($refund, false) as $taxRate => $taxAmount) -
- {{ __('shop::app.mail.order.tax') }} - - {{ core()->formatPrice($refund->tax_amount, $refund->order_currency_code) }} - -
- @endforeach - @endif - - @if ($refund->discount_amount > 0) -
- {{ __('shop::app.mail.order.discount') }} - - {{ core()->formatPrice($refund->discount_amount, $refund->order_currency_code) }} - -
- @endif - - @if ($refund->adjustment_refund > 0) -
- {{ __('shop::app.mail.refund.adjustment-refund') }} - - {{ core()->formatPrice($refund->adjustment_refund, $refund->order_currency_code) }} - -
- @endif - - @if ($refund->adjustment_fee > 0) -
- {{ __('shop::app.mail.refund.adjustment-fee') }} - - {{ core()->formatPrice($refund->adjustment_fee, $refund->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.grand-total') }} - - {{ core()->formatPrice($refund->grand_total, $refund->order_currency_code) }} - -
-
- -
-

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/emails/sales/new-shipment.blade.php b/resources/themes/shop/views/emails/sales/new-shipment.blade.php deleted file mode 100644 index 10d93391d..000000000 --- a/resources/themes/shop/views/emails/sales/new-shipment.blade.php +++ /dev/null @@ -1,174 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- - order; ?> - -
-
- - {{ __('shop::app.mail.shipment.heading', ['order_id' => $order->increment_id, 'shipment_id' => $shipment->id]) }} -
- -

- {{ __('shop::app.mail.order.dear', ['customer_name' => $order->customer_full_name]) }}, -

- -

- {!! __('shop::app.mail.order.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.shipment.summary') }} -
- -
-
-
- {{ __('shop::app.mail.order.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.shipping') }} -
- -
-
- {{ $order->shipping_title }} -
- -
- {{ __('shop::app.mail.shipment.carrier') }} : {{ $shipment->carrier_title }} -
- -
- {{ __('shop::app.mail.shipment.tracking-number') }} : {{ $shipment->track_number }} -
-
-
- -
-
- {{ __('shop::app.mail.order.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($shipment->items as $item) - - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->sku }} - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
{{ core()->formatPrice($item->price, $order->order_currency_code) }}{{ $item->qty }}
-
-
- -
-

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

- -

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

-
-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php b/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php deleted file mode 100644 index b768036de..000000000 --- a/resources/themes/shop/views/emails/sales/order-cancel-admin.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @if (core()->getConfigData('general.design.admin_logo.logo_image')) - {{ config('app.name') }} - @else - {{ config('app.name') }} - @endif - -
- -
-
- - {{ __('shop::app.mail.order.cancel.heading') }} -
- -

- {{ __('shop::app.mail.order.cancel.dear', ['customer_name' => config('mail.from.name')]) }}, -

- -

- {!! __('shop::app.mail.order.cancel.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.order.cancel.summary') }} -
- -
-
-
- {{ __('shop::app.mail.order.cancel.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.cancel.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- -
-
- {{ __('shop::app.mail.order.cancel.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.cancel.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $item->child ? $item->child->sku : $item->sku }} - - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
- {{ core()->formatPrice($item->price, $order->order_currency_code) }} - - {{ $item->qty_canceled }} -
-
-
- -
-
- {{ __('shop::app.mail.order.cancel.subtotal') }} - - {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }} - -
- -
- {{ __('shop::app.mail.order.cancel.shipping-handling') }} - - {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }} - -
- - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount ) -
- {{ __('shop::app.mail.order.cancel.tax') }} {{ $taxRate }} % - - {{ core()->formatPrice($taxAmount, $order->order_currency_code) }} - -
- @endforeach - - @if ($order->discount_amount > 0) -
- {{ __('shop::app.mail.order.cancel.discount') }} - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.cancel.grand-total') }} - - {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }} - -
-
- -
-

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

- -

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

-
-
-@endcomponent \ No newline at end of file diff --git a/resources/themes/shop/views/emails/sales/order-cancel.blade.php b/resources/themes/shop/views/emails/sales/order-cancel.blade.php deleted file mode 100644 index 494c2747c..000000000 --- a/resources/themes/shop/views/emails/sales/order-cancel.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@component('shop::emails.layouts.master') -
- - @include ('shop::emails.layouts.logo') - -
- -
-
- - {{ __('shop::app.mail.order.cancel.heading') }} -
- -

- {{ __('shop::app.mail.order.cancel.dear', ['customer_name' => $order->customer_full_name]) }}, -

- -

- {!! __('shop::app.mail.order.cancel.greeting', [ - 'order_id' => '#' . $order->increment_id . '', - 'created_at' => $order->created_at - ]) - !!} -

-
- -
- {{ __('shop::app.mail.order.cancel.summary') }} -
- -
-
-
- {{ __('shop::app.mail.order.cancel.shipping-address') }} -
- -
- {{ $order->shipping_address->company_name ?? '' }} -
- -
- {{ $order->shipping_address->name }} -
- -
- {{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }} -
- -
- {{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->shipping_address->phone }} -
- -
- {{ __('shop::app.mail.order.cancel.shipping') }} -
- -
- {{ $order->shipping_title }} -
-
- -
-
- {{ __('shop::app.mail.order.cancel.billing-address') }} -
- -
- {{ $order->billing_address->company_name ?? '' }} -
- -
- {{ $order->billing_address->name }} -
- -
- {{ $order->billing_address->address1 }}, {{ $order->billing_address->state }} -
- -
- {{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }} -
- -
---
- -
- {{ __('shop::app.mail.order.cancel.contact') }} : {{ $order->billing_address->phone }} -
- -
- {{ __('shop::app.mail.order.cancel.payment') }} -
- -
- {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }} -
-
-
- -
-
- - - - - - - - - - - - @foreach ($order->items as $item) - - - - - - - - - - @endforeach - -
{{ __('shop::app.customer.account.order.view.SKU') }}{{ __('shop::app.customer.account.order.view.product-name') }}{{ __('shop::app.customer.account.order.view.price') }}{{ __('shop::app.customer.account.order.view.qty') }}
- {{ $item->child ? $item->child->sku : $item->sku }} - - {{ $item->name }} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif -
- {{ core()->formatPrice($item->price, $order->order_currency_code) }} - - {{ $item->qty_canceled }} -
-
-
- -
-
- {{ __('shop::app.mail.order.cancel.subtotal') }} - - {{ core()->formatPrice($order->sub_total, $order->order_currency_code) }} - -
- -
- {{ __('shop::app.mail.order.cancel.shipping-handling') }} - - {{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }} - -
- - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount ) -
- {{ __('shop::app.mail.order.cancel.tax') }} {{ $taxRate }} % - - {{ core()->formatPrice($taxAmount, $order->order_currency_code) }} - -
- @endforeach - - @if ($order->discount_amount > 0) -
- {{ __('shop::app.mail.order.cancel.discount') }} - - {{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }} - -
- @endif - -
- {{ __('shop::app.mail.order.cancel.grand-total') }} - - {{ core()->formatPrice($order->grand_total, $order->order_currency_code) }} - -
-
- -
-

- {{ __('shop::app.mail.order.cancel.final-summary') }} -

- -

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

- -

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

-
-
-@endcomponent diff --git a/resources/themes/shop/views/error.blade.php b/resources/themes/shop/views/error.blade.php deleted file mode 100644 index d78938fdb..000000000 --- a/resources/themes/shop/views/error.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -@extends('shop::layouts.master') -@section('content-wrapper') -
-
-
-
404
-
Page Not Found
-
- GO TO HOME - {{-- pass the content dynamically --}} - Show the exception here or error message here. -
- -
-
-
-
-@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/401.blade.php b/resources/themes/shop/views/errors/401.blade.php deleted file mode 100644 index f12e056c3..000000000 --- a/resources/themes/shop/views/errors/401.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.401.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
{{ __('admin::app.error.401.name') }}
- -
- {{ __('admin::app.error.401.title') }} -
- -
- {{ __('admin::app.error.401.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/403.blade.php b/resources/themes/shop/views/errors/403.blade.php deleted file mode 100644 index 6d61554d5..000000000 --- a/resources/themes/shop/views/errors/403.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.403.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
{{ __('admin::app.error.403.name') }}
- -
- {{ __('admin::app.error.403.title') }} -
- -
- {{ __('admin::app.error.403.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/404.blade.php b/resources/themes/shop/views/errors/404.blade.php deleted file mode 100644 index 6f34dee9c..000000000 --- a/resources/themes/shop/views/errors/404.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.404.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
- {{ __('admin::app.error.404.name') }} -
- -
- {{ __('admin::app.error.404.title') }} -
- -
- {{ __('admin::app.error.404.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/500.blade.php b/resources/themes/shop/views/errors/500.blade.php deleted file mode 100644 index 2ae0f5a41..000000000 --- a/resources/themes/shop/views/errors/500.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.500.page-title') }} -@stop - -@section('content-wrapper') - -
- -
- -
- -
- {{ __('admin::app.error.500.name') }} -
- -
- {{ __('admin::app.error.500.title') }} -
- -
- {{ __('admin::app.error.500.message') }} -
- - - {{ __('admin::app.error.go-to-home') }} - - -
- -
- -
- -
- -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/errors/503.blade.php b/resources/themes/shop/views/errors/503.blade.php deleted file mode 100644 index 40d93e596..000000000 --- a/resources/themes/shop/views/errors/503.blade.php +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - Document - - -
- -
- -
- -
- {{ __('admin::app.error.in-maitainace') }} -
- -
- {{ core()->getCurrentChannel()->maintenance_mode_text ?: __('admin::app.error.right-back') }} -
-
- -
- -
- -
- - \ No newline at end of file diff --git a/resources/themes/shop/views/guest/compare/compare-products.blade.php b/resources/themes/shop/views/guest/compare/compare-products.blade.php deleted file mode 100644 index 85fe7368a..000000000 --- a/resources/themes/shop/views/guest/compare/compare-products.blade.php +++ /dev/null @@ -1,342 +0,0 @@ -@php - $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository'); - $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily(); - - $locale = request()->get('locale') ?: app()->getLocale(); - - $attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson(); -@endphp - -@push('scripts') - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/guest/compare/index.blade.php b/resources/themes/shop/views/guest/compare/index.blade.php deleted file mode 100644 index 08cd183db..000000000 --- a/resources/themes/shop/views/guest/compare/index.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@extends('shop::layouts.master') - -@include('shop::guest.compare.compare-products') - -@section('page_title') - {{ __('shop::app.customer.compare.compare_similar_items') }} -@endsection - -@section('content-wrapper') - -@endsection \ No newline at end of file diff --git a/resources/themes/shop/views/guest/wishlist/index.blade.php b/resources/themes/shop/views/guest/wishlist/index.blade.php deleted file mode 100644 index be3b6a35b..000000000 --- a/resources/themes/shop/views/guest/wishlist/index.blade.php +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/resources/themes/shop/views/home/featured-products.blade.php b/resources/themes/shop/views/home/featured-products.blade.php deleted file mode 100644 index 654a02043..000000000 --- a/resources/themes/shop/views/home/featured-products.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@if (count(app('Webkul\Product\Repositories\ProductRepository')->getFeaturedProducts())) - -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/home/index.blade.php b/resources/themes/shop/views/home/index.blade.php deleted file mode 100644 index b3021bcf3..000000000 --- a/resources/themes/shop/views/home/index.blade.php +++ /dev/null @@ -1,53 +0,0 @@ -@extends('shop::layouts.master') - -@php - $channel = core()->getCurrentChannel(); - - $homeSEO = $channel->home_seo; - - if (isset($homeSEO)) { - $homeSEO = json_decode($channel->home_seo); - - $metaTitle = $homeSEO->meta_title; - - $metaDescription = $homeSEO->meta_description; - - $metaKeywords = $homeSEO->meta_keywords; - } -@endphp - -@section('page_title') - {{ isset($metaTitle) ? $metaTitle : "" }} -@endsection - -@section('head') - - @if (isset($homeSEO)) - @isset($metaTitle) - - @endisset - - @isset($metaDescription) - - @endisset - - @isset($metaKeywords) - - @endisset - @endif -@endsection - -@section('content-wrapper') - {!! view_render_event('bagisto.shop.home.content.before') !!} - - @if (! is_null($channel->home_page_content)) - {!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!} - @else - @include('shop::home.slider', ['sliderData' => $sliderData]) - @include('shop::home.featured-products') - @include('shop::home.new-products') - @endif - - {{ view_render_event('bagisto.shop.home.content.after') }} - -@endsection diff --git a/resources/themes/shop/views/home/new-products.blade.php b/resources/themes/shop/views/home/new-products.blade.php deleted file mode 100644 index 5a31b168c..000000000 --- a/resources/themes/shop/views/home/new-products.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@if (count(app('Webkul\Product\Repositories\ProductRepository')->getNewProducts())) - -@endif diff --git a/resources/themes/shop/views/home/news-updates.blade.php b/resources/themes/shop/views/home/news-updates.blade.php deleted file mode 100644 index 4cb478208..000000000 --- a/resources/themes/shop/views/home/news-updates.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -
-
-
- -
-
-
- -
-
- -
-
-
-
diff --git a/resources/themes/shop/views/home/slider.blade.php b/resources/themes/shop/views/home/slider.blade.php deleted file mode 100644 index 40af4726f..000000000 --- a/resources/themes/shop/views/home/slider.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -@if (count($sliderData)) -
- -
-@endif \ No newline at end of file diff --git a/resources/themes/shop/views/index.blade.php b/resources/themes/shop/views/index.blade.php deleted file mode 100644 index 5d0687bbe..000000000 --- a/resources/themes/shop/views/index.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@inject('rateHelper' , 'Webkul\Shipping\Helper\Rate') -
- @foreach ($rateHelper->collectRates() as $key=>$count) -
- ${{ core()->currency($count) }} {{ $key }} -
- @endforeach -
- \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/footer/footer.blade.php b/resources/themes/shop/views/layouts/footer/footer.blade.php deleted file mode 100644 index 493d12e3f..000000000 --- a/resources/themes/shop/views/layouts/footer/footer.blade.php +++ /dev/null @@ -1,91 +0,0 @@ - diff --git a/resources/themes/shop/views/layouts/header/index.blade.php b/resources/themes/shop/views/layouts/header/index.blade.php deleted file mode 100644 index 333b2899e..000000000 --- a/resources/themes/shop/views/layouts/header/index.blade.php +++ /dev/null @@ -1,415 +0,0 @@ -input('term'); - $image_search = request()->input('image-search'); - - if (! is_null($term)) { - $serachQuery = 'term='.request()->input('term'); - } -?> - - - -@push('scripts') - - - - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php b/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php deleted file mode 100644 index 0e9e3085a..000000000 --- a/resources/themes/shop/views/layouts/header/nav-menu/navmenu.blade.php +++ /dev/null @@ -1,138 +0,0 @@ -{!! view_render_event('bagisto.shop.layout.header.category.before') !!} - -getVisibleCategoryTree(core()->getCurrentChannel()->root_category_id) as $category) { - if ($category->slug) { - array_push($categories, $category); - } -} - -?> - - - -{!! view_render_event('bagisto.shop.layout.header.category.after') !!} - - -@push('scripts') - - - - - - - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/layouts/master.blade.php b/resources/themes/shop/views/layouts/master.blade.php deleted file mode 100644 index 83f6c798b..000000000 --- a/resources/themes/shop/views/layouts/master.blade.php +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - @yield('page_title') - - - - - - - - - - - @if ($favicon = core()->getCurrentChannel()->favicon_url) - - @else - - @endif - - @yield('head') - - @section('seo') - @if (! request()->is('/')) - - @endif - @show - - @stack('css') - - {!! view_render_event('bagisto.shop.layout.head') !!} - - - - - - -getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif style="scroll-behavior: smooth;"> - - {!! view_render_event('bagisto.shop.layout.body.before') !!} - -
- - -
- - {!! view_render_event('bagisto.shop.layout.header.before') !!} - - @include('shop::layouts.header.index') - - {!! view_render_event('bagisto.shop.layout.header.after') !!} - - @yield('slider') - -
- - {!! view_render_event('bagisto.shop.layout.content.before') !!} - - @yield('content-wrapper') - - {!! view_render_event('bagisto.shop.layout.content.after') !!} - -
- -
- - {!! view_render_event('bagisto.shop.layout.footer.before') !!} - - @include('shop::layouts.footer.footer') - - {!! view_render_event('bagisto.shop.layout.footer.after') !!} - - @if (core()->getConfigData('general.content.footer.footer_toggle')) - - @endif - - -
- - - - - - - @stack('scripts') - - {!! view_render_event('bagisto.shop.layout.body.after') !!} - - - - - - - - \ No newline at end of file diff --git a/resources/themes/shop/views/partials/pagination.blade.php b/resources/themes/shop/views/partials/pagination.blade.php deleted file mode 100644 index 7350ddb24..000000000 --- a/resources/themes/shop/views/partials/pagination.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@if ($paginator->hasPages()) - -@endif diff --git a/resources/themes/shop/views/products/add-buttons.blade.php b/resources/themes/shop/views/products/add-buttons.blade.php deleted file mode 100644 index 2c4bcfa76..000000000 --- a/resources/themes/shop/views/products/add-buttons.blade.php +++ /dev/null @@ -1,26 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -@php - $showCompare = core()->getConfigData('general.content.shop.compare_option') == "1" ? true : false; - - $showWishlist = core()->getConfigData('general.content.shop.wishlist_option') == "1" ? true : false; -@endphp - -
-
- @csrf - - - -
- - @if ($showWishlist) - @include('shop::products.wishlist') - @endif - - @if ($showCompare) - @include('shop::products.compare', [ - 'productId' => $product->id - ]) - @endif -
\ No newline at end of file diff --git a/resources/themes/shop/views/products/add-to-cart.blade.php b/resources/themes/shop/views/products/add-to-cart.blade.php deleted file mode 100644 index 6887730ee..000000000 --- a/resources/themes/shop/views/products/add-to-cart.blade.php +++ /dev/null @@ -1,12 +0,0 @@ -{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!} - -@php - $width = (core()->getConfigData('catalog.products.storefront.buy_now_button_display') == 1) ? '49' : '95'; -@endphp - - - -{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/add-to.blade.php b/resources/themes/shop/views/products/add-to.blade.php deleted file mode 100644 index 88af2a27d..000000000 --- a/resources/themes/shop/views/products/add-to.blade.php +++ /dev/null @@ -1,9 +0,0 @@ -{!! view_render_event('bagisto.shop.products.add_to.before', ['product' => $product]) !!} - -
- @include ('shop::products.add-to-cart', ['product' => $product]) - - @include('shop::products.wishlist') -
- -{!! view_render_event('bagisto.shop.products.add_to.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/buy-now.blade.php b/resources/themes/shop/views/products/buy-now.blade.php deleted file mode 100644 index 74bba5273..000000000 --- a/resources/themes/shop/views/products/buy-now.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} - - - -{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/compare.blade.php b/resources/themes/shop/views/products/compare.blade.php deleted file mode 100644 index 6e371e981..000000000 --- a/resources/themes/shop/views/products/compare.blade.php +++ /dev/null @@ -1,129 +0,0 @@ - - -@push('scripts') - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/index.blade.php b/resources/themes/shop/views/products/index.blade.php deleted file mode 100644 index cd950fb94..000000000 --- a/resources/themes/shop/views/products/index.blade.php +++ /dev/null @@ -1,135 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }} -@stop - -@section('seo') - meta_description : \Illuminate\Support\Str::limit(strip_tags($category->description), 120, '') }}"/> - - - - @if (core()->getConfigData('catalog.rich_snippets.categories.enable')) - - @endif -@stop - -@section('content-wrapper') - @inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') - -
- {!! view_render_event('bagisto.shop.products.index.before', ['category' => $category]) !!} - -
- - @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) - @include ('shop::products.list.layered-navigation') - @endif - -
display_mode == 'description_only') style="width: 100%" @endif> -
- @if (!is_null($category->image)) - - @endif -
- - @if (in_array($category->display_mode, [null, 'description_only', 'products_and_description'])) - @if ($category->description) -
- {!! $category->description !!} -
- @endif - @endif - - @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) - getAll($category->id); ?> - - @include ('shop::products.list.toolbar') - - @if ($products->count()) - - @inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - - @if ($toolbarHelper->getCurrentMode() == 'grid') -
- @foreach ($products as $productFlat) - - @include ('shop::products.list.card', ['product' => $productFlat]) - - @endforeach -
- @else -
- @foreach ($products as $productFlat) - - @include ('shop::products.list.card', ['product' => $productFlat]) - - @endforeach -
- @endif - - {!! view_render_event('bagisto.shop.products.index.pagination.before', ['category' => $category]) !!} - -
- {{ $products->appends(request()->input())->links() }} -
- - {!! view_render_event('bagisto.shop.products.index.pagination.after', ['category' => $category]) !!} - - @else - -
-

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

- -

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

-
- - @endif - @endif -
-
- - {!! view_render_event('bagisto.shop.products.index.after', ['category' => $category]) !!} -
-@stop - -@push('scripts') - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/list/card.blade.php b/resources/themes/shop/views/products/list/card.blade.php deleted file mode 100644 index 3acde17f7..000000000 --- a/resources/themes/shop/views/products/list/card.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} - -
- - getProductBaseImage($product); ?> - - @if ($product->new) -
- {{ __('shop::app.products.new') }} -
- @endif - -
- - - -
- -
- - - - @include ('shop::products.price', ['product' => $product]) - - @include('shop::products.add-buttons', ['product' => $product]) -
- -
- -{!! view_render_event('bagisto.shop.products.list.card.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/list/layered-navigation.blade.php b/resources/themes/shop/views/products/list/layered-navigation.blade.php deleted file mode 100644 index 96ebd303c..000000000 --- a/resources/themes/shop/views/products/list/layered-navigation.blade.php +++ /dev/null @@ -1,219 +0,0 @@ -@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository') - -@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository') - -@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') - -getProductsRelatedFilterableAttributes($category); - - $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)); - } - - if (! count($filterAttributes) > 0) { - $filterAttributes = $attributeRepository->getFilterAttributes(); - } -?> - -
- - {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!} - - - - {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!} - -
- -@push('scripts') - - - - - -@endpush diff --git a/resources/themes/shop/views/products/list/toolbar.blade.php b/resources/themes/shop/views/products/list/toolbar.blade.php deleted file mode 100644 index 44042ae84..000000000 --- a/resources/themes/shop/views/products/list/toolbar.blade.php +++ /dev/null @@ -1,83 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!} - -
- -
- - {{ __('shop::app.products.pager-info', ['showing' => $products->firstItem() . '-' . $products->lastItem(), 'total' => $products->total()]) }} - - - - - - -
- -
- -
- @if ($toolbarHelper->isModeActive('grid')) - - - - @else - - - - @endif - - @if ($toolbarHelper->isModeActive('list')) - - - - @else - - - - @endif -
- -
- - - -
- -
- - - -
- -
- -
- -{!! view_render_event('bagisto.shop.products.list.toolbar.after') !!} - - -
- -
\ No newline at end of file diff --git a/resources/themes/shop/views/products/price.blade.php b/resources/themes/shop/views/products/price.blade.php deleted file mode 100644 index bed2c056d..000000000 --- a/resources/themes/shop/views/products/price.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!} - -
- {!! $product->getTypeInstance()->getPriceHtml() !!} -
- -{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/review.blade.php b/resources/themes/shop/views/products/review.blade.php deleted file mode 100644 index 5c9491b1f..000000000 --- a/resources/themes/shop/views/products/review.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') - -{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!} - -@if ($total = $reviewHelper->getTotalReviews($product)) -
- - @for ($i = 1; $i <= 5; $i++) - @if($i <= round($reviewHelper->getAverageRating($product))) - - @else - - @endif - @endfor - - -
- {{ - __('shop::app.products.total-rating', [ - 'total_rating' => $reviewHelper->getAverageRating($product), - 'total_reviews' => $total, - ]) - }} -
-
-@endif - -{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!} diff --git a/resources/themes/shop/views/products/reviews/create.blade.php b/resources/themes/shop/views/products/reviews/create.blade.php deleted file mode 100644 index 53f8de210..000000000 --- a/resources/themes/shop/views/products/reviews/create.blade.php +++ /dev/null @@ -1,117 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} -@endsection - -@section('content-wrapper') - -
- -
-
- - getProductBaseImage($product); ?> - -
- - - -
- - - - @include('shop::products.price') - -
- -
-
- @csrf - -
- {{ __('shop::app.reviews.write-review') }} -
- -
- - -
- - - - - -
- - - -
@{{ errors.first('rating') }}
-
- -
- - - @{{ errors.first('title') }} -
- - @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user()) -
- - - @{{ errors.first('name') }} -
- @endif - -
- - - @{{ errors.first('comment') }} -
- - - -
-
-
- -
- -@endsection - - -@push('scripts') - - - -@endpush diff --git a/resources/themes/shop/views/products/reviews/index.blade.php b/resources/themes/shop/views/products/reviews/index.blade.php deleted file mode 100644 index 45ae15a7a..000000000 --- a/resources/themes/shop/views/products/reviews/index.blade.php +++ /dev/null @@ -1,163 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.product-review-page-title') }} - {{ $product->name }} -@endsection - -@section('content-wrapper') - -
- -
- @inject ('reviewHelper', 'Webkul\Product\Helpers\Review') - - getProductBaseImage($product); ?> - -
-
- - - -
- - - -
- @if ($product->getTypeInstance()->haveSpecialPrice()) - {{ core()->currency($product->getTypeInstance()->getSpecialPrice()) }} - @else - {{ core()->currency($product->getTypeInstance()->getMinimalPrice()) }} - @endif -
-
- -
-
- {{ __('shop::app.reviews.rating-reviews') }} - - @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) - - {{ __('shop::app.products.write-review-btn') }} - - @endif -
- -
-
- - {{ $reviewHelper->getAverageRating($product) }} - - - - @for ($i = 1; $i <= 5; $i++) - - @if($i <= round($reviewHelper->getAverageRating($product))) - - @else - - @endif - - @endfor - - -
- {{ __('shop::app.reviews.ratingreviews', [ - 'rating' => $reviewHelper->getAverageRating($product), - 'review' => $reviewHelper->getTotalReviews($product)]) - }} -
-
- -
- - @foreach ($reviewHelper->getPercentageRating($product) as $key => $count) -
-
-
{{ __('shop::app.reviews.star') }}
-
-
-
-
- - {{ __('shop::app.reviews.percentage', ['percentage' => $count]) }} - -
-
-
- @endforeach - -
-
- -
-
- - @foreach ($reviewHelper->getReviews($product)->paginate(10) as $review) -
-
- {{ $review->title }} -
- - - @for ($i = 1; $i <= 5; $i++) - - @if($i <= $review->rating) - - @else - - @endif - - @endfor - - -
- {{ $review->comment }} -
- -
- - {{ __('shop::app.products.by', ['name' => $review->name]) }}, - - - - {{ core()->formatDate($review->created_at, 'F d, Y') }} - -
-
- @endforeach - -
-
-
-
- -
- -@endsection - -@push('scripts') - - - -@endpush diff --git a/resources/themes/shop/views/products/sharelinks.blade.php b/resources/themes/shop/views/products/sharelinks.blade.php deleted file mode 100644 index fd0807215..000000000 --- a/resources/themes/shop/views/products/sharelinks.blade.php +++ /dev/null @@ -1 +0,0 @@ - diff --git a/resources/themes/shop/views/products/view.blade.php b/resources/themes/shop/views/products/view.blade.php deleted file mode 100644 index 946da0a51..000000000 --- a/resources/themes/shop/views/products/view.blade.php +++ /dev/null @@ -1,299 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }} -@stop - -@section('seo') - meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/> - - - - @if (core()->getConfigData('catalog.rich_snippets.products.enable')) - - @endif - - getProductBaseImage($product); ?> - - - - - - - - - - - - - - - - - - - - -@stop - -@section('content-wrapper') - - {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!} - -
- -
- -
- @csrf() - - - - @include ('shop::products.view.gallery') - -
- -
- {{ $product->name }} -
- - @include ('shop::products.review', ['product' => $product]) - - @include ('shop::products.price', ['product' => $product]) - - @if (count($product->getTypeInstance()->getCustomerGroupPricingOffers()) > 0) -
- @foreach ($product->getTypeInstance()->getCustomerGroupPricingOffers() as $offers) -

{{ $offers }}

- @endforeach -
- @endif - - @include ('shop::products.view.stock', ['product' => $product]) - - {!! view_render_event('bagisto.shop.products.view.short_description.before', ['product' => $product]) !!} - -
- {!! $product->short_description !!} -
- - {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} - - - {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} - - @if ($product->getTypeInstance()->showQuantityBox()) - - @else - - @endif - - {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} - - @include ('shop::products.view.configurable-options') - - @include ('shop::products.view.downloadable') - - @include ('shop::products.view.grouped-products') - - @include ('shop::products.view.bundle-options') - - {!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!} - - -
- {{ __('shop::app.products.description') }} - -
- -
-
- {!! $product->description !!} -
-
-
- - {!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!} - - @include ('shop::products.view.attributes') - - @include ('shop::products.view.reviews') -
-
-
-
- - @include ('shop::products.view.related-products') - - @include ('shop::products.view.up-sells') - -
- - {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!} -@endsection - -@push('scripts') - - - - - - -@endpush diff --git a/resources/themes/shop/views/products/view/attributes.blade.php b/resources/themes/shop/views/products/view/attributes.blade.php deleted file mode 100644 index e64fb55fb..000000000 --- a/resources/themes/shop/views/products/view/attributes.blade.php +++ /dev/null @@ -1,45 +0,0 @@ -@inject ('productViewHelper', 'Webkul\Product\Helpers\View') - -{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!} - -@if ($customAttributeValues = $productViewHelper->getAdditionalData($product)) - -
- {{ __('shop::app.products.specification') }} - -
- -
- - - @foreach ($customAttributeValues as $attribute) - - @if ($attribute['label']) - - @else - - @endif - @if ($attribute['type'] == 'file' && $attribute['value']) - - @elseif ($attribute['type'] == 'image' && $attribute['value']) - - @else - - @endif - - @endforeach - -
{{ $attribute['label'] }}{{ $attribute['admin_name'] }} - - - - - - - - {{ $attribute['value'] }}
-
-
-@endif - -{!! view_render_event('bagisto.shop.products.view.attributes.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/bundle-options.blade.php b/resources/themes/shop/views/products/view/bundle-options.blade.php deleted file mode 100644 index 12ca3e667..000000000 --- a/resources/themes/shop/views/products/view/bundle-options.blade.php +++ /dev/null @@ -1,236 +0,0 @@ -@if ($product->type == 'bundle') - - {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!} - - - - {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!} - - @push('scripts') - - - - - - @endpush -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/configurable-options.blade.php b/resources/themes/shop/views/products/view/configurable-options.blade.php deleted file mode 100644 index 10c05b6cc..000000000 --- a/resources/themes/shop/views/products/view/configurable-options.blade.php +++ /dev/null @@ -1,333 +0,0 @@ -@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) - - @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') - - {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} - - - - {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} - - @push('scripts') - - - - getConfigurationConfig($product) ?> - - - @endpush - -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/cross-sells.blade.php b/resources/themes/shop/views/products/view/cross-sells.blade.php deleted file mode 100644 index f7b3e03b8..000000000 --- a/resources/themes/shop/views/products/view/cross-sells.blade.php +++ /dev/null @@ -1,36 +0,0 @@ -@foreach ($cart->items as $item) - product; - - if ($product->cross_sells()->count()) { - $products[] = $product; - $products = array_unique($products); - } - ?> -@endforeach - -@if (isset($products)) - -
- -
- {{ __('shop::app.products.cross-sell-title') }} - -
- -
- @foreach($products as $product) - - @foreach ($product->cross_sells()->paginate(2) as $cross_sell_product) - - @include ('shop::products.list.card', ['product' => $cross_sell_product]) - - @endforeach - - @endforeach - -
- -
- -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/downloadable.blade.php b/resources/themes/shop/views/products/view/downloadable.blade.php deleted file mode 100644 index 7f41196f7..000000000 --- a/resources/themes/shop/views/products/view/downloadable.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@if ($product->type == 'downloadable') - {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} - -
- - @if ($product->downloadable_samples->count()) -
-

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

- - -
- @endif - - @if ($product->downloadable_links->count()) - - @endif -
- - {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} -@endif \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/gallery.blade.php b/resources/themes/shop/views/products/view/gallery.blade.php deleted file mode 100644 index 39a5c0c0b..000000000 --- a/resources/themes/shop/views/products/view/gallery.blade.php +++ /dev/null @@ -1,219 +0,0 @@ -@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') - -getGalleryImages($product); - - $videos = productvideo()->getVideos($product); - - $images = array_merge($images, $videos); -?> - - -{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!} - -
- -
-
- - - - @include ('shop::products.view.product-add') - -
- -{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!} - -@push('scripts') - - - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/shop/views/products/view/grouped-products.blade.php b/resources/themes/shop/views/products/view/grouped-products.blade.php deleted file mode 100644 index 1f2b36dcc..000000000 --- a/resources/themes/shop/views/products/view/grouped-products.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@if ($product->type == 'grouped') - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} - -
- @if ($product->grouped_products->count()) -
-
    -
  • - {{ __('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 diff --git a/resources/themes/velocity/views/UI/header.blade.php b/resources/themes/velocity/views/UI/header.blade.php deleted file mode 100644 index 86dede849..000000000 --- a/resources/themes/velocity/views/UI/header.blade.php +++ /dev/null @@ -1,575 +0,0 @@ -@push('scripts') - -@endpush - -@php - $cart = cart()->getCart(); - - $cartItemsCount = trans('shop::app.minicart.zero'); - - if ($cart) { - $cartItemsCount = $cart->items->count(); - } -@endphp - -@push('scripts') - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/UI/particals.blade.php b/resources/themes/velocity/views/UI/particals.blade.php deleted file mode 100644 index ba03388ed..000000000 --- a/resources/themes/velocity/views/UI/particals.blade.php +++ /dev/null @@ -1,475 +0,0 @@ -@push('scripts') - - - - - -@endpush - -@include('velocity::UI.header') - -@push('scripts') - - - - - - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/coupon.blade.php b/resources/themes/velocity/views/checkout/cart/coupon.blade.php deleted file mode 100644 index 6d4ad411d..000000000 --- a/resources/themes/velocity/views/checkout/cart/coupon.blade.php +++ /dev/null @@ -1,117 +0,0 @@ -@if ($cart) - - - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/index.blade.php b/resources/themes/velocity/views/checkout/cart/index.blade.php deleted file mode 100644 index f8ed0ca57..000000000 --- a/resources/themes/velocity/views/checkout/cart/index.blade.php +++ /dev/null @@ -1,311 +0,0 @@ -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') - -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.cart.title') }} -@stop - -@section('content-wrapper') - -@endsection - -@push('css') - -@endpush - -@push('scripts') - @include('shop::checkout.cart.coupon') - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php b/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php deleted file mode 100644 index df0db3e4b..000000000 --- a/resources/themes/velocity/views/checkout/cart/mini-cart.blade.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - -
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage.blade.php b/resources/themes/velocity/views/checkout/onepage.blade.php deleted file mode 100644 index 0e2f0e847..000000000 --- a/resources/themes/velocity/views/checkout/onepage.blade.php +++ /dev/null @@ -1,762 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.onepage.title') }} -@stop - -@section('content-wrapper') - -@endsection - -@push('scripts') - @include('shop::checkout.cart.coupon') - - - - - -@endpush diff --git a/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php deleted file mode 100644 index 89c9a00aa..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-checkout.blade.php +++ /dev/null @@ -1,24 +0,0 @@ -
- - - - - - - -
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php deleted file mode 100644 index 5d1790cda..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-info.blade.php +++ /dev/null @@ -1,243 +0,0 @@ -
-
- - -
-

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

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

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

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

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

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

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

- -
- -
- @auth('customer') - @if(count(auth('customer')->user()->addresses)) - - - {{ __('shop::app.checkout.onepage.back') }} - - @endif - @endauth - - @include('shop::checkout.onepage.customer-new-form', [ - 'shipping' => true - ]) -
-
-
- @endif -
diff --git a/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php b/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php deleted file mode 100644 index 92732accc..000000000 --- a/resources/themes/velocity/views/checkout/onepage/customer-new-form.blade.php +++ /dev/null @@ -1,541 +0,0 @@ -@php - $isCustomer = auth()->guard('customer')->check(); -@endphp - - @if (isset($shipping) && $shipping) -
- - - - - - @{{ errors.first('address-form.shipping[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[email]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[address1][]') }} - -
- - @if ( - core()->getConfigData('customer.settings.address.street_lines') - && core()->getConfigData('customer.settings.address.street_lines') > 1 - ) - @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) -
- -
- @endfor - @endif - -
- - - - - - @{{ errors.first('address-form.shipping[city]') }} - -
- -
- - - - -
- -
- - - @{{ errors.first('address-form.shipping[country]') }} - -
- - -
- - - - - - -
- -
- - - @{{ errors.first('address-form.shipping[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.shipping[phone]') }} - -
- - @auth('customer') -
- - - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - - -
- @endauth - - @elseif (isset($billing) && $billing) -
- - - - - - @{{ errors.first('address-form.billing[company_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[first_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[last_name]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[email]') }} - -
- - {{-- for customer login checkout --}} - @if (! $isCustomer) - @include('shop::checkout.onepage.customer-checkout') - @endif - -
- - - - - - @{{ errors.first('address-form.billing[address1][]') }} - -
- - @if ( - core()->getConfigData('customer.settings.address.street_lines') - && core()->getConfigData('customer.settings.address.street_lines') > 1 - ) - @for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) -
- -
- @endfor - @endif - -
- - - - - - @{{ errors.first('address-form.billing[city]') }} - -
- -
- - - - -
- -
- - - @{{ errors.first('address-form.billing[country]') }} - -
- -
- - - - - -
- -
- - - @{{ errors.first('address-form.billing[state]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[postcode]') }} - -
- -
- - - - - - @{{ errors.first('address-form.billing[phone]') }} - -
- - @if ($cart->haveStockableItems()) -
- - - - - {{ __('shop::app.checkout.onepage.use_for_shipping') }} - - -
- @endif - - @auth('customer') -
- - - - - {{ __('shop::app.checkout.onepage.save_as_address') }} - - -
- @endauth - @endif \ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/payment.blade.php b/resources/themes/velocity/views/checkout/onepage/payment.blade.php deleted file mode 100644 index be0f4af35..000000000 --- a/resources/themes/velocity/views/checkout/onepage/payment.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -
-
- -
- -

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

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

{{ $additionalDetails['value'] }}

-
- @endif -
-
- - {!! view_render_event('bagisto.shop.checkout.payment-method.after', ['payment' => $payment]) !!} - - @endforeach - - - @{{ errors.first('payment-form.payment[method]') }} - -
-
-
-
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/review.blade.php b/resources/themes/velocity/views/checkout/onepage/review.blade.php deleted file mode 100644 index c4a089206..000000000 --- a/resources/themes/velocity/views/checkout/onepage/review.blade.php +++ /dev/null @@ -1,176 +0,0 @@ -
- -
-

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

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

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

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

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

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

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

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

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

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

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

- - @foreach ($cart->items as $item) - @php - $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); - @endphp - -
-
- -
- -
- - {!! view_render_event('bagisto.shop.checkout.name.before', ['item' => $item]) !!} - -
- {{ $item->product->name }} -
- - {!! view_render_event('bagisto.shop.checkout.name.after', ['item' => $item]) !!} - -
- {!! view_render_event('bagisto.shop.checkout.price.before', ['item' => $item]) !!} - - {{ core()->currency($item->base_price) }} - - {!! view_render_event('bagisto.shop.checkout.price.after', ['item' => $item]) !!} - - - - {!! view_render_event('bagisto.shop.checkout.quantity.before', ['item' => $item]) !!} - - {{ $item->quantity }} ({{ __('shop::app.checkout.onepage.quantity') }}) - - {!! view_render_event('bagisto.shop.checkout.quantity.after', ['item' => $item]) !!} -
- -
- {{ core()->currency($item->base_total) }} -
- - {!! view_render_event('bagisto.shop.checkout.options.before', ['item' => $item]) !!} - - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif - - {!! view_render_event('bagisto.shop.checkout.options.after', ['item' => $item]) !!} -
-
- @endforeach -
- -
-
- @if ($cart->haveStockableItems()) -
-
- -
- -
-

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

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

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

- - {{ __('shop::app.customer.account.order.view.payment-method') }} -
-
- - -
- -
- -
-
-
-
-
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/onepage/shipping.blade.php b/resources/themes/velocity/views/checkout/onepage/shipping.blade.php deleted file mode 100644 index 044e8bd91..000000000 --- a/resources/themes/velocity/views/checkout/onepage/shipping.blade.php +++ /dev/null @@ -1,60 +0,0 @@ -
-
- -
-

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

- -
- -
- - @foreach ($shippingRateGroups as $rateGroup) - - {!! view_render_event('bagisto.shop.checkout.shipping-method.before', ['rateGroup' => $rateGroup]) !!} - @foreach ($rateGroup['rates'] as $rate) -
-
- -
- -
-
- {{ core()->currency($rate->base_price) }} -
- -
- {{ $rate->method_title }} - {{ __($rate->method_description) }} -
-
-
- - @endforeach - - {!! view_render_event('bagisto.shop.checkout.shipping-method.after', ['rateGroup' => $rateGroup]) !!} - - @endforeach - - - - @{{ errors.first('shipping-form.shipping_method') }} - -
-
-
-
\ No newline at end of file diff --git a/resources/themes/velocity/views/checkout/success.blade.php b/resources/themes/velocity/views/checkout/success.blade.php deleted file mode 100644 index d67def693..000000000 --- a/resources/themes/velocity/views/checkout/success.blade.php +++ /dev/null @@ -1,32 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.checkout.success.title') }} -@stop - -@section('content-wrapper') -
-
-

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

- -

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

- -

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

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

{{ __('velocity::app.checkout.cart.cart-summary') }}

- -
- {{ __('velocity::app.checkout.sub-total') }} - {{ core()->currency($cart->base_sub_total) }} -
- - @if ($cart->selected_shipping_rate) -
- {{ __('shop::app.checkout.total.delivery-charges') }} - {{ core()->currency($cart->selected_shipping_rate->base_price) }} -
- @endif - - @if ($cart->base_tax_total) - @foreach (Webkul\Tax\Helpers\Tax::getTaxRatesWithAmount($cart, true) as $taxRate => $baseTaxAmount ) -
- {{ __('shop::app.checkout.total.tax') }} {{ $taxRate }} % - {{ core()->currency($baseTaxAmount) }} -
- @endforeach - @endif - - @if ( - $cart->base_discount_amount - && $cart->base_discount_amount > 0 - ) -
- - {{ __('shop::app.checkout.total.disc-amount') }} - - -{{ core()->currency($cart->base_discount_amount) }} - -
- @endif - -
- {{ __('shop::app.checkout.total.grand-total') }} - - {{ core()->currency($cart->base_grand_total) }} - -
- -
- @php - $minimumOrderAmount = (float) core()->getConfigData('sales.orderSettings.minimum-order.minimum_order_amount') ?? 0; - @endphp - - - -
-
\ No newline at end of file diff --git a/resources/themes/velocity/views/cms/page.blade.php b/resources/themes/velocity/views/cms/page.blade.php deleted file mode 100644 index 088b3a453..000000000 --- a/resources/themes/velocity/views/cms/page.blade.php +++ /dev/null @@ -1,25 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ $page->page_title }} -@endsection - -@section('head') - @isset($page->meta_title) - - @endisset - - @isset($page->meta_description) - - @endisset - - @isset($page->meta_keywords) - - @endisset -@endsection - -@section('content-wrapper') -
- {!! DbView::make($page)->field('html_content')->render() !!} -
-@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/country-state.blade.php b/resources/themes/velocity/views/customers/account/address/country-state.blade.php deleted file mode 100644 index 6776aa123..000000000 --- a/resources/themes/velocity/views/customers/account/address/country-state.blade.php +++ /dev/null @@ -1,98 +0,0 @@ - - -@push('scripts') - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/create.blade.php b/resources/themes/velocity/views/customers/account/address/create.blade.php deleted file mode 100644 index f4843b1e4..000000000 --- a/resources/themes/velocity/views/customers/account/address/create.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.address.create.page-title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.address.create.before') !!} - -
- - -
- - {!! view_render_event('bagisto.shop.customers.account.address.create.after') !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/edit.blade.php b/resources/themes/velocity/views/customers/account/address/edit.blade.php deleted file mode 100644 index e4c168e26..000000000 --- a/resources/themes/velocity/views/customers/account/address/edit.blade.php +++ /dev/null @@ -1,114 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.address.edit.page-title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.address.edit.before', ['address' => $address]) !!} - -
- - - -
- - {!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/address/index.blade.php b/resources/themes/velocity/views/customers/account/address/index.blade.php deleted file mode 100644 index 243272120..000000000 --- a/resources/themes/velocity/views/customers/account/address/index.blade.php +++ /dev/null @@ -1,99 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.address.index.page-title') }} -@endsection - -@section('page-detail-wrapper') - @if ($addresses->isEmpty()) - - - - {{ __('shop::app.customer.account.address.index.add') }} - - @endif - - - - {!! view_render_event('bagisto.shop.customers.account.address.list.before', ['addresses' => $addresses]) !!} - - - - {!! view_render_event('bagisto.shop.customers.account.address.list.after', ['addresses' => $addresses]) !!} -@endsection - -@push('scripts') - -@endpush - -@if ($addresses->isEmpty()) - -@endif diff --git a/resources/themes/velocity/views/customers/account/compare/index.blade.php b/resources/themes/velocity/views/customers/account/compare/index.blade.php deleted file mode 100644 index 8c669d10e..000000000 --- a/resources/themes/velocity/views/customers/account/compare/index.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -@extends('shop::customers.account.index') - -@include('velocity::guest.compare.compare-products') - -@section('page_title') - {{ __('velocity::app.customer.compare.compare_similar_items') }} -@endsection - -@push('css') - -@endpush - -@section('page-detail-wrapper') - -@endsection diff --git a/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php b/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php deleted file mode 100644 index 659886d1e..000000000 --- a/resources/themes/velocity/views/customers/account/downloadable_products/index.blade.php +++ /dev/null @@ -1,28 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.downloadable_products.title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.before') !!} - - - - {!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/index.blade.php b/resources/themes/velocity/views/customers/account/index.blade.php deleted file mode 100644 index 7e7f0cb69..000000000 --- a/resources/themes/velocity/views/customers/account/index.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@extends('shop::layouts.master') - -@section('content-wrapper') - -@endsection - -@push('scripts') - -@endpush diff --git a/resources/themes/velocity/views/customers/account/orders/index.blade.php b/resources/themes/velocity/views/customers/account/orders/index.blade.php deleted file mode 100644 index e283ab63b..000000000 --- a/resources/themes/velocity/views/customers/account/orders/index.blade.php +++ /dev/null @@ -1,31 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.order.index.page-title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.orders.list.before') !!} - - - - {!! view_render_event('bagisto.shop.customers.account.orders.list.after') !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/orders/view.blade.php b/resources/themes/velocity/views/customers/account/orders/view.blade.php deleted file mode 100644 index fd64e3675..000000000 --- a/resources/themes/velocity/views/customers/account/orders/view.blade.php +++ /dev/null @@ -1,582 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }} -@endsection - -@push('css') - -@endpush - -@section('page-detail-wrapper') - -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php b/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php deleted file mode 100644 index d0bab2b38..000000000 --- a/resources/themes/velocity/views/customers/account/partials/sidemenu.blade.php +++ /dev/null @@ -1,74 +0,0 @@ -
- - - @foreach ($menu->items as $menuItem) - - @endforeach -
- -@push('css') - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/profile/edit.blade.php b/resources/themes/velocity/views/customers/account/profile/edit.blade.php deleted file mode 100644 index 14c70dd45..000000000 --- a/resources/themes/velocity/views/customers/account/profile/edit.blade.php +++ /dev/null @@ -1,212 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.profile.index.title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!} - -
- - -
- - {!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/profile/index.blade.php b/resources/themes/velocity/views/customers/account/profile/index.blade.php deleted file mode 100644 index 10d9a2c1b..000000000 --- a/resources/themes/velocity/views/customers/account/profile/index.blade.php +++ /dev/null @@ -1,116 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.profile.index.title') }} -@endsection - -@push('css') - -@endpush - - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.before', ['customer' => $customer]) !!} - - - - {!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!} -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/reviews/index.blade.php b/resources/themes/velocity/views/customers/account/reviews/index.blade.php deleted file mode 100644 index 9affd9951..000000000 --- a/resources/themes/velocity/views/customers/account/reviews/index.blade.php +++ /dev/null @@ -1,118 +0,0 @@ -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.review.index.page-title') }} -@endsection - -@section('page-detail-wrapper') -
- - - - - - - - - @if (count($reviews) > 1) - - @endif -
- - {!! view_render_event('bagisto.shop.customers.account.reviews.list.before', ['reviews' => $reviews]) !!} - -
- @if (! $reviews->isEmpty()) - @foreach ($reviews as $review) -
-
- @php - $image = productimage()->getProductBaseImage($review->product); - @endphp - - - - - -
- - - - -
{{ $review->title }}
- -

{{ $review->comment }}

-
- - -
-
- @endforeach - -
- {{ $reviews->links() }} -
- {{-- --}} - @else -
- {{ __('customer::app.reviews.empty') }} -
- @endif - -
- - {!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!} -@endsection - -@push('scripts') - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php b/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php deleted file mode 100644 index aa8bf2f6c..000000000 --- a/resources/themes/velocity/views/customers/account/wishlist/wishlist.blade.php +++ /dev/null @@ -1,63 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -@extends('shop::customers.account.index') - -@section('page_title') - {{ __('shop::app.customer.account.wishlist.page-title') }} -@endsection - -@section('page-detail-wrapper') - - - {!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!} - -
- - @if ($items->count()) - @foreach ($items as $item) - @php - $currentMode = $toolbarHelper->getCurrentMode(); - $moveToCartText = __('shop::app.customer.account.wishlist.move-to-cart'); - @endphp - - @include ('shop::products.list.card', [ - 'list' => true, - 'checkmode' => true, - 'moveToCart' => true, - 'wishlistMoveRoute' => route('customer.wishlist.move', $item->id), - 'addToCartForm' => true, - 'removeWishlist' => true, - 'reloadPage' => true, - 'itemId' => $item->id, - 'item' => $item, - 'product' => $item->product, - 'additionalAttributes' => true, - 'btnText' => $moveToCartText, - 'addToCartBtnClass' => 'small-padding', - ]) - @endforeach - -
- {{ $items->links() }} -
- @else -
- {{ __('customer::app.wishlist.empty') }} -
- @endif -
- - {!! view_render_event('bagisto.shop.customers.account.wishlist.list.after', ['wishlist' => $items]) !!} -@endsection diff --git a/resources/themes/velocity/views/customers/session/index.blade.php b/resources/themes/velocity/views/customers/session/index.blade.php deleted file mode 100644 index 9242d3077..000000000 --- a/resources/themes/velocity/views/customers/session/index.blade.php +++ /dev/null @@ -1,105 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.login-form.page-title') }} -@endsection - -@section('content-wrapper') -
- - {!! view_render_event('bagisto.shop.customers.login.before') !!} - -
-
-
-

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

- - - - -
- -
-
-

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

- -

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

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

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

- - - - -
- -
-

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

- -

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

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

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

- - - - -
- -
-

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

- -

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

- - {!! view_render_event('bagisto.shop.customers.signup.before') !!} - -
- - {{ csrf_field() }} - - {!! view_render_event('bagisto.shop.customers.signup_form_controls.before') !!} - -
- - - - - - @{{ errors.first('first_name') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.firstname.after') !!} - -
- - - - - - @{{ errors.first('last_name') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.lastname.after') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.email.after') !!} - -
- - - - - - @{{ errors.first('password') }} - -
- - {!! view_render_event('bagisto.shop.customers.signup_form_controls.password.after') !!} - -
- - - - - - @{{ errors.first('password_confirmation') }} - -
- - @if (core()->getConfigData('customer.settings.newsletter.subscription')) -
- - {{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }} -
- @endif - - {!! view_render_event('bagisto.shop.customers.signup_form_controls.after') !!} - - -
- - {!! view_render_event('bagisto.shop.customers.signup.after') !!} -
-
-
-
-@endsection diff --git a/resources/themes/velocity/views/customers/signup/reset-password.blade.php b/resources/themes/velocity/views/customers/signup/reset-password.blade.php deleted file mode 100644 index db4a7b74d..000000000 --- a/resources/themes/velocity/views/customers/signup/reset-password.blade.php +++ /dev/null @@ -1,101 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.reset-password.title') }} -@endsection - -@section('content-wrapper') - -
- {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} -
-
-
-
-

- {{ __('shop::app.customer.reset-password.title')}} -

-
- -
- - {!! view_render_event('bagisto.shop.customers.forget_password.before') !!} - -
- - {{ csrf_field() }} - - - - {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.before') !!} - -
- - - - - - @{{ errors.first('email') }} - -
- -
- - - - - - @{{ errors.first('password') }} - -
- -
- - - - - - @{{ errors.first('confirm_password') }} - -
- - {!! view_render_event('bagisto.shop.customers.forget_password_form_controls.after') !!} - - -
- - - {!! view_render_event('bagisto.shop.customers.forget_password.after') !!} -
-
-
-
- {!! view_render_event('bagisto.shop.customers.reset_password.before') !!} -
-@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/errors/404.blade.php b/resources/themes/velocity/views/errors/404.blade.php deleted file mode 100644 index 456cb893d..000000000 --- a/resources/themes/velocity/views/errors/404.blade.php +++ /dev/null @@ -1,54 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('admin::app.error.404.page-title') }} -@stop - -@section('body-header') -@endsection - -@section('full-content-wrapper') -
-
-
- -
- {{ __('velocity::app.error.page-lost-short') }} -
- -

- {{ __('velocity::app.error.page-lost-description') }} -

-
- -
-
- - @if ($logo = core()->getCurrentChannel()->logo_url) -
- @else -
- @endif -
- - -
- > -
- - - {{ __('velocity::app.error.go-to-home') }} - -
-
-
- -@endsection - -@section('footer') -@show diff --git a/resources/themes/velocity/views/guest/compare/compare-products.blade.php b/resources/themes/velocity/views/guest/compare/compare-products.blade.php deleted file mode 100644 index 296dae42f..000000000 --- a/resources/themes/velocity/views/guest/compare/compare-products.blade.php +++ /dev/null @@ -1,332 +0,0 @@ -@php - $attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository'); - $comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily(); - - $locale = request()->get('locale') ?: app()->getLocale(); - - $attributeOptionTranslations = app('\Webkul\Attribute\Repositories\AttributeOptionTranslationRepository')->where('locale', $locale)->get()->toJson(); -@endphp - -@push('scripts') - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/guest/compare/index.blade.php b/resources/themes/velocity/views/guest/compare/index.blade.php deleted file mode 100644 index 78b233fee..000000000 --- a/resources/themes/velocity/views/guest/compare/index.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@extends('shop::layouts.master') - -@include('shop::guest.compare.compare-products') - -@section('page_title') - {{ __('velocity::app.customer.compare.compare_similar_items') }} -@endsection - -@section('content-wrapper') - -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/guest/wishlist/index.blade.php b/resources/themes/velocity/views/guest/wishlist/index.blade.php deleted file mode 100644 index 4ca8b61e4..000000000 --- a/resources/themes/velocity/views/guest/wishlist/index.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.customer.account.wishlist.page-title') }} -@endsection - -@section('content-wrapper') - @push('scripts') - - @endpush -@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php deleted file mode 100644 index 690b19f69..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-four.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -@php - $isRendered = false; - $advertisementFour = null; -@endphp - -@if ($velocityMetaData && $velocityMetaData->advertisement) - @php - $advertisement = json_decode($velocityMetaData->advertisement, true); - - if (isset($advertisement[4]) && is_array($advertisement[4])) { - $advertisementFour = array_values(array_filter($advertisement[4])); - } - @endphp - - @if ($advertisementFour) - @php - $isRendered = true; - @endphp - - - @endif -@endif - -@if (! $isRendered) - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php deleted file mode 100644 index ee81fb7ab..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-one.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -@php - $isRendered = false; - $advertisementOne = null; -@endphp - -@if ($velocityMetaData && $velocityMetaData->advertisement) - @php - $advertisement = json_decode($velocityMetaData->advertisement, true); - if (isset($advertisement[1])) { - $advertisementOne = $advertisement[1]; - } - @endphp - - @if ($advertisementOne) - @php - $isRendered = true; - @endphp - - - @endif -@endif - -@if (! $isRendered) - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php deleted file mode 100644 index 964ad2989..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-three.blade.php +++ /dev/null @@ -1,62 +0,0 @@ -@php - $isRendered = false; - $advertisementThree = null; -@endphp - -@if ($velocityMetaData && $velocityMetaData->advertisement) - @php - $advertisement = json_decode($velocityMetaData->advertisement, true); - - if (isset($advertisement[3]) && is_array($advertisement[3])) { - $advertisementThree = array_values(array_filter($advertisement[3])); - } - @endphp - - @if ($advertisementThree) - @php - $isRendered = true; - @endphp - - - @endif -@endif - -@if (! $isRendered) - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php b/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php deleted file mode 100644 index fbb88d695..000000000 --- a/resources/themes/velocity/views/home/advertisements/advertisement-two.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@php - $isRendered = false; - $advertisementTwo = null; -@endphp - -@if ($velocityMetaData && $velocityMetaData->advertisement) - @php - $advertisement = json_decode($velocityMetaData->advertisement, true); - - if (isset($advertisement[2]) && is_array($advertisement[2])) { - $advertisementTwo = array_values(array_filter($advertisement[2])); - } - @endphp - - @if ($advertisementTwo) - @php - $isRendered = true; - @endphp - - - @endif -@endif - -@if (! $isRendered) - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/home/category-with-custom-option.blade.php b/resources/themes/velocity/views/home/category-with-custom-option.blade.php deleted file mode 100644 index 71f8e7cb2..000000000 --- a/resources/themes/velocity/views/home/category-with-custom-option.blade.php +++ /dev/null @@ -1,166 +0,0 @@ -@php - $categoryRepository = app('Webkul\Category\Repositories\CategoryRepository'); - - $category[0] = $categoryRepository->findByPath($category[0]); - $category[1] = $categoryRepository->findByPath($category[1]); - $category[2] = $categoryRepository->findByPath($category[2]); - $category[3] = $categoryRepository->findByPath($category[3]); -@endphp - -
-
-
- -
- -
-
-
-
- -
-
-

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

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

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

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

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

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

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

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

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

- -
-
-
-
- @endforeach -
- diff --git a/resources/themes/velocity/views/home/category.blade.php b/resources/themes/velocity/views/home/category.blade.php deleted file mode 100644 index 760a46bad..000000000 --- a/resources/themes/velocity/views/home/category.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - - \ No newline at end of file diff --git a/resources/themes/velocity/views/home/customer-reviews.blade.php b/resources/themes/velocity/views/home/customer-reviews.blade.php deleted file mode 100644 index 954cb8d16..000000000 --- a/resources/themes/velocity/views/home/customer-reviews.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@php - $reviews = app('Webkul\Velocity\Helpers\Helper')->getShopRecentReviews(4); - $reviewCount = count($reviews); -@endphp - -
- @if ($reviewCount) - - -
- @foreach ($reviews as $key => $review) -
-
-
-
-
- - {{ strtoupper(substr( $review['name'], 0, 1 )) }} - -
- -
-

- {{ $review['name'] }} -

- -
- {{ __('velocity::app.products.reviewed') }}- {{$review->product->name}} -
-
-
- -
- -
- -
-

{{ $review['comment'] }}

-
-
-
-
- @endforeach -
- @endif -
- -@push('scripts') - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/home/featured-products.blade.php b/resources/themes/velocity/views/home/featured-products.blade.php deleted file mode 100644 index d7a1cd137..000000000 --- a/resources/themes/velocity/views/home/featured-products.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@php - $count = core()->getConfigData('catalog.products.homepage.no_of_featured_product_homepage'); - $count = $count ? $count : 10; - $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr'; -@endphp - - - \ No newline at end of file diff --git a/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php deleted file mode 100644 index 0da129418..000000000 --- a/resources/themes/velocity/views/home/helper/product-large-cart-view.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -@foreach ($products as $product) -
-
- - {{-- sale-button --}} - @if ($product['actual-price'] > $product['selling-price']) - - @endif - - {{-- product image --}} -
-
-
-
- -
- -
- {{ $product['productName'] }} -
- - - {{ $product['currency-icon'] }}{{ $product['selling-price'] }} - - - @if ($product['actual-price'] > $product['selling-price']) - - {{ $product['currency-icon'] }}{{ $product['actual-price'] }} - - - - {{ (($product['actual-price'] - $product['selling-price']) * 100) / $product['actual-price'] }}% - - @endif -
-
- - @if ($product['review-count']) -
- - - - - - {{ $product['review-count'] }} reviews -
- @else -
- Be the first to write a review -
- @endif - -
- - {{-- --}} - -
- -
-
-
-@endforeach \ No newline at end of file diff --git a/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php b/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php deleted file mode 100644 index 6212c2895..000000000 --- a/resources/themes/velocity/views/home/helper/product-small-cart-view.blade.php +++ /dev/null @@ -1,28 +0,0 @@ - -@foreach ($products as $product) -
- -
-
-
- -
-
- {{ $product['productName'] }} - - - {{ $product['currency-icon'] }}{{ $product['selling-price'] }} - - -
- - - - - -
-
- -
-
-@endforeach diff --git a/resources/themes/velocity/views/home/hot-categories.blade.php b/resources/themes/velocity/views/home/hot-categories.blade.php deleted file mode 100644 index 79de54d30..000000000 --- a/resources/themes/velocity/views/home/hot-categories.blade.php +++ /dev/null @@ -1,10 +0,0 @@ -
- - - -
- @foreach ($category as $slug) - - @endforeach -
-
\ No newline at end of file diff --git a/resources/themes/velocity/views/home/index.blade.php b/resources/themes/velocity/views/home/index.blade.php deleted file mode 100644 index fda9c1b70..000000000 --- a/resources/themes/velocity/views/home/index.blade.php +++ /dev/null @@ -1,74 +0,0 @@ -@extends('shop::layouts.master') - -@inject ('productRatingHelper', 'Webkul\Product\Helpers\Review') - -@php - $channel = core()->getCurrentChannel(); - - $homeSEO = $channel->home_seo; - - if (isset($homeSEO)) { - $homeSEO = json_decode($channel->home_seo); - - $metaTitle = $homeSEO->meta_title; - - $metaDescription = $homeSEO->meta_description; - - $metaKeywords = $homeSEO->meta_keywords; - } -@endphp - -@section('page_title') - {{ isset($metaTitle) ? $metaTitle : "" }} -@endsection - -@section('head') - - @if (isset($homeSEO)) - @isset($metaTitle) - - @endisset - - @isset($metaDescription) - - @endisset - - @isset($metaKeywords) - - @endisset - @endif -@endsection - -@push('css') - -@endpush - -@section('content-wrapper') - @include('shop::home.slider') -@endsection - -@section('full-content-wrapper') - -
- {!! view_render_event('bagisto.shop.home.content.before') !!} - - @if ($velocityMetaData) - {!! DbView::make($velocityMetaData)->field('home_page_content')->render() !!} - @else - @include('shop::home.advertisements.advertisement-four') - @include('shop::home.featured-products') - @include('shop::home.advertisements.advertisement-three') - @include('shop::home.new-products') - @include('shop::home.advertisements.advertisement-two') - @endif - - {{ view_render_event('bagisto.shop.home.content.after') }} -
- -@endsection - diff --git a/resources/themes/velocity/views/home/new-products.blade.php b/resources/themes/velocity/views/home/new-products.blade.php deleted file mode 100644 index c90525b94..000000000 --- a/resources/themes/velocity/views/home/new-products.blade.php +++ /dev/null @@ -1,20 +0,0 @@ -@php - $count = core()->getConfigData('catalog.products.homepage.no_of_new_product_homepage'); - $count = $count ? $count : 10; - $direction = core()->getCurrentLocale()->direction == 'rtl' ? 'rtl' : 'ltr'; -@endphp - -{!! view_render_event('bagisto.shop.new-products.before') !!} - - - - -{!! view_render_event('bagisto.shop.new-products.after') !!} diff --git a/resources/themes/velocity/views/home/popular-categories.blade.php b/resources/themes/velocity/views/home/popular-categories.blade.php deleted file mode 100644 index 82b5feb91..000000000 --- a/resources/themes/velocity/views/home/popular-categories.blade.php +++ /dev/null @@ -1,10 +0,0 @@ - diff --git a/resources/themes/velocity/views/home/product-policy.blade.php b/resources/themes/velocity/views/home/product-policy.blade.php deleted file mode 100644 index d5bab81b0..000000000 --- a/resources/themes/velocity/views/home/product-policy.blade.php +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {!! $velocityMetaData->product_policy !!} -
-
diff --git a/resources/themes/velocity/views/home/slider.blade.php b/resources/themes/velocity/views/home/slider.blade.php deleted file mode 100644 index bad23e2cd..000000000 --- a/resources/themes/velocity/views/home/slider.blade.php +++ /dev/null @@ -1,69 +0,0 @@ -@php - $direction = core()->getCurrentLocale()->direction; -@endphp - -@if ($velocityMetaData && $velocityMetaData->slider) - -@endif - -@push('scripts') - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/copy-right.blade.php b/resources/themes/velocity/views/layouts/footer/copy-right.blade.php deleted file mode 100644 index 432017c80..000000000 --- a/resources/themes/velocity/views/layouts/footer/copy-right.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links.blade.php deleted file mode 100644 index 0dcdd540d..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links.blade.php +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php deleted file mode 100644 index 213b15a26..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-left.blade.php +++ /dev/null @@ -1,22 +0,0 @@ -
- - - @if ($velocityMetaData) - {!! $velocityMetaData->footer_left_content !!} - @else - {!! __('velocity::app.admin.meta-data.footer-left-raw-content') !!} - @endif -
\ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php deleted file mode 100644 index 1fa2db348..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-middle.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php b/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php deleted file mode 100644 index 4c81267b6..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-links/footer-right.blade.php +++ /dev/null @@ -1,29 +0,0 @@ - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php b/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php deleted file mode 100644 index dbac17c65..000000000 --- a/resources/themes/velocity/views/layouts/footer/footer-logo.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/footer/index.blade.php b/resources/themes/velocity/views/layouts/footer/index.blade.php deleted file mode 100644 index 71eebfb6e..000000000 --- a/resources/themes/velocity/views/layouts/footer/index.blade.php +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php b/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php deleted file mode 100644 index 6658c3459..000000000 --- a/resources/themes/velocity/views/layouts/footer/newsletter-subscription.blade.php +++ /dev/null @@ -1,37 +0,0 @@ -@if ( - $velocityMetaData - && $velocityMetaData->subscription_bar_content - || core()->getConfigData('customer.settings.newsletter.subscription') -) - -@endif diff --git a/resources/themes/velocity/views/layouts/footer/top-brands.blade.php b/resources/themes/velocity/views/layouts/footer/top-brands.blade.php deleted file mode 100644 index 650ed3cf0..000000000 --- a/resources/themes/velocity/views/layouts/footer/top-brands.blade.php +++ /dev/null @@ -1,33 +0,0 @@ -@php - $brandname = app('Webkul\Velocity\Helpers\Helper'); - $topBrandsCollection = $brandname->getBrandsWithCategories(); -@endphp - -@if (! empty($topBrandsCollection)) -
-
- @if ($topBrandsCollection) -
-

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

-
- -
    - @foreach($topBrandsCollection as $categoryName => $brandsCollection) -
  • - - - - @foreach ($brandsCollection as $brandIndex => $brand ) - {{$brand}} - @if ($brandIndex + 1 !== sizeof($brandsCollection)) - | - @endif - @endforeach - -
  • - @endforeach -
- @endif -
-
-@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/header/index.blade.php b/resources/themes/velocity/views/layouts/header/index.blade.php deleted file mode 100644 index fe58600d6..000000000 --- a/resources/themes/velocity/views/layouts/header/index.blade.php +++ /dev/null @@ -1,22 +0,0 @@ - - -@push('scripts') - -@endpush diff --git a/resources/themes/velocity/views/layouts/master.blade.php b/resources/themes/velocity/views/layouts/master.blade.php deleted file mode 100644 index 1897dd941..000000000 --- a/resources/themes/velocity/views/layouts/master.blade.php +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {{-- title --}} - @yield('page_title') - - {{-- meta data --}} - - - - - - - {!! view_render_event('bagisto.shop.layout.head') !!} - - {{-- for extra head data --}} - @yield('head') - - {{-- seo meta data --}} - @section('seo') - - @show - - {{-- fav icon --}} - @if ($favicon = core()->getCurrentChannel()->favicon_url) - - @else - - @endif - - {{-- all styles --}} - @include('shop::layouts.styles') - - - getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl" @endif> - {!! view_render_event('bagisto.shop.layout.body.before') !!} - - @include('shop::UI.particals') - - {{-- main app --}} -
- - -
- - @section('body-header') - @include('shop::layouts.top-nav.index') - - {!! view_render_event('bagisto.shop.layout.header.before') !!} - - @include('shop::layouts.header.index') - - {!! view_render_event('bagisto.shop.layout.header.after') !!} - -
- @php - $velocityContent = app('Webkul\Velocity\Repositories\ContentRepository')->getAllContents(); - @endphp - - - -
-
- - - -
- -
- - {!! view_render_event('bagisto.shop.layout.content.before') !!} - - @yield('content-wrapper') - - {!! view_render_event('bagisto.shop.layout.content.after') !!} -
- -
-
-
-
- @show - -
- - {!! view_render_event('bagisto.shop.layout.full-content.before') !!} - - @yield('full-content-wrapper') - - {!! view_render_event('bagisto.shop.layout.full-content.after') !!} - -
-
- - -
- - {{-- footer --}} - @section('footer') - {!! view_render_event('bagisto.shop.layout.footer.before') !!} - - @include('shop::layouts.footer.index') - - {!! view_render_event('bagisto.shop.layout.footer.after') !!} - @show - - {!! view_render_event('bagisto.shop.layout.body.after') !!} - -
- - {{-- all scripts --}} - @include('shop::layouts.scripts') - - diff --git a/resources/themes/velocity/views/layouts/scripts.blade.php b/resources/themes/velocity/views/layouts/scripts.blade.php deleted file mode 100644 index 56d645a15..000000000 --- a/resources/themes/velocity/views/layouts/scripts.blade.php +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - -@stack('scripts') - - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/styles.blade.php b/resources/themes/velocity/views/layouts/styles.blade.php deleted file mode 100644 index e69b0004f..000000000 --- a/resources/themes/velocity/views/layouts/styles.blade.php +++ /dev/null @@ -1,13 +0,0 @@ - - -@if (core()->getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') - -@endif - - - -@stack('css') - - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/top-nav/index.blade.php b/resources/themes/velocity/views/layouts/top-nav/index.blade.php deleted file mode 100644 index fcb3493a6..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/index.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php b/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php deleted file mode 100644 index fd7ebd6d7..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/locale-currency.blade.php +++ /dev/null @@ -1,104 +0,0 @@ -@php - $searchQuery = request()->input(); - - if ($searchQuery && ! empty($searchQuery)) { - $searchQuery = implode('&', array_map( - function ($v, $k) { - if (is_array($v)) { - if (is_array($v)) { - $key = array_keys($v)[0]; - - return $k. "[$key]=" . implode('&' . $k . '[]=', $v); - } else { - return $k. '[]=' . implode('&' . $k . '[]=', $v); - } - } else { - return $k . '=' . $v; - } - }, - $searchQuery, - array_keys($searchQuery) - )); - } else { - $searchQuery = false; - } -@endphp - -{!! view_render_event('bagisto.shop.layout.header.locale.before') !!} -
- -
- -{!! view_render_event('bagisto.shop.layout.header.locale.after') !!} - -{!! view_render_event('bagisto.shop.layout.header.currency-item.before') !!} - - @if (core()->getCurrentChannel()->currencies->count() > 1) -
- -
- @endif - -{!! view_render_event('bagisto.shop.layout.header.currency-item.after') !!} diff --git a/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php b/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php deleted file mode 100644 index 1ee8cde56..000000000 --- a/resources/themes/velocity/views/layouts/top-nav/login-section.blade.php +++ /dev/null @@ -1,134 +0,0 @@ -{!! view_render_event('bagisto.shop.layout.header.account-item.before') !!} - -{!! view_render_event('bagisto.shop.layout.header.account-item.after') !!} - -@push('scripts') - - - -@endpush - diff --git a/resources/themes/velocity/views/products/add-to-cart.blade.php b/resources/themes/velocity/views/products/add-to-cart.blade.php deleted file mode 100644 index 2ef856f65..000000000 --- a/resources/themes/velocity/views/products/add-to-cart.blade.php +++ /dev/null @@ -1,80 +0,0 @@ -{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!} - -
- @if (isset($showCompare) && $showCompare) - - @endif - - @if (! (isset($showWishlist) && !$showWishlist) && core()->getConfigData('general.content.shop.wishlist_option')) - @include('shop::products.wishlist', [ - 'addClass' => $addWishlistClass ?? '' - ]) - @endif - -
- @if (isset($form) && !$form) - - @elseif(isset($addToCartForm) && !$addToCartForm) -
- - @csrf - - - - -
- @else - isSaleable() ? 'false' : 'true' }} - show-cart-icon={{ ! (isset($showCartIcon) && ! $showCartIcon) }} - btn-text="{{ (! isset($moveToCart) && $product->type == 'booking') ? __('shop::app.products.book-now') : $btnText ?? __('shop::app.products.add-to-cart') }}"> - - @endif -
-
- -{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/buy-now.blade.php b/resources/themes/velocity/views/products/buy-now.blade.php deleted file mode 100644 index 8bc1844b8..000000000 --- a/resources/themes/velocity/views/products/buy-now.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.buy_now.before', ['product' => $product]) !!} - - - -{!! view_render_event('bagisto.shop.products.buy_now.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/index.blade.php b/resources/themes/velocity/views/products/index.blade.php deleted file mode 100644 index aaf5877c6..000000000 --- a/resources/themes/velocity/views/products/index.blade.php +++ /dev/null @@ -1,176 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') -@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') - -@extends('shop::layouts.master') - -@section('page_title') - {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }} -@stop - -@section('seo') - - - - @if (core()->getConfigData('catalog.rich_snippets.categories.enable')) - - @endif -@stop - -@push('css') - -@endpush - -@php - $isProductsDisplayMode = in_array( - $category->display_mode, [ - null, - 'products_only', - 'products_and_description' - ] - ); - - $isDescriptionDisplayMode = in_array( - $category->display_mode, [ - null, - 'description_only', - 'products_and_description' - ] - ); -@endphp - -@section('content-wrapper') - -@stop - -@push('scripts') - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/list/card.blade.php b/resources/themes/velocity/views/products/list/card.blade.php deleted file mode 100644 index 7f43fd6ed..000000000 --- a/resources/themes/velocity/views/products/list/card.blade.php +++ /dev/null @@ -1,198 +0,0 @@ -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -@push('css') - -@endpush - -@php - if (isset($checkmode) && $checkmode && $toolbarHelper->getCurrentMode() == "list") { - $list = true; - } - - if (isset($item)) { - $productBaseImage = productimage()->getProductImage($item); - } else { - $productBaseImage = productimage()->getProductBaseImage($product); - } - - $totalReviews = $reviewHelper->getTotalReviews($product); - $avgRatings = ceil($reviewHelper->getAverageRating($product)); - - $galleryImages = productimage()->getGalleryImages($product); - $priceHTML = view('shop::products.price', ['product' => $product])->render(); - - $product->__set('priceHTML', $priceHTML); - $product->__set('avgRating', $avgRatings); - $product->__set('totalReviews', $totalReviews); - $product->__set('galleryImages', $galleryImages); - $product->__set('shortDescription', $product->short_description); - $product->__set('firstReviewText', trans('velocity::app.products.be-first-review')); - $product->__set('addToCartHtml', view('shop::products.add-to-cart', [ - 'product' => $product, - 'addWishlistClass' => ! (isset($list) && $list) ? '' : '', - - 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" - ? true : false, - - 'btnText' => null, - 'moveToCart' => null, - 'addToCartBtnClass' => '', - ])->render()); - -@endphp - -{!! view_render_event('bagisto.shop.products.list.card.before', ['product' => $product]) !!} - @if (isset($list) && $list) -
- - -
-
-
- - - {{ $product->name }} - - - @if (isset($additionalAttributes) && $additionalAttributes) - @if (isset($item->additional['attributes'])) -
- - @foreach ($item->additional['attributes'] as $attribute) - {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
- @endforeach - -
- @endif - @endif -
- -
- @include ('shop::products.price', ['product' => $product]) -
- - @if( $totalReviews ) -
- - {{ $totalReviews }} Ratings -
- @endif - -
- @include ('shop::products.add-to-cart', [ - 'addWishlistClass' => 'pl10', - 'product' => $product, - 'addToCartBtnClass' => 'medium-padding', - 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" - ? true : false, - ]) -
-
-
-
- @else -
- - - {{ $product->name }} - - {{-- --}} - - - - @if ($product->new) -
- {{ __('shop::app.products.new') }} -
- @endif - -
- - -
- @include ('shop::products.price', ['product' => $product]) -
- - @if ($totalReviews) -
- - - {{ __('velocity::app.products.ratings', ['totalRatings' => $totalReviews ]) }} - -
- @else -
- {{ __('velocity::app.products.be-first-review') }} -
- @endif - -
- @include ('shop::products.add-to-cart', [ - 'product' => $product, - 'btnText' => $btnText ?? null, - 'moveToCart' => $moveToCart ?? null, - 'wishlistMoveRoute' => $wishlistMoveRoute ?? null, - 'reloadPage' => $reloadPage ?? null, - 'addToCartForm' => $addToCartForm ?? false, - 'addToCartBtnClass' => $addToCartBtnClass ?? '', - 'showCompare' => core()->getConfigData('general.content.shop.compare_option') == "1" - ? true : false, - ]) -
-
-
- @endif - -{!! view_render_event('bagisto.shop.products.list.card.after', ['product' => $product]) !!} diff --git a/resources/themes/velocity/views/products/list/layered-navigation.blade.php b/resources/themes/velocity/views/products/list/layered-navigation.blade.php deleted file mode 100644 index 137ad209d..000000000 --- a/resources/themes/velocity/views/products/list/layered-navigation.blade.php +++ /dev/null @@ -1,257 +0,0 @@ -@inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository') -@inject ('attributeRepository', 'Webkul\Attribute\Repositories\AttributeRepository') -@inject ('productFlatRepository', 'Webkul\Product\Repositories\ProductFlatRepository') - -getProductsRelatedFilterableAttributes($category); - - $maxPrice = core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)); - } - - if (! count($filterAttributes) > 0) { - $filterAttributes = $attributeRepository->getFilterAttributes(); - } -?> - -
- - {!! view_render_event('bagisto.shop.products.list.layered-nagigation.before') !!} - - - - {!! view_render_event('bagisto.shop.products.list.layered-nagigation.after') !!} - -
- -@push('scripts') - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/list/recently-viewed.blade.php b/resources/themes/velocity/views/products/list/recently-viewed.blade.php deleted file mode 100644 index 8c1ea1606..000000000 --- a/resources/themes/velocity/views/products/list/recently-viewed.blade.php +++ /dev/null @@ -1,11 +0,0 @@ -@php - $direction = core()->getCurrentLocale()->direction; -@endphp - - - diff --git a/resources/themes/velocity/views/products/list/toolbar.blade.php b/resources/themes/velocity/views/products/list/toolbar.blade.php deleted file mode 100644 index 080c7007c..000000000 --- a/resources/themes/velocity/views/products/list/toolbar.blade.php +++ /dev/null @@ -1,162 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -{!! view_render_event('bagisto.shop.products.list.toolbar.before') !!} - -{!! view_render_event('bagisto.shop.products.list.toolbar.after') !!} - -@push('scripts') - - - -@endpush diff --git a/resources/themes/velocity/views/products/price.blade.php b/resources/themes/velocity/views/products/price.blade.php deleted file mode 100644 index bed2c056d..000000000 --- a/resources/themes/velocity/views/products/price.blade.php +++ /dev/null @@ -1,7 +0,0 @@ -{!! view_render_event('bagisto.shop.products.price.before', ['product' => $product]) !!} - -
- {!! $product->getTypeInstance()->getPriceHtml() !!} -
- -{!! view_render_event('bagisto.shop.products.price.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/reviews/create.blade.php b/resources/themes/velocity/views/products/reviews/create.blade.php deleted file mode 100644 index d52609fdc..000000000 --- a/resources/themes/velocity/views/products/reviews/create.blade.php +++ /dev/null @@ -1,99 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.add-review-page-title') }} - {{ $product->name }} -@endsection - -@section('content-wrapper') - -
-
- @include ('shop::products.view.small-view', ['product' => $product]) - -
-
-

- {{ __('shop::app.reviews.write-review') }} -

- -
- - @csrf - -
- - - - @{{ errors.first('rating') }} - -
- -
- - - - - @{{ errors.first('title') }} - -
- - @if (core()->getConfigData('catalog.products.review.guest_review') && ! auth()->guard('customer')->user()) -
- - - - @{{ errors.first('name') }} - -
- @endif - -
- - - - @{{ errors.first('comment') }} - -
- -
- -
-
-
-
- @if ($showRecentlyViewed) - @include ('shop::products.list.recently-viewed', [ - 'addClass' => 'col-lg-3 col-md-12' - ]) - @endif -
-
- -@endsection diff --git a/resources/themes/velocity/views/products/reviews/index.blade.php b/resources/themes/velocity/views/products/reviews/index.blade.php deleted file mode 100644 index 4f002a904..000000000 --- a/resources/themes/velocity/views/products/reviews/index.blade.php +++ /dev/null @@ -1,41 +0,0 @@ -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.reviews.product-review-page-title') }} -@endsection - -@php - $ratings = [ - '', '', '', '' - ]; - - $ratings = [ - 10, 30, 20, 15, 25 - ]; - - $totalReviews = 25; - $totalRatings = array_sum($ratings); - -@endphp - -@push('css') - -@endpush - -@section('content-wrapper') -
-
- @include ('shop::products.view.small-view', ['product' => $product]) - -
-

Rating and Reviews

- - @include ('shop::products.view.reviews') -
-
-
-@endsection \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view.blade.php b/resources/themes/velocity/views/products/view.blade.php deleted file mode 100644 index 943b0a54a..000000000 --- a/resources/themes/velocity/views/products/view.blade.php +++ /dev/null @@ -1,344 +0,0 @@ -@extends('shop::layouts.master') - -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') -@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper') - -@php - $total = $reviewHelper->getTotalReviews($product); - - $avgRatings = $reviewHelper->getAverageRating($product); - $avgStarRating = round($avgRatings); - - $productImages = []; - $images = productimage()->getGalleryImages($product); - - foreach ($images as $key => $image) { - array_push($productImages, $image['medium_image_url']); - } -@endphp - -@section('page_title') - {{ trim($product->meta_title) != "" ? $product->meta_title : $product->name }} -@stop - -@section('seo') - meta_description : \Illuminate\Support\Str::limit(strip_tags($product->description), 120, '') }}"/> - - - - @if (core()->getConfigData('catalog.rich_snippets.products.enable')) - - @endif - - getProductBaseImage($product, $images); ?> - - - - - - - - - - - - - - - - - - - - -@stop - -@push('css') - -@endpush - -@section('full-content-wrapper') - {!! view_render_event('bagisto.shop.products.view.before', ['product' => $product]) !!} -
-
-
- -
- @csrf() - - - -
- {{-- product-gallery --}} -
- @include ('shop::products.view.gallery') -
- - {{-- right-section --}} -
- {{-- product-info-section --}} -
-

{{ $product->name }}

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

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

- - {!! $product->short_description !!} -
- @endif - - {!! view_render_event('bagisto.shop.products.view.short_description.after', ['product' => $product]) !!} - - - {!! view_render_event('bagisto.shop.products.view.quantity.before', ['product' => $product]) !!} - - @if ($product->getTypeInstance()->showQuantityBox()) -
- -
- @else - - @endif - - {!! view_render_event('bagisto.shop.products.view.quantity.after', ['product' => $product]) !!} - - @include ('shop::products.view.configurable-options') - - @include ('shop::products.view.downloadable') - - @include ('shop::products.view.grouped-products') - - @include ('shop::products.view.bundle-options') - - @include ('shop::products.view.attributes', [ - 'active' => true - ]) - - {{-- product long description --}} - @include ('shop::products.view.description') - - {{-- reviews count --}} - @include ('shop::products.view.reviews', ['accordian' => true]) -
-
-
-
-
-
- - - -
- @if( - isset($velocityMetaData['product_view_images']) - && $velocityMetaData['product_view_images'] - ) - @foreach (json_decode($velocityMetaData['product_view_images'], true) as $image) - @if ($image && $image !== '') - - @endif - @endforeach - @endif -
-
- {!! view_render_event('bagisto.shop.products.view.after', ['product' => $product]) !!} -@endsection - -@push('scripts') - - - - - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/attributes.blade.php b/resources/themes/velocity/views/products/view/attributes.blade.php deleted file mode 100644 index d66e74f28..000000000 --- a/resources/themes/velocity/views/products/view/attributes.blade.php +++ /dev/null @@ -1,50 +0,0 @@ -@inject ('productViewHelper', 'Webkul\Product\Helpers\View') - -{!! view_render_event('bagisto.shop.products.view.attributes.before', ['product' => $product]) !!} - @php - $customAttributeValues = $productViewHelper->getAdditionalData($product); - @endphp - - @if ($customAttributeValues) - -
-

- {{ __('velocity::app.products.more-infomation') }} -

- -
- -
- - - @foreach ($customAttributeValues as $attribute) - - @if ($attribute['label']) - - @else - - @endif - - @if ($attribute['type'] == 'file' && $attribute['value']) - - @elseif ($attribute['type'] == 'image' && $attribute['value']) - - @else - - @endif - - @endforeach -
{{ $attribute['label'] }}{{ $attribute['admin_name'] }} - - - - - - - - {{ $attribute['value'] }}
-
-
- @endif - -{!! view_render_event('bagisto.shop.products.view.attributes.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/bundle-options.blade.php b/resources/themes/velocity/views/products/view/bundle-options.blade.php deleted file mode 100644 index 1dfefed08..000000000 --- a/resources/themes/velocity/views/products/view/bundle-options.blade.php +++ /dev/null @@ -1,249 +0,0 @@ -@if ($product->type == 'bundle') - @push('css') - - @endpush - - {!! view_render_event('bagisto.shop.products.view.bundle-options.before', ['product' => $product]) !!} - - - - {!! view_render_event('bagisto.shop.products.view.bundle-options.after', ['product' => $product]) !!} - - @push('scripts') - - - - - - @endpush -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/configurable-options.blade.php b/resources/themes/velocity/views/products/view/configurable-options.blade.php deleted file mode 100644 index b9f3874f8..000000000 --- a/resources/themes/velocity/views/products/view/configurable-options.blade.php +++ /dev/null @@ -1,353 +0,0 @@ -@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) - - @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') - - @php - $config = $configurableOptionHelper->getConfigurationConfig($product); - $galleryImages = productimage()->getGalleryImages($product); - @endphp - - {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} - - - - {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} - - @push('scripts') - - - - @endpush -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/cross-sells.blade.php b/resources/themes/velocity/views/products/view/cross-sells.blade.php deleted file mode 100644 index f095c431b..000000000 --- a/resources/themes/velocity/views/products/view/cross-sells.blade.php +++ /dev/null @@ -1,61 +0,0 @@ -@foreach ($cart->items as $item) - product; - - if ($product->cross_sells()->count()) { - $products[] = $product; - $products = array_unique($products); - } - ?> -@endforeach - -@if (isset($products)) - - - - - - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/description.blade.php b/resources/themes/velocity/views/products/view/description.blade.php deleted file mode 100644 index ab76a8a0b..000000000 --- a/resources/themes/velocity/views/products/view/description.blade.php +++ /dev/null @@ -1,19 +0,0 @@ -{!! view_render_event('bagisto.shop.products.view.description.before', ['product' => $product]) !!} - - -
-

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

- - -
- -
-
- {!! $product->description !!} -
-
-
- -{!! view_render_event('bagisto.shop.products.view.description.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/downloadable.blade.php b/resources/themes/velocity/views/products/view/downloadable.blade.php deleted file mode 100644 index ba76b7af4..000000000 --- a/resources/themes/velocity/views/products/view/downloadable.blade.php +++ /dev/null @@ -1,64 +0,0 @@ -@if ($product->type == 'downloadable') - {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} - -
- - @if ($product->downloadable_samples->count()) -
-

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

- - -
- @endif - - @if ($product->downloadable_links->count()) - - @endif -
- - {!! view_render_event('bagisto.shop.products.view.downloadable.before', ['product' => $product]) !!} -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/gallery.blade.php b/resources/themes/velocity/views/products/view/gallery.blade.php deleted file mode 100644 index ed9788a7a..000000000 --- a/resources/themes/velocity/views/products/view/gallery.blade.php +++ /dev/null @@ -1,177 +0,0 @@ -@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') - -@php - $images = productimage()->getGalleryImages($product); - $videos = productvideo()->getVideos($product); - - $videoData = $imageData = []; - - foreach ($videos as $key => $video) { - $videoData[$key]['type'] = $video['type']; - $videoData[$key]['large_image_url'] = $videoData[$key]['small_image_url']= $videoData[$key]['medium_image_url']= $videoData[$key]['original_image_url'] = $video['video_url']; - } - - foreach ($images as $key => $image) { - $imageData[$key]['type'] = ''; - $imageData[$key]['large_image_url'] = $image['large_image_url']; - $imageData[$key]['small_image_url'] = $image['small_image_url']; - $imageData[$key]['medium_image_url'] = $image['medium_image_url']; - $imageData[$key]['original_image_url'] = $image['original_image_url']; - } - - $images = array_merge($imageData, $videoData); -@endphp - -{!! view_render_event('bagisto.shop.products.view.gallery.before', ['product' => $product]) !!} - -
-
- - -
- -
- -
- -
- -{!! view_render_event('bagisto.shop.products.view.gallery.after', ['product' => $product]) !!} - - - -@push('scripts') - -@endpush \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/grouped-products.blade.php b/resources/themes/velocity/views/products/view/grouped-products.blade.php deleted file mode 100644 index 06ca41b48..000000000 --- a/resources/themes/velocity/views/products/view/grouped-products.blade.php +++ /dev/null @@ -1,38 +0,0 @@ -@if ($product->type == 'grouped') - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} - -
- @if ($product->grouped_products->count()) -
-
    -
  • - {{ __('shop::app.products.name') }} - {{ __('shop::app.products.qty') }} -
  • - @foreach ($product->grouped_products as $groupedProduct) - @if($groupedProduct->associated_product->getTypeInstance()->isSaleable()) -
  • - - {{ $groupedProduct->associated_product->name }} - - @include ('shop::products.price', ['product' => $groupedProduct->associated_product]) - - - - - - -
  • - @endif - @endforeach -
-
- @endif -
- - {!! view_render_event('bagisto.shop.products.view.grouped_products.before', ['product' => $product]) !!} -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/related-products.blade.php b/resources/themes/velocity/views/products/view/related-products.blade.php deleted file mode 100644 index af9fd1759..000000000 --- a/resources/themes/velocity/views/products/view/related-products.blade.php +++ /dev/null @@ -1,49 +0,0 @@ -related_products()->get(); -?> - -@if ($relatedProducts->count()) - - - - - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/reviews.blade.php b/resources/themes/velocity/views/products/view/reviews.blade.php deleted file mode 100644 index b45d02b57..000000000 --- a/resources/themes/velocity/views/products/view/reviews.blade.php +++ /dev/null @@ -1,208 +0,0 @@ -@inject ('reviewHelper', 'Webkul\Product\Helpers\Review') -@inject ('customHelper', 'Webkul\Velocity\Helpers\Helper') - -@php - $reviews = $reviewHelper->getReviews($product)->paginate(10); - - if (! isset($total)) { - $total = $reviewHelper->getTotalReviews($product); - $avgRatings = $reviewHelper->getAverageRating($product); - $avgStarRating = round($avgRatings); - } - - $percentageRatings = $reviewHelper->getPercentageRating($product); -@endphp - -{!! view_render_event('bagisto.shop.products.review.before', ['product' => $product]) !!} - - @if ($total) - @if (isset($accordian) && $accordian) - - {{-- customer ratings --}} -
-

- {{ __('velocity::app.products.customer-rating') }} -

- - -
- -
-
-
-

{{ $avgRatings }} {{ __('shop::app.reviews.star') }}

- - - - - {{ __('shop::app.reviews.ratingreviews', [ - 'rating' => $avgRatings, - 'review' => $total]) - }} - - - @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) - - - - @endif -
- -
- - @for ($i = 5; $i >= 1; $i--) - -
- {{ $i }} {{ __('shop::app.reviews.star') }} - -
-
-
- - {{ $percentageRatings[$i] }} % -
- @endfor - -
-
-
-
- @else -
-
-
-

{{ $avgRatings }} {{ __('shop::app.reviews.star') }}

- - - - - {{ __('shop::app.reviews.ratingreviews', [ - 'rating' => $avgRatings, - 'review' => $total]) - }} - - - @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) - - - - @endif -
- -
- - @for ($i = 5; $i >= 1; $i--) - -
- {{ $i }} Star - -
-
-
- - {{ $percentageRatings[$i] }} % -
- @endfor - -
-
-
- @endif - - @if (isset($accordian) && $accordian) - - {{-- customer reviews --}} -
-

- {{ __('velocity::app.products.reviews-title') }} -

- - -
- -
- @foreach ($reviews as $review) -
-

{{ $review->title }}

- - - -
- {{ $review->comment }} -
- -
- {{ __('velocity::app.products.review-by') }} - - - - {{ $review->name }}, - - - {{ core()->formatDate($review->created_at, 'F d, Y') }} - -
-
- @endforeach - - {{ __('velocity::app.products.view-all-reviews') }} -
-
- @else -

- {{ __('velocity::app.products.reviews-title') }} -

- -
- @foreach ($reviews as $review) -
-

{{ $review->title }}

- - - -
- {{ $review->comment }} -
- -
- @if ("{{ $review->name }}") - {{ __('velocity::app.products.review-by') }} - - - - @endif - - {{ core()->formatDate($review->created_at, 'F d, Y') }} - -
-
- @endforeach -
- @endif - - @else - @if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check()) - - @endif - @endif - -{!! view_render_event('bagisto.shop.products.review.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/small-view.blade.php b/resources/themes/velocity/views/products/view/small-view.blade.php deleted file mode 100644 index 26a7aa7a6..000000000 --- a/resources/themes/velocity/views/products/view/small-view.blade.php +++ /dev/null @@ -1,13 +0,0 @@ -@php - $productBaseImage = productimage()->getProductBaseImage($product); -@endphp - - \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/stock.blade.php b/resources/themes/velocity/views/products/view/stock.blade.php deleted file mode 100644 index bb694f6b4..000000000 --- a/resources/themes/velocity/views/products/view/stock.blade.php +++ /dev/null @@ -1,17 +0,0 @@ -{!! view_render_event('bagisto.shop.products.view.stock.before', ['product' => $product]) !!} - -
- -
- -{!! view_render_event('bagisto.shop.products.view.stock.after', ['product' => $product]) !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/products/view/up-sells.blade.php b/resources/themes/velocity/views/products/view/up-sells.blade.php deleted file mode 100644 index ec527b146..000000000 --- a/resources/themes/velocity/views/products/view/up-sells.blade.php +++ /dev/null @@ -1,49 +0,0 @@ -up_sells()->get(); -?> - -@if ($productUpSells->count()) - - - - - -@endif \ No newline at end of file diff --git a/resources/themes/velocity/views/products/wishlist.blade.php b/resources/themes/velocity/views/products/wishlist.blade.php deleted file mode 100644 index 66573a0a1..000000000 --- a/resources/themes/velocity/views/products/wishlist.blade.php +++ /dev/null @@ -1,39 +0,0 @@ -@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist') - -{!! view_render_event('bagisto.shop.products.wishlist.before') !!} - - @auth('customer') - @php - /* search wishlist on the basis of product's id so that wishlist id can be catched */ - $wishlist = $wishListHelper->getWishlistProduct($product); - - /* link making */ - $href = isset($route) ? $route : ($wishlist ? route('customer.wishlist.remove', $wishlist->id) : route('customer.wishlist.add', $product->product_id)); - - /* title */ - $title = $wishlist ? __('velocity::app.shop.wishlist.remove-wishlist-text') : __('velocity::app.shop.wishlist.add-wishlist-text'); - @endphp - - - - - - @if (isset($text)) - {!! $text !!} - @endif - - @endauth - - @guest('customer') - - - - @endauth - -{!! view_render_event('bagisto.shop.products.wishlist.after') !!} \ No newline at end of file diff --git a/resources/themes/velocity/views/search/search.blade.php b/resources/themes/velocity/views/search/search.blade.php deleted file mode 100644 index 962f820e1..000000000 --- a/resources/themes/velocity/views/search/search.blade.php +++ /dev/null @@ -1,155 +0,0 @@ -@inject ('toolbarHelper', 'Webkul\Product\Helpers\Toolbar') - -@extends('shop::layouts.master') - -@section('page_title') - {{ __('shop::app.search.page-title') }} -@endsection - -@push('css') - -@endpush - -@section('content-wrapper') -
- -
-@endsection - -@push('scripts') - - - - - -@endpush \ No newline at end of file