diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php index 241962b8b..b467fcbab 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/checkout/cart/index.blade.php @@ -54,12 +54,15 @@
@csrf + @php + $productOtherThanDownloadable = false; + @endphp + @foreach ($cart->items as $key => $item) @php $productBaseImage = $item->product->getTypeInstance()->getBaseImage($item); $product = $item->product; - $productOtherThanDownloadable = false; if ($item->product->type != "downloadable") { $productOtherThanDownloadable = true;