@php $productInCart = productInCart($product->id); $hasDiscount = $product->campaign_product_price; $hasCommercialDiscount = $product->campaign_product_commercial_price; @endphp
@if ($product->is_free) @lang('Download') @else @lang('Add to Cart') @endif
@csrf @if (!$product->is_free)
@if ($hasDiscount[0]) {{ showAmount($product->productPrice('personal')) }} {{ showAmount($hasDiscount[1]) }} @else {{ showAmount($product->productPrice('personal')) }} @endif
    @foreach (gs('personal_license_features') ?? [] as $feature)
  • {{ __($feature) }}
  • @endforeach
@if ($hasCommercialDiscount[0]) {{ showAmount($product->productPrice('commercial')) }} {{ showAmount($hasCommercialDiscount[1]) }} @else {{ showAmount($product->productPrice('commercial')) }} @endif
    @foreach (gs('commercial_license_features') ?? [] as $feature)
  • {{ __(@$feature) }}
  • @endforeach
@else
@lang('Free')
@endif @if (!$product->is_free)
@endif @if ($product->is_free) @endif
@push('script') @endpush