cover_image) style="background-image: url({{ RvMedia::getImageUrl($shortcode->cover_image) }}) !important;" @endif>
{{ $shortcode->title }}
@if ($shortcode->show_newsletter_form == 'yes' && is_plugin_active('newsletter'))
{!! Theme::partial('newsletter-form', ['className' => 'mb-30 text-center']) !!}
@endif
@if ($shortcode->number_display_featured_categories && is_plugin_active('ecommerce'))
@php
$categories = ProductCategoryHelper::getActiveTreeCategories()
->where('is_featured', 1)
->take((int) $shortcode->number_display_featured_categories);
@endphp
@if ($categories->isNotEmpty())
@foreach ($categories as $category)
- {{ $category->name }}
@endforeach
@endif
@endif