Merge pull request #5255 from devansh-webkul/frontend-breadcrumb

Breadcrumb feature added in shop account section for both themes #5158
This commit is contained in:
Devansh 2021-10-25 17:43:42 +05:30 committed by GitHub
commit 18d1cf0eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 1863 additions and 1501 deletions

View File

@ -16,6 +16,7 @@
"bagistobrasil/bagisto-product-social-share": "^0.1.2",
"barryvdh/laravel-debugbar": "^3.1",
"barryvdh/laravel-dompdf": "^0.8.5|^0.9.0",
"diglactic/laravel-breadcrumbs": "^7.0",
"doctrine/dbal": "^2.9",
"enshrined/svg-sanitize": "^0.14.0",
"facade/ignition": "^2.3.6",

75
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "46b4c37f75642ba14f3a2913f0f345cd",
"content-hash": "ad730dd868891497848ecf7836bbff4b",
"packages": [
{
"name": "algolia/algoliasearch-client-php",
@ -771,6 +771,77 @@
],
"time": "2021-08-15T20:50:18+00:00"
},
{
"name": "diglactic/laravel-breadcrumbs",
"version": "v7.0.1",
"source": {
"type": "git",
"url": "https://github.com/diglactic/laravel-breadcrumbs.git",
"reference": "0a14e8785fa9423c878edd3975af2a92dfcdaf42"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/diglactic/laravel-breadcrumbs/zipball/0a14e8785fa9423c878edd3975af2a92dfcdaf42",
"reference": "0a14e8785fa9423c878edd3975af2a92dfcdaf42",
"shasum": ""
},
"require": {
"facade/ignition-contracts": "^1.0",
"laravel/framework": "^6.0 || ^7.0 || ^8.0",
"php": "^7.2 || ^8.0"
},
"conflict": {
"davejamesmiller/laravel-breadcrumbs": "*"
},
"require-dev": {
"orchestra/testbench": "^4.10 || ^5.9 || ^6.4",
"php-coveralls/php-coveralls": "^2.4",
"phpunit/phpunit": "^8.5 || ^9.4",
"spatie/phpunit-snapshot-assertions": "^2.2 || ^4.2"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Diglactic\\Breadcrumbs\\ServiceProvider"
],
"aliases": {
"Breadcrumbs": "Diglactic\\Breadcrumbs\\Breadcrumbs"
}
}
},
"autoload": {
"psr-4": {
"Diglactic\\Breadcrumbs\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Sheng Slogar",
"email": "sheng@diglactic.com",
"role": "Maintainer"
},
{
"name": "Dave James Miller",
"email": "dave@davejamesmiller.com",
"role": "Original Creator"
}
],
"description": "A simple Laravel-style way to create breadcrumbs.",
"homepage": "https://github.com/diglactic/laravel-breadcrumbs",
"keywords": [
"laravel"
],
"support": {
"issues": "https://github.com/diglactic/laravel-breadcrumbs/issues",
"source": "https://github.com/diglactic/laravel-breadcrumbs/tree/v7.0.1"
},
"time": "2021-09-23T20:31:25+00:00"
},
{
"name": "doctrine/cache",
"version": "2.1.1",
@ -11699,5 +11770,5 @@
"php": "^7.3|^8.0"
},
"platform-dev": [],
"plugin-api-version": "2.1.0"
"plugin-api-version": "2.0.0"
}

75
config/breadcrumbs.php Normal file
View File

@ -0,0 +1,75 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| View Name
|--------------------------------------------------------------------------
|
| Choose a view to display when Breadcrumbs::render() is called.
| Built in templates are:
|
| - 'breadcrumbs::bootstrap5' - Bootstrap 5
| - 'breadcrumbs::bootstrap4' - Bootstrap 4
| - 'breadcrumbs::bulma' - Bulma
| - 'breadcrumbs::foundation6' - Foundation 6
| - 'breadcrumbs::json-ld' - JSON-LD Structured Data
| - 'breadcrumbs::materialize' - Materialize
| - 'breadcrumbs::tailwind' - Tailwind CSS
| - 'breadcrumbs::uikit' - UIkit
|
| Or a custom view, e.g. '_partials/breadcrumbs'.
|
*/
'view' => 'breadcrumbs::bootstrap5',
/*
|--------------------------------------------------------------------------
| Breadcrumbs File(s)
|--------------------------------------------------------------------------
|
| The file(s) where breadcrumbs are defined. e.g.
|
| - base_path('routes/breadcrumbs.php')
| - glob(base_path('breadcrumbs/*.php'))
|
*/
'files' => base_path('routes/breadcrumbs.php'),
/*
|--------------------------------------------------------------------------
| Exceptions
|--------------------------------------------------------------------------
|
| Determine when to throw an exception.
|
*/
// When route-bound breadcrumbs are used but the current route doesn't have a name (UnnamedRouteException)
'unnamed-route-exception' => true,
// When route-bound breadcrumbs are used and the matching breadcrumb doesn't exist (InvalidBreadcrumbException)
'missing-route-bound-breadcrumb-exception' => true,
// When a named breadcrumb is used but doesn't exist (InvalidBreadcrumbException)
'invalid-named-breadcrumb-exception' => true,
/*
|--------------------------------------------------------------------------
| Classes
|--------------------------------------------------------------------------
|
| Subclass the default classes for more advanced customisations.
|
*/
// Manager
'manager-class' => Diglactic\Breadcrumbs\Manager::class,
// Generator
'generator-class' => Diglactic\Breadcrumbs\Generator::class,
];

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=9731ecdc1df78464d45a",
"/css/shop.css": "/css/shop.css?id=84f6189d560662d5c4b3"
"/css/shop.css": "/css/shop.css?id=09fe143fc28a83a41b59"
}

View File

@ -0,0 +1,90 @@
<?php
use Diglactic\Breadcrumbs\Breadcrumbs;
use Diglactic\Breadcrumbs\Generator as BreadcrumbTrail;
/**
* Profile routes.
*/
Breadcrumbs::for('customer.profile.index', function (BreadcrumbTrail $trail) {
$trail->push(trans('shop::app.customer.account.profile.index.title'), route('customer.profile.index'));
});
Breadcrumbs::for('customer.profile.edit', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('velocity::app.shop.general.update'), route('customer.profile.edit'));
});
/**
* Order routes.
*/
Breadcrumbs::for('customer.orders.index', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('shop::app.customer.account.order.index.page-title'), route('customer.orders.index'));
});
Breadcrumbs::for('customer.orders.view', function (BreadcrumbTrail $trail, $id) {
$trail->parent('customer.orders.index');
$trail->push(trans('velocity::app.shop.general.view'), route('customer.orders.view', $id));
});
/**
* Downloadable products.
*/
Breadcrumbs::for('customer.downloadable_products.index', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('shop::app.customer.account.downloadable_products.title'), route('customer.downloadable_products.index'));
});
/**
* Wishlists.
*/
Breadcrumbs::for('customer.wishlist.index', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('shop::app.customer.account.wishlist.page-title'), route('customer.wishlist.index'));
});
/**
* Compare.
*/
Breadcrumbs::for('velocity.customer.product.compare', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('velocity::app.customer.compare.compare_similar_items'), route('velocity.customer.product.compare'));
});
/**
* Reviews.
*/
Breadcrumbs::for('customer.reviews.index', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('shop::app.customer.account.review.index.page-title'), route('customer.reviews.index'));
});
/**
* Addresses.
*/
Breadcrumbs::for('customer.address.index', function (BreadcrumbTrail $trail) {
$trail->parent('customer.profile.index');
$trail->push(trans('shop::app.customer.account.address.index.page-title'), route('customer.address.index'));
});
Breadcrumbs::for('customer.address.create', function (BreadcrumbTrail $trail) {
$trail->parent('customer.address.index');
$trail->push(trans('shop::app.customer.account.address.create.page-title'), route('customer.address.create'));
});
Breadcrumbs::for('customer.address.edit', function (BreadcrumbTrail $trail, $id) {
$trail->parent('customer.address.index');
$trail->push(trans('shop::app.customer.account.address.edit.page-title'), route('customer.address.edit', $id));
});

View File

@ -2,13 +2,13 @@
namespace Webkul\Shop\Providers;
use Webkul\Core\Tree;
use Illuminate\Routing\Router;
use Illuminate\Pagination\Paginator;
use Webkul\Shop\Http\Middleware\Theme;
use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
use Webkul\Shop\Http\Middleware\Locale;
use Webkul\Core\Tree;
use Webkul\Shop\Http\Middleware\Currency;
use Webkul\Shop\Http\Middleware\Locale;
use Webkul\Shop\Http\Middleware\Theme;
class ShopServiceProvider extends ServiceProvider
{
@ -43,6 +43,9 @@ class ShopServiceProvider extends ServiceProvider
/* paginators */
Paginator::defaultView('shop::partials.pagination');
Paginator::defaultSimpleView('shop::partials.pagination');
/* breadcrumbs */
require __DIR__ . '/../Http/breadcrumbs.php';
}
/**

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,6 @@
<country-state></country-state>
@push('scripts')
<script type="text/x-template" id="country-state-template">
<div>
<div class="control-group" :class="[errors.has('country') ? 'has-error' : '']">

View File

@ -2,29 +2,25 @@
$currentCustomer = auth()->guard('customer')->user();
@endphp
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.address.create.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head mb-15">
<span class="back-icon"><a href="{{ route('customer.address.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span class="account-heading">{{ __('shop::app.customer.account.address.create.title') }}</span>
<span></span>
</div>
{!! view_render_event('bagisto.shop.customers.account.address.create.before') !!}
<form id="customer-address-form" method="post" action="{{ route('customer.address.store') }}" @submit.prevent="onSubmit">
<div class="account-table-content">
@csrf
@ -32,7 +28,9 @@
<div class="control-group" :class="[errors.has('company_name') ? 'has-error' : '']">
<label for="company_name">{{ __('shop::app.customer.account.address.create.company_name') }}</label>
<input value="{{ old('company_name') }}" type="text" class="control" name="company_name" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.company_name') }}&quot;">
<span class="control-error" v-if="errors.has('company_name')">@{{ errors.first('company_name') }}</span>
</div>
@ -40,7 +38,9 @@
<div class="control-group" :class="[errors.has('first_name') ? 'has-error' : '']">
<label for="first_name" class="required">{{ __('shop::app.customer.account.address.create.first_name') }}</label>
<input value="{{ old('first_name') ?? $currentCustomer->first_name }}" type="text" class="control" name="first_name" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.first_name') }}&quot;">
<span class="control-error" v-if="errors.has('first_name')">@{{ errors.first('first_name') }}</span>
</div>
@ -48,7 +48,9 @@
<div class="control-group" :class="[errors.has('last_name') ? 'has-error' : '']">
<label for="last_name" class="required">{{ __('shop::app.customer.account.address.create.last_name') }}</label>
<input value="{{ old('last_name') ?? $currentCustomer->last_name }}" type="text" class="control" name="last_name" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.last_name') }}&quot;">
<span class="control-error" v-if="errors.has('last_name')">@{{ errors.first('last_name') }}</span>
</div>
@ -58,8 +60,15 @@
<label for="vat_id">{{ __('shop::app.customer.account.address.create.vat_id') }}
<span class="help-note">{{ __('shop::app.customer.account.address.create.vat_help_note') }}</span>
</label>
<input type="text" class="control" name="vat_id" value="{{ old('vat_id') }}"
v-validate="''" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.vat_id') }}&quot;">
<input
type="text"
class="control"
name="vat_id"
value="{{ old('vat_id') }}"
v-validate="''"
data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.vat_id') }}&quot;">
<span class="control-error" v-if="errors.has('vat_id')">@{{ errors.first('vat_id') }}</span>
</div>
@ -67,7 +76,9 @@
<div class="control-group" :class="[errors.has('address1[]') ? 'has-error' : '']">
<label for="address1" class="required">{{ __('shop::app.customer.account.address.create.street-address') }}</label>
<input type="text" class="control" name="address1[]" value="{{ old('address1') }}" id="address1" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.street-address') }}&quot;">
<span class="control-error" v-if="errors.has('address1[]')">@{{ errors.first('address1[]') }}</span>
</div>
@ -87,7 +98,9 @@
<div class="control-group" :class="[errors.has('city') ? 'has-error' : '']">
<label for="city" class="required">{{ __('shop::app.customer.account.address.create.city') }}</label>
<input value="{{ old('city') }}" type="text" class="control" name="city" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.city') }}&quot;">
<span class="control-error" v-if="errors.has('city')">@{{ errors.first('city') }}</span>
</div>
@ -95,7 +108,9 @@
<div class="control-group" :class="[errors.has('postcode') ? 'has-error' : '']">
<label for="postcode" class="required">{{ __('shop::app.customer.account.address.create.postcode') }}</label>
<input value="{{ old('postcode') }}" type="text" class="control" name="postcode" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.postcode') }}&quot;">
<span class="control-error" v-if="errors.has('postcode')">@{{ errors.first('postcode') }}</span>
</div>
@ -103,7 +118,9 @@
<div class="control-group" :class="[errors.has('phone') ? 'has-error' : '']">
<label for="phone" class="required">{{ __('shop::app.customer.account.address.create.phone') }}</label>
<input value="{{ old('phone') }}" type="text" class="control" name="phone" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.phone') }}&quot;">
<span class="control-error" v-if="errors.has('phone')">@{{ errors.first('phone') }}</span>
</div>
@ -121,18 +138,10 @@
<div class="button-group">
<input class="btn btn-primary btn-lg" type="submit" value="{{ __('shop::app.customer.account.address.create.submit') }}">
{{-- <button class="btn btn-primary btn-lg" type="submit">
{{ __('shop::app.customer.account.address.edit.submit') }}
</button> --}}
</div>
</div>
</form>
{!! view_render_event('bagisto.shop.customers.account.address.create.after') !!}
</div>
</div>
@endsection

View File

@ -1,19 +1,16 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.address.edit.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head mb-15">
<span class="back-icon"><a href="{{ route('customer.address.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span class="account-heading">{{ __('shop::app.customer.account.address.edit.title') }}</span>
<span></span>
</div>
@ -23,13 +20,16 @@
<div class="account-table-content">
@method('PUT')
@csrf
{!! view_render_event('bagisto.shop.customers.account.address.edit_form_controls.before', ['address' => $address]) !!}
<div class="control-group" :class="[errors.has('company_name') ? 'has-error' : '']">
<label for="company_name">{{ __('shop::app.customer.account.address.edit.company_name') }}</label>
<input type="text" value="{{ old('company_name') ?: $address->company_name }}" class="control" name="company_name" data-vv-as="&quot;{{ __('shop::app.customer.account.address.edit.company_name') }}&quot;">
<span class="control-error" v-if="errors.has('company_name')">@{{ errors.first('company_name') }}</span>
</div>
@ -37,7 +37,9 @@
<div class="control-group" :class="[errors.has('first_name') ? 'has-error' : '']">
<label for="first_name" class="required">{{ __('shop::app.customer.account.address.create.first_name') }}</label>
<input type="text" class="control" name="first_name" v-validate="'required'" value="{{ old('first_name') ?: $address->first_name }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.first_name') }}&quot;">
<span class="control-error" v-if="errors.has('first_name')">@{{ errors.first('first_name') }}</span>
</div>
@ -45,7 +47,9 @@
<div class="control-group" :class="[errors.has('last_name') ? 'has-error' : '']">
<label for="last_name" class="required">{{ __('shop::app.customer.account.address.create.last_name') }}</label>
<input type="text" class="control" name="last_name" v-validate="'required'" value="{{ old('last_name') ?: $address->last_name }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.last_name') }}&quot;">
<span class="control-error" v-if="errors.has('last_name')">@{{ errors.first('last_name') }}</span>
</div>
@ -55,8 +59,14 @@
<label for="vat_id">{{ __('shop::app.customer.account.address.create.vat_id') }}
<span class="help-note">{{ __('shop::app.customer.account.address.create.vat_help_note') }}</span>
</label>
<input type="text" class="control" name="vat_id" value="{{ old('vat_id') ?: $address->vat_id }}"
<input
type="text"
class="control"
name="vat_id"
value="{{ old('vat_id') ?: $address->vat_id }}"
v-validate="''" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.vat_id') }}&quot;">
<span class="control-error" v-if="errors.has('vat_id')">@{{ errors.first('vat_id') }}</span>
</div>
@ -66,7 +76,9 @@
<div class="control-group" :class="[errors.has('address1[]') ? 'has-error' : '']">
<label for="address_0" class="required">{{ __('shop::app.customer.account.address.edit.street-address') }}</label>
<input type="text" class="control" name="address1[]" id="address_0" v-validate="'required'" value="{{ isset($addresses[0]) ? $addresses[0] : '' }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.street-address') }}&quot;">
<span class="control-error" v-if="errors.has('address1[]')">@{{ errors.first('address1[]') }}</span>
</div>
@ -86,7 +98,9 @@
<div class="control-group" :class="[errors.has('city') ? 'has-error' : '']">
<label for="city" class="required">{{ __('shop::app.customer.account.address.create.city') }}</label>
<input type="text" class="control" name="city" v-validate="'required|regex:^[a-zA-Z \-]*$'" value="{{ old('city') ?: $address->city }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.city') }}&quot;">
<span class="control-error" v-if="errors.has('city')">@{{ errors.first('city') }}</span>
</div>
@ -94,7 +108,9 @@
<div class="control-group" :class="[errors.has('postcode') ? 'has-error' : '']">
<label for="postcode" class="required">{{ __('shop::app.customer.account.address.create.postcode') }}</label>
<input type="text" class="control" name="postcode" v-validate="'required'" value="{{ old('postcode') ?: $address->postcode }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.postcode') }}&quot;">
<span class="control-error" v-if="errors.has('postcode')">@{{ errors.first('postcode') }}</span>
</div>
@ -102,7 +118,9 @@
<div class="control-group" :class="[errors.has('phone') ? 'has-error' : '']">
<label for="phone" class="required">{{ __('shop::app.customer.account.address.create.phone') }}</label>
<input type="text" class="control" name="phone" v-validate="'required'" value="{{ old('phone') ?: $address->phone }}" data-vv-as="&quot;{{ __('shop::app.customer.account.address.create.phone') }}&quot;">
<span class="control-error" v-if="errors.has('phone')">@{{ errors.first('phone') }}</span>
</div>
@ -124,12 +142,8 @@
</button>
</div>
</div>
</form>
{!! view_render_event('bagisto.shop.customers.account.address.edit.after', ['address' => $address]) !!}
</div>
</div>
@endsection

View File

@ -1,21 +1,19 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.address.index.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span
class="account-heading">{{ __('shop::app.customer.account.address.index.title') }}</span>
<span class="back-icon">
<a href="{{ route('customer.profile.index') }}">
<i class="icon icon-menu-back"></i>
</a>
</span>
<span class="account-heading">{{ __('shop::app.customer.account.address.index.title') }}</span>
@if (! $addresses->isEmpty())
<span class="account-action">
@ -24,6 +22,7 @@
@else
<span></span>
@endif
<div class="horizontal-rule"></div>
</div>
@ -32,15 +31,17 @@
<div class="account-table-content">
@if ($addresses->isEmpty())
<div>{{ __('shop::app.customer.account.address.index.empty') }}</div>
<br/>
<a href="{{ route('customer.address.create') }}">{{ __('shop::app.customer.account.address.index.add') }}</a>
@else
<div class="address-holder">
@foreach ($addresses as $address)
<div class="address-card">
<div class="details">
<span
class="bold">{{ auth()->guard('customer')->user()->name }}</span>
<span class="bold">{{ auth()->guard('customer')->user()->name }}</span>
<ul class="address-card-list">
<li class="mt-5">
{{ $address->company_name }}
@ -103,7 +104,6 @@
{!! view_render_event('bagisto.shop.customers.account.address.list.after', ['addresses' => $addresses]) !!}
</div>
</div>
@endsection
@push('scripts')

View File

@ -1,4 +1,4 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@include('shop::guest.compare.compare-products')
@ -6,11 +6,7 @@
{{ __('shop::app.customer.compare.compare_similar_items') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
{!! view_render_event('bagisto.shop.customers.account.comparison.list.before') !!}
@ -21,9 +17,5 @@
</div>
{!! view_render_event('bagisto.shop.customers.account.comparison.list.after') !!}
</div>
</div>
@endsection

View File

@ -1,18 +1,14 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.downloadable_products.title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head mb-10">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span class="account-heading">
{{ __('shop::app.customer.account.downloadable_products.title') }}
</span>
@ -24,16 +20,10 @@
<div class="account-items-list">
<div class="account-table-content">
{!! app('Webkul\Shop\DataGrids\DownloadableProductDataGrid')->render() !!}
</div>
</div>
{!! view_render_event('bagisto.shop.customers.account.downloadable_products.list.after') !!}
</div>
</div>
@endsection

View File

@ -1,9 +1,17 @@
@extends('shop::layouts.master')
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
<h1>Account Index Page</h1>
<div>
@if (request()->route()->getName() !== 'customer.profile.index')
@if (Breadcrumbs::exists())
{{ Breadcrumbs::render() }}
@endif
@endif
</div>
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@yield('account-content')
</div>
@endsection

View File

@ -1,18 +1,14 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.order.index.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head mb-10">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span class="account-heading">
{{ __('shop::app.customer.account.order.index.title') }}
</span>
@ -24,16 +20,10 @@
<div class="account-items-list">
<div class="account-table-content">
{!! app('Webkul\Shop\DataGrids\OrderDataGrid')->render() !!}
</div>
</div>
{!! view_render_event('bagisto.shop.customers.account.orders.list.after') !!}
</div>
</div>
@endsection

View File

@ -122,34 +122,43 @@
<body style="background-image: none;background-color: #fff;">
<div class="container">
<div class="header">
<div class="row">
<div class="col-12">
<h1 class="text-center">{{ __('admin::app.sales.invoices.invoice') }}</h1>
</div>
</div>
@if (core()->getConfigData('sales.invoice_setttings.invoice_slip_design.logo'))
<div class="image">
<img class="logo" src="{{ Storage::url(core()->getConfigData('sales.invoice_setttings.invoice_slip_design.logo')) }}" alt=""/>
</div>
@endif
<div class="merchant-details">
<div><span class="merchant-details-title">{{ core()->getConfigData('sales.shipping.origin.store_name') ? core()->getConfigData('sales.shipping.origin.store_name') : '' }}</span></div>
<div>{{ core()->getConfigData('sales.shipping.origin.address1') ? core()->getConfigData('sales.shipping.origin.address1') : '' }}</div>
<div>
<span>{{ core()->getConfigData('sales.shipping.origin.zipcode') ? core()->getConfigData('sales.shipping.origin.zipcode') : '' }}</span>
<span>{{ core()->getConfigData('sales.shipping.origin.city') ? core()->getConfigData('sales.shipping.origin.city') : '' }}</span></div>
<span>{{ core()->getConfigData('sales.shipping.origin.city') ? core()->getConfigData('sales.shipping.origin.city') : '' }}</span>
</div>
<div>{{ core()->getConfigData('sales.shipping.origin.state') ? core()->getConfigData('sales.shipping.origin.state') : '' }}</div>
<div>{{ core()->getConfigData('sales.shipping.origin.country') ? core()->country_name(core()->getConfigData('sales.shipping.origin.country')) : '' }}</div>
</div>
<div class="merchant-details">
@if (core()->getConfigData('sales.shipping.origin.contact'))
<div><span class="merchant-details-title">{{ __('admin::app.admin.system.contact-number') }}:</span> {{ core()->getConfigData('sales.shipping.origin.contact') }}</div>
@endif
@if (core()->getConfigData('sales.shipping.origin.vat_number'))
<div><span class="merchant-details-title">{{ __('admin::app.admin.system.vat-number') }}:</span> {{ core()->getConfigData('sales.shipping.origin.vat_number') }}</div>
@endif
@if (core()->getConfigData('sales.shipping.origin.bank_details'))
<div><span class="merchant-details-title">{{ __('admin::app.admin.system.bank-details') }}:</span> {{ core()->getConfigData('sales.shipping.origin.bank_details') }}</div>
@endif
@ -157,7 +166,6 @@
</div>
<div class="invoice-summary">
<div class="row">
<span class="label">{{ __('shop::app.customer.account.order.view.invoice-id') }} -</span>
<span class="value">#{{ $invoice->increment_id ?? $invoice->id }}</span>
@ -279,7 +287,6 @@
</thead>
<tbody>
@foreach ($invoice->items as $item)
<tr>
<td>{{ $item->child ? $item->child->sku : $item->sku }}</td>
@ -309,12 +316,10 @@
<td>{{ core()->formatPrice(($item->total + $item->tax_amount), $invoice->order->order_currency_code) }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
<table class="sale-summary">
<tr>
<td>{{ __('shop::app.customer.account.order.view.subtotal') }}</td>
@ -348,9 +353,7 @@
<td>{{ core()->formatPrice($invoice->grand_total, $invoice->order->order_currency_code) }}</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View File

@ -1,14 +1,10 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head">
@ -17,8 +13,8 @@
<span class="account-heading">
{{ __('shop::app.customer.account.order.view.page-tile', ['order_id' => $order->increment_id]) }}
</span>
<span></span>
<span></span>
@if ($order->canCancel())
<form id="cancelOrderForm" action="{{ route('customer.orders.cancel', $order->id) }}" method="post">
@ -34,10 +30,8 @@
{!! view_render_event('bagisto.shop.customers.account.orders.view.before', ['order' => $order]) !!}
<div class="sale-container">
<tabs>
<tab name="{{ __('shop::app.customer.account.order.view.info') }}" :selected="true">
<div class="sale-section">
<div class="section-content">
<div class="row">
@ -74,7 +68,6 @@
</thead>
<tbody>
@foreach ($order->items as $item)
<tr>
<td data-value="{{ __('shop::app.customer.account.order.view.SKU') }}">
@ -139,7 +132,6 @@
</tr>
@endforeach
</tbody>
</table>
</div>
@ -216,9 +208,7 @@
@if ($order->invoices->count())
<tab name="{{ __('shop::app.customer.account.order.view.invoices') }}">
@foreach ($order->invoices as $invoice)
<div class="sale-section">
<div class="secton-title">
<span>{{ __('shop::app.customer.account.order.view.individual-invoice', ['invoice_id' => $invoice->increment_id ?? $invoice->id]) }}</span>
@ -244,7 +234,6 @@
</thead>
<tbody>
@foreach ($invoice->items as $item)
<tr>
<td data-value="{{ __('shop::app.customer.account.order.view.SKU') }}">
@ -317,17 +306,13 @@
</div>
</div>
</div>
@endforeach
</tab>
@endif
@if ($order->shipments->count())
<tab name="{{ __('shop::app.customer.account.order.view.shipments') }}">
@foreach ($order->shipments as $shipment)
<div class="sale-section">
<div class="section-content">
<div class="row">
@ -360,33 +345,25 @@
</thead>
<tbody>
@foreach ($shipment->items as $item)
<tr>
<td data-value="{{ __('shop::app.customer.account.order.view.SKU') }}">{{ $item->sku }}</td>
<td data-value="{{ __('shop::app.customer.account.order.view.product-name') }}">{{ $item->name }}</td>
<td data-value="{{ __('shop::app.customer.account.order.view.qty') }}">{{ $item->qty }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@endforeach
</tab>
@endif
@if ($order->refunds->count())
<tab name="{{ __('shop::app.customer.account.order.view.refunds') }}">
@foreach ($order->refunds as $refund)
<div class="sale-section">
<div class="secton-title">
<span>{{ __('shop::app.customer.account.order.view.individual-refund', ['refund_id' => $refund->id]) }}</span>
@ -408,7 +385,6 @@
</thead>
<tbody>
@foreach ($refund->items as $item)
<tr>
<td data-value="{{ __('shop::app.customer.account.order.view.SKU') }}">{{ $item->child ? $item->child->sku : $item->sku }}</td>
@ -483,9 +459,7 @@
</div>
</div>
</div>
@endforeach
</tab>
@endif
</tabs>
@ -554,15 +528,10 @@
</div>
</div>
</div>
</div>
{!! view_render_event('bagisto.shop.customers.account.orders.view.after', ['order' => $order]) !!}
</div>
</div>
@endsection
@push('scripts')

View File

@ -1,16 +1,11 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.profile.edit-profile.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head mb-10">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
@ -22,7 +17,6 @@
{!! view_render_event('bagisto.shop.customers.account.profile.edit.before', ['customer' => $customer]) !!}
<form method="post" action="{{ route('customer.profile.store') }}" @submit.prevent="onSubmit">
<div class="edit-form">
@csrf
@ -32,6 +26,7 @@
<label for="first_name" class="required">{{ __('shop::app.customer.account.profile.fname') }}</label>
<input type="text" class="control" name="first_name" value="{{ old('first_name') ?? $customer->first_name }}" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.fname') }}&quot;">
<span class="control-error" v-if="errors.has('first_name')">@{{ errors.first('first_name') }}</span>
</div>
@ -41,6 +36,7 @@
<label for="last_name" class="required">{{ __('shop::app.customer.account.profile.lname') }}</label>
<input type="text" class="control" name="last_name" value="{{ old('last_name') ?? $customer->last_name }}" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.lname') }}&quot;">
<span class="control-error" v-if="errors.has('last_name')">@{{ errors.first('last_name') }}</span>
</div>
@ -55,6 +51,7 @@
<option value="Male" @if ($customer->gender == "Male") selected @endif>{{ __('shop::app.customer.account.profile.male') }}</option>
<option value="Female" @if ($customer->gender == "Female") selected @endif>{{ __('shop::app.customer.account.profile.female') }}</option>
</select>
<span class="control-error" v-if="errors.has('gender')">@{{ errors.first('gender') }}</span>
</div>
@ -62,7 +59,9 @@
<div class="control-group" :class="[errors.has('date_of_birth') ? 'has-error' : '']">
<label for="date_of_birth">{{ __('shop::app.customer.account.profile.dob') }}</label>
<input type="date" class="control" name="date_of_birth" value="{{ old('date_of_birth') ?? $customer->date_of_birth }}" v-validate="" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.dob') }}&quot;">
<span class="control-error" v-if="errors.has('date_of_birth')">@{{ errors.first('date_of_birth') }}</span>
</div>
@ -70,7 +69,9 @@
<div class="control-group" :class="[errors.has('email') ? 'has-error' : '']">
<label for="email" class="required">{{ __('shop::app.customer.account.profile.email') }}</label>
<input type="email" class="control" name="email" value="{{ old('email') ?? $customer->email }}" v-validate="'required'" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.email') }}&quot;">
<span class="control-error" v-if="errors.has('email')">@{{ errors.first('email') }}</span>
</div>
@ -78,7 +79,9 @@
<div class="control-group" :class="[errors.has('phone') ? 'has-error' : '']">
<label for="phone">{{ __('shop::app.customer.account.profile.phone') }}</label>
<input type="text" class="control" name="phone" value="{{ old('phone') ?? $customer->phone }}" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.phone') }}&quot;">
<span class="control-error" v-if="errors.has('phone')">@{{ errors.first('phone') }}</span>
</div>
@ -86,7 +89,9 @@
<div class="control-group" :class="[errors.has('oldpassword') ? 'has-error' : '']">
<label for="password">{{ __('shop::app.customer.account.profile.opassword') }}</label>
<input type="password" class="control" name="oldpassword" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.opassword') }}&quot;" v-validate="'min:6'">
<span class="control-error" v-if="errors.has('oldpassword')">@{{ errors.first('oldpassword') }}</span>
</div>
@ -96,6 +101,7 @@
<label for="password">{{ __('shop::app.customer.account.profile.password') }}</label>
<input type="password" id="password" class="control" name="password" ref="password" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.password') }}&quot;" v-validate="'min:6'">
<span class="control-error" v-if="errors.has('password')">@{{ errors.first('password') }}</span>
</div>
@ -105,12 +111,14 @@
<label for="password">{{ __('shop::app.customer.account.profile.cpassword') }}</label>
<input type="password" id="password_confirmation" class="control" name="password_confirmation" data-vv-as="&quot;{{ __('shop::app.customer.account.profile.cpassword') }}&quot;" v-validate="'min:6|confirmed:password'">
<span class="control-error" v-if="errors.has('password_confirmation')">@{{ errors.first('password_confirmation') }}</span>
</div>
@if (core()->getConfigData('customer.settings.newsletter.subscription'))
<div class="control-group">
<input type="checkbox" id="checkbox2" name="subscribed_to_news_letter"@if (isset($customer->subscription)) value="{{ $customer->subscription->is_subscribed }}" {{ $customer->subscription->is_subscribed ? 'checked' : ''}} @endif>
<span>{{ __('shop::app.customer.signup-form.subscribe-to-newsletter') }}</span>
</div>
@endif
@ -121,12 +129,8 @@
<input class="btn btn-primary btn-lg" type="submit" value="{{ __('shop::app.customer.account.profile.submit') }}">
</div>
</div>
</form>
{!! view_render_event('bagisto.shop.customers.account.profile.edit.after', ['customer' => $customer]) !!}
</div>
</div>
@endsection

View File

@ -1,19 +1,12 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.profile.index.title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
<span class="account-heading">{{ __('shop::app.customer.account.profile.index.title') }}</span>
@ -30,9 +23,8 @@
<div class="account-table-content" style="width: 50%;">
<table style="color: #5E5E5E;">
<tbody>
{!! view_render_event(
'bagisto.shop.customers.account.profile.view.table.before', ['customer' => $customer])
!!}
{!! view_render_event('bagisto.shop.customers.account.profile.view.table.before', ['customer' => $customer]) !!}
<tr>
<td>{{ __('shop::app.customer.account.profile.fname') }}</td>
<td>{{ $customer->first_name }}</td>
@ -65,22 +57,11 @@
<td>{{ __('shop::app.customer.account.profile.email') }}</td>
<td>{{ $customer->email }}</td>
</tr>
{!! view_render_event(
'bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer])
!!}
{{-- @if ($customer->subscribed_to_news_letter == 1)
<tr>
<td> {{ __('shop::app.footer.subscribe-newsletter') }}</td>
<td>
<a class="btn btn-sm btn-primary" href="{{ route('shop.unsubscribe', $customer->email) }}">{{ __('shop::app.subscription.unsubscribe') }} </a>
</td>
</tr>
@endif --}}
{!! view_render_event('bagisto.shop.customers.account.profile.view.table.after', ['customer' => $customer]) !!}
</tbody>
</table>
<button type="submit" @click="showModal('deleteProfile')" class="btn btn-lg btn-primary mt-10">
{{ __('shop::app.customer.account.address.index.delete') }}
</button>
@ -110,5 +91,4 @@
{!! view_render_event('bagisto.shop.customers.account.profile.view.after', ['customer' => $customer]) !!}
</div>
</div>
@endsection

View File

@ -1,15 +1,11 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.review.index.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head">
<span class="back-icon"><a href="{{ route('customer.profile.index') }}"><i class="icon icon-menu-back"></i></a></span>
@ -19,6 +15,7 @@
<div class="account-action">
<form id="deleteAllReviewForm" action="{{ route('customer.review.deleteall') }}" method="post">
@method('delete')
@csrf
</form>
@ -29,6 +26,7 @@
@endif
<span></span>
<div class="horizontal-rule"></div>
</div>
@ -39,7 +37,8 @@
@foreach ($reviews as $review)
<div class="account-item-card mt-15 mb-15">
<div class="media-info">
<?php $image = productimage()->getProductBaseImage($review->product); ?>
@php $image = productimage()->getProductBaseImage($review->product); @endphp
<a href="{{ route('shop.productOrCategory.index', $review->product->url_key) }}" title="{{ $review->product->name }}">
<img class="media" src="{{ $image['small_image_url'] }}" alt=""/>
</a>
@ -86,10 +85,8 @@
{{ __('customer::app.reviews.empty') }}
</div>
@endif
</div>
{!! view_render_event('bagisto.shop.customers.account.reviews.list.after', ['reviews' => $reviews]) !!}
</div>
</div>
@endsection

View File

@ -1,13 +1,10 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.review.view.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
<div class="account-layout">
<div class="account-head">
<span class="account-heading">Reviews</span>
@ -37,6 +34,7 @@
</div>
</div>
</div>
<div class="horizontal-rule mb-10 mt-10"></div>
@endforeach
@else
@ -46,5 +44,4 @@
@endif
</div>
</div>
</div>
@endsection

View File

@ -1,17 +1,13 @@
@extends('shop::layouts.master')
@extends('shop::customers.account.index')
@section('page_title')
{{ __('shop::app.customer.account.wishlist.page-title') }}
@endsection
@section('content-wrapper')
<div class="account-content">
@include('shop::customers.account.partials.sidemenu')
@section('account-content')
@inject ('reviewHelper', 'Webkul\Product\Helpers\Review')
<div class="account-layout">
<div class="account-head mb-15">
<span class="account-heading">{{ __('shop::app.customer.account.wishlist.title') }}</span>
@ -37,7 +33,6 @@
{!! view_render_event('bagisto.shop.customers.account.wishlist.list.before', ['wishlist' => $items]) !!}
<div class="account-items-list">
@if ($items->count())
@foreach ($items as $item)
<div class="account-item-card mt-15 mb-15">
@ -105,7 +100,5 @@
</div>
{!! view_render_event('bagisto.shop.customers.account.wishlist.list.after', ['wishlist' => $items]) !!}
</div>
</div>
@endsection

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"/js/velocity.js": "/js/velocity.js?id=790c983acca1c5c5a5d4",
"/js/velocity-core.js": "/js/velocity-core.js?id=6d269d95c3cfc74183cb",
"/js/velocity.js": "/js/velocity.js?id=bc96099cee58b3db618f",
"/js/velocity-core.js": "/js/velocity-core.js?id=5c0fe2bf195ee94576fd",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=4322502d80a0e4a0affd",
"/css/velocity.css": "/css/velocity.css?id=82edad7c83138009f4db"
"/css/velocity.css": "/css/velocity.css?id=b5766995aee5d5324ddd"
}

View File

@ -215,7 +215,7 @@
height: 24px;
margin-right: 0;
position: absolute;
background-image: url("../images/Icon-remove.svg");
background-image: url('../images/Icon-remove.svg');
}
}
}
@ -343,7 +343,7 @@
top: -26px;
z-index: 1;
font-size: 16px;
color: #FFFFFF;
color: #ffffff;
position: absolute;
}
@ -356,7 +356,7 @@
padding: 5px 10px 7px 24px;
position: absolute;
opacity: 0.8;
background-color: #0D2438;
background-color: #0d2438;
}
}
@ -365,7 +365,8 @@
display: block;
}
.category-product-image-container, .product-image-container {
.category-product-image-container,
.product-image-container {
overflow: hidden;
img {
@ -505,7 +506,6 @@
padding: 20px;
width: 200px !important;
.customer-session {
padding: 10px 20px 0 20px;
@ -532,7 +532,7 @@
}
.cart-btn-collection {
button[type=button].btn-secondary {
button[type='button'].btn-secondary {
border: none;
font-size: 16px;
color: $black-color;
@ -590,11 +590,11 @@
display: inline-block;
margin-left: 1rem;
vertical-align: middle;
content: "";
border-top: .3em solid;
border-right: .3em solid transparent;
content: '';
border-top: 0.3em solid;
border-right: 0.3em solid transparent;
border-bottom: 0;
border-left: .3em solid transparent;
border-left: 0.3em solid transparent;
}
#cart-modal-content {
@ -760,6 +760,24 @@
}
.account-content {
ol.breadcrumb {
margin: 0 0 2 0;
padding: 0;
list-style: none;
background-color: transparent;
li.breadcrumb-item {
display: inline-block;
& + .breadcrumb-item::before {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
content: '/';
}
}
}
.sidebar {
height: 100%;
@ -808,31 +826,31 @@
padding-right: 5px;
&.profile::before {
content: "\E995";
content: '\E995';
}
&.address::before {
content: "\e949";
content: '\e949';
}
&.reviews::before {
content: "\e97d";
content: '\e97d';
}
&.wishlist::before {
content: "\e93e";
content: '\e93e';
}
&.orders::before {
content: "\e931";
content: '\e931';
}
&.downloadables::before {
content: "\e926";
content: '\e926';
}
&.compare::before {
content: "\e93b";
content: '\e93b';
}
}
}
@ -890,7 +908,7 @@
border: 1px solid $border-common;
}
input[type=search] {
input[type='search'] {
padding-left: 35px;
}
@ -1095,7 +1113,7 @@
&::before {
top: 1px;
content: "\e91f";
content: '\e91f';
margin-left: 4px;
position: relative;
}
@ -1110,7 +1128,7 @@
margin-left: 10px;
padding: 5px 10px;
background: #e7e7e7;
letter-spacing: -.22px;
letter-spacing: -0.22px;
}
}
}
@ -1124,8 +1142,8 @@
.table > table {
width: 100%;
color: #5E5E5E;
border: 1px solid rgba(0,0,0,.125);
color: #5e5e5e;
border: 1px solid rgba(0, 0, 0, 0.125);
}
.table td {
@ -1170,8 +1188,12 @@
position: absolute;
margin-right: 20px;
border-radius: 0 0 4px 4px;
text-shadow: 0 1px 2px rgba(0,0,0,.24);
background-image: linear-gradient(-180deg,rgba(0,0,0,.08),rgba(0,0,0,.24));
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
background-image: linear-gradient(
-180deg,
rgba(0, 0, 0, 0.08),
rgba(0, 0, 0, 0.24)
);
}
input {
@ -1255,13 +1277,13 @@
&.next {
.angle-right-icon::before {
content: "\E908";
content: '\E908';
}
}
&.previous {
.angle-left-icon::before {
content: "\E907";
content: '\E907';
}
}
}
@ -1377,13 +1399,12 @@
&.alert-dismissible {
.close {
font-size: 23px;
padding: .3rem 1.25rem;
padding: 0.3rem 1.25rem;
}
}
}
}
.wishlist-icon {
vertical-align: middle;
@ -1425,7 +1446,7 @@
}
}
input[type=radio] {
input[type='radio'] {
transform: scale(1.3);
-ms-transform: scale(1.3);
-webkit-transform: scale(1.3);
@ -1517,9 +1538,9 @@
font-weight: 500;
}
input[type=text],
input[type=password],
input[type=search],
input[type='text'],
input[type='password'],
input[type='search'],
select {
width: 100%;
resize: none;
@ -1530,7 +1551,7 @@
border: 1px solid $border-common;
}
input[type=checkbox] {
input[type='checkbox'] {
position: relative;
top: 3px;
}
@ -1672,7 +1693,6 @@
}
.product-price {
height: 72px;
.price-label {
@ -1764,7 +1784,8 @@
background: white;
&.header-shadow {
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
}
}
}
@ -1800,8 +1821,6 @@
width: $sidebar-width;
.category-content {
// margin-bottom: 10px;
.category-title {
top: -1px;
font-weight: 600;
@ -1903,7 +1922,8 @@
position: absolute;
background: $white-color;
border-left: 1px solid $border-common;
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
0 6px 6px rgba(0, 0, 0, 0.23);
overflow-y: auto;
li:nth-last-of-type(1) {
@ -2005,14 +2025,14 @@
.control-group {
margin-bottom: 0;
color: #5E5E5E;
color: #5e5e5e;
label {
color: #242424;
}
.control {
color: #5E5E5E;
color: #5e5e5e;
}
}
@ -2022,8 +2042,8 @@
&.has-error {
button {
border-color: #FC6868;
color: #FC6868;
border-color: #fc6868;
color: #fc6868;
}
}
}
@ -2035,8 +2055,8 @@
&.has-error {
button {
border-color: #FC6868;
color: #FC6868;
border-color: #fc6868;
color: #fc6868;
}
}
}
@ -2059,7 +2079,7 @@
.bundle-price {
font-weight: 600;
font-size: 24px;
color: #FF6472;
color: #ff6472;
margin-top: 10px;
}
@ -2072,7 +2092,7 @@
}
.selected-products {
color: #5E5E5E;
color: #5e5e5e;
}
}
}
@ -2123,7 +2143,7 @@
}
.checkbox {
input[type=checkbox] {
input[type='checkbox'] {
width: 15px !important;
height: 15px !important;
margin-left: -24px;
@ -2166,7 +2186,7 @@
height: 100%;
border-radius: 50%;
background-color: $white-color;
box-shadow: 0.5px 0.5px 2px 1px rgba(0,0,0,.32);
box-shadow: 0.5px 0.5px 2px 1px rgba(0, 0, 0, 0.32);
}
.vue-slider-dot-tooltip-inner {
@ -2188,7 +2208,7 @@
}
.vue-slider-dot-tooltip-text::before {
content: "";
content: '';
position: absolute;
bottom: -10px;
left: 50%;
@ -2283,7 +2303,7 @@
.filter-attributes-item {
margin-bottom: 10px;
border-bottom: 1px solid #CCCCCC;
border-bottom: 1px solid #cccccc;
&.active {
.filter-attributes-content {
display: block;
@ -2293,7 +2313,7 @@
.filter-input {
margin: 10px 15px 13px -4px;
input[type=text] {
input[type='text'] {
text-align: center;
border: 1px solid $theme-color;
width: 30%;
@ -2301,7 +2321,7 @@
}
}
input[type=checkbox] + span{
input[type='checkbox'] + span {
margin-left: 10px !important;
}
}
@ -2311,7 +2331,6 @@
margin-left: 7px;
}
.layered-filter-wrapper {
@extend .scrollable;
@ -2337,7 +2356,6 @@
.select-icon-margin {
margin-top: 10px;
margin-left: 96px;
}
.down-icon-position {
position: absolute;
@ -2418,13 +2436,13 @@
&.next {
.angle-right-icon::before {
content: "\E908";
content: '\E908';
}
}
&.previous {
.angle-left-icon::before {
content: "\E907";
content: '\E907';
}
}
}
@ -2447,10 +2465,10 @@
background: unset;
}
.angle-right-icon::before {
content: "\E908";
content: '\E908';
}
.angle-left-icon::before {
content: "\E907";
content: '\E907';
}
}
@ -2571,7 +2589,9 @@
scrollbar-width: none;
}
//CSS for loader
/**
* CSS for loader.
*/
.cp-spinner {
width: 48px;
height: 48px;
@ -2600,10 +2620,12 @@
}
}
//Spinner style
/**
* Spinner style.
*/
.cp-round:before {
border-radius: 50%;
content: " ";
content: ' ';
width: 48px;
height: 48px;
display: inline-block;
@ -2619,7 +2641,7 @@
.cp-round:after {
border-radius: 50%;
content: " ";
content: ' ';
width: 48px;
height: 48px;
display: inline-block;
@ -2634,7 +2656,6 @@
animation: spin 1s ease-in-out infinite;
}
.image-search-container {
top: 9px;
right: 45px;
@ -2652,7 +2673,7 @@
margin-bottom: 20px;
display: inline-block;
border: 1px solid #0041ff;
background-color: rgba(0,65,255,.1);
background-color: rgba(0, 65, 255, 0.1);
.searched-image {
float: left;
@ -2660,7 +2681,7 @@
img {
width: 150px;
height: auto;
box-shadow: 1px 1px 3px 0 rgba(0,0,0,.32);
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.32);
}
}
@ -2682,6 +2703,10 @@
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}

View File

@ -7,6 +7,12 @@
</div>
<div class="account-layout right mt10">
@if (request()->route()->getName() !== 'customer.profile.index')
@if (Breadcrumbs::exists())
{{ Breadcrumbs::render() }}
@endif
@endif
@yield('page-detail-wrapper')
</div>
</div>