{!! view_render_event('bagisto.shop.products.add_to_cart.before', ['product' => $product]) !!}
@if (isset($showCompare) && $showCompare) @endif @if (! (isset($showWishlist) && !$showWishlist) && core()->getConfigData('general.content.shop.wishlist_option')) @include('shop::products.wishlist', [ 'addClass' => $addWishlistClass ?? '' ]) @endif
@if (isset($form) && !$form) @elseif(isset($addToCartForm) && !$addToCartForm)
@csrf
@else isSaleable() ? 'false' : 'true' }} show-cart-icon={{ ! (isset($showCartIcon) && ! $showCartIcon) }} btn-text="{{ (! isset($moveToCart) && $product->type == 'booking') ? __('shop::app.products.book-now') : $btnText ?? __('shop::app.products.add-to-cart') }}"> @endif
{!! view_render_event('bagisto.shop.products.add_to_cart.after', ['product' => $product]) !!}