Changes in Add Address Button in Customer Account Section & Label on new product in velocity theme

This commit is contained in:
Akhtar Khan 2020-07-14 11:42:20 +05:30
parent 621284eb27
commit fd15252d38
3 changed files with 17 additions and 2 deletions

View File

@ -15,7 +15,7 @@ return [
|
*/
'driver' => env('SCOUT_DRIVER', 'null'),
'driver' => env('SCOUT_DRIVER', null),
/*
|--------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@
@section('page-detail-wrapper')
@if ($addresses->isEmpty())
<a href="{{ route('customer.address.create') }}" class="theme-btn light unset pull-right">
<a href="{{ route('customer.address.create') }}" class="theme-btn light unset" id="add-address-button">
{{ __('shop::app.customer.account.address.index.add') }}
</a>
@endif
@ -80,3 +80,12 @@
}
</script>
@endpush
@if ($addresses->isEmpty())
<style>
a#add-address-button {
position: absolute;
margin-top: 92px;
}
</style>
@endif

View File

@ -90,6 +90,12 @@
{{-- <product-quick-view-btn :quick-view-details="product"></product-quick-view-btn> --}}
</a>
@if ($product->new)
<div class="sticker new">
{{ __('shop::app.products.new') }}
</div>
@endif
<div class="card-body">
<div class="product-name col-12 no-padding">
<a