@if (Webkul\Product\Helpers\ProductType::hasVariants($product->type)) @inject ('configurableOptionHelper', 'Webkul\Product\Helpers\ConfigurableOption') @inject ('productImageHelper', 'Webkul\Product\Helpers\ProductImage') @php $config = $configurableOptionHelper->getConfigurationConfig($product); $galleryImages = $productImageHelper->getGalleryImages($product); @endphp {!! view_render_event('bagisto.shop.products.view.configurable-options.before', ['product' => $product]) !!} {!! view_render_event('bagisto.shop.products.view.configurable-options.after', ['product' => $product]) !!} @push('scripts') @endpush @endif