@php $showGiftCard = ($product->isVirtual() and $productAvailability > 0 and !empty(getGiftsGeneralSettings('status')) and !empty(getGiftsGeneralSettings('allow_sending_gift_for_products'))); $showCashbackAlert = (!empty($cashbackRules) and count($cashbackRules)); $showInstructorDiscountBeforeContent = ( !empty(getFeaturesSettings("frontend_coupons_display_type")) and getFeaturesSettings("frontend_coupons_display_type") == "before_content" and !empty($instructorDiscounts) and count($instructorDiscounts) ); @endphp @if($showGiftCard or $showCashbackAlert or $showInstructorDiscountBeforeContent)
{{-- Gift Card --}} @if($showGiftCard)
{{ trans('update.send_product_as_a_gift') }}

{{ trans('update.send_it_as_gift_to_your_friends') }}

@endif @if($showCashbackAlert) @include('design_1.web.cashback.alert_card', [ 'cashbackRules' => $cashbackRules, 'itemPrice' => $product->price, 'cashbackRulesCardClassName' => "wrapped-item" ]) @endif @if($showInstructorDiscountBeforeContent) @include('design_1.web.instructor_discounts.cards', ['allDiscounts' => $instructorDiscounts, 'discountCardClassName2' => "wrapped-item"]) @endif
@endif