diff --git a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss index c92eb5e27..ed142e08c 100644 --- a/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss +++ b/packages/Webkul/Velocity/src/Resources/assets/sass/components/app.scss @@ -1253,7 +1253,7 @@ .main-container-wrapper { .sticky-header { top: 0px; - z-index: 1100; + z-index: 100; position: sticky; background: white; diff --git a/packages/Webkul/Velocity/src/Resources/views/products/view.blade.php b/packages/Webkul/Velocity/src/Resources/views/products/view.blade.php index 657987c6f..1bccd74ed 100644 --- a/packages/Webkul/Velocity/src/Resources/views/products/view.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/products/view.blade.php @@ -134,11 +134,14 @@
- @foreach (json_decode($velocityMetaData['product_view_images'], true) as $image) - @if ($image && $image !== '') - - @endif - @endforeach + @isset($velocityMetaData['product_view_images']) + @foreach (json_decode($velocityMetaData['product_view_images'], true) as $image) + @if ($image && $image !== '') + + @endif + @endforeach + @endisset +