{{ __($product->name) }}
@if(home_price($product->id) > home_discounted_price($product->id))
{{ home_price($product->id) }}
{{ translate('Discount Price')}}:
{{ home_discounted_price($product->id) }}
@else
{{ home_discounted_price($product->id) }}
@endif
@if (\App\Addon::where('unique_identifier', 'club_point')->first() != null && \App\Addon::where('unique_identifier', 'club_point')->first()->activated && $product->earn_point > 0)
{{ translate('Club Point') }}:
{{ $product->earn_point }}
@endif
@php
$qty = 0;
if($product->variant_product){
foreach ($product->stocks as $key => $stock) {
$qty += $stock->qty;
}
}
else{
$qty = $product->current_stock;
}
@endphp
@if ($product->digital == 1)
@elseif($qty > 0)
@else
@endif