session()->has('applied_coupon_code') && session()->get('applied_coupon_code') === $discount->code])
>
@if ($discount->type_option !== 'shipping')
{{ $discount->type_option === 'percentage' ? $discount->value . '%' : format_price($discount->value) }}
@endif
@if($discount->quantity > 0)
({{ __('Left :left', ['left' => $discount->left_quantity]) }})
@endif
{!! BaseHelper::clean($discount->description ?: get_discount_description($discount)) !!}
{{ $discount->code }}
@if (!session()->has('applied_coupon_code') || session()->get('applied_coupon_code') !== $discount->code)
@else
@endif