@if( !$product->haveSufficientQuantity() && @$product->associatedCategory->is_pre_register_active) @elseif( !$product->haveSufficientQuantity() && @$product->associatedCategory->is_preorder_active)
@csrf()
@elseif ($product->haveSufficientQuantity()) {{--Add to cart btn and buy now btn's are here in this component--}} isSaleable() ? 'false' : 'true' }} show-cart-icon="true" btn-text="{{ __('shop::app.products.add-to-cart') }}" buy-now-btn-text="{{__('shop::app.products.buy-now')}}" > @endif