From fd15252d38f8325fe20d31967535153a87477828 Mon Sep 17 00:00:00 2001 From: Akhtar Khan Date: Tue, 14 Jul 2020 11:42:20 +0530 Subject: [PATCH] Changes in Add Address Button in Customer Account Section & Label on new product in velocity theme --- config/scout.php | 2 +- .../shop/customers/account/address/index.blade.php | 11 ++++++++++- .../Resources/views/shop/products/list/card.blade.php | 6 ++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/config/scout.php b/config/scout.php index 857e3a521..b2f0f4d22 100644 --- a/config/scout.php +++ b/config/scout.php @@ -15,7 +15,7 @@ return [ | */ - 'driver' => env('SCOUT_DRIVER', 'null'), + 'driver' => env('SCOUT_DRIVER', null), /* |-------------------------------------------------------------------------- diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/address/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/address/index.blade.php index 6bc9375ec..a1152485d 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/address/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/address/index.blade.php @@ -6,7 +6,7 @@ @section('page-detail-wrapper') @if ($addresses->isEmpty()) - + {{ __('shop::app.customer.account.address.index.add') }} @endif @@ -80,3 +80,12 @@ } @endpush + +@if ($addresses->isEmpty()) + +@endif diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php index 637c9a938..39684956c 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php @@ -90,6 +90,12 @@ {{-- --}} + @if ($product->new) +
+ {{ __('shop::app.products.new') }} +
+ @endif +