From 8eb590d5265967af04c43d6d7d9c7417f64c3917 Mon Sep 17 00:00:00 2001 From: devansh bawari Date: Thu, 8 Oct 2020 10:00:06 +0530 Subject: [PATCH] List View Added --- .../customers/account/wishlist/wishlist.blade.php | 1 + .../views/shop/products/list/card.blade.php | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php index a793a963a..80bd35eba 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/customers/account/wishlist/wishlist.blade.php @@ -33,6 +33,7 @@ @endphp @include ('shop::products.list.card', [ + 'list' => true, 'checkmode' => true, 'moveToCart' => true, 'wishlistMoveRoute' => route('customer.wishlist.move', $item->id), 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 61aa42e45..21b2d4dcd 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 @@ -73,6 +73,18 @@ {{ $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