@if ($discounts->isNotEmpty())
coupon code icon {{ __('Coupon codes (:count)', ['count' => $discounts->count()]) }}
@foreach ($discounts as $discount)
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
@endforeach
@endif
has('applied_coupon_code')) style="display: none;" @endif > {{ __('You have a coupon code?') }}
has('applied_coupon_code')) style="display: none;" @endif > @if (!session()->has('applied_coupon_code')) @include(EcommerceHelper::viewPath('discounts.partials.apply-coupon')) @else @include(EcommerceHelper::viewPath('discounts.partials.remove-coupon')) @endif