@extends("front/layout.master") @section('title',__('staticwords.ShoppingCart').' | ') @section("body")
@php $pro = Session('pro_qty'); $value = Session::get('cart'); if (Auth::check()) { $count = $cart_table->count(); } else { if (isset($value)) { $count = count($value); } else { $count = 0; } } if(Auth::check()){ $usercart = $count; }else{ $usercart = session()->get('cart'); } @endphp{{ __("Congrats ! You can earn cashback in your wallet") }} {{ $row->product->cashback_settings->discount_type }} @if($row->product->cashback_settings->cashback_type == 'fix') {{ price_format($row->product->cashback_settings->discount * $conversion_rate) }} @else {{ $row->product->cashback_settings->discount.'%' }} @endif
@endif @if($row->variant->stock ==0){{ __("Congrats ! You can earn cashback in your wallet") }} {{ $row->simple_product->cashback_settings->discount_type }} @if($row->simple_product->cashback_settings->cashback_type == 'fix') {{ price_format( $row->simple_product->cashback_settings->discount * $conversion_rate) }} @else {{ $row->simple_product->cashback_settings->discount.'%' }} @endif
@endif @if($row->simple_product->stock ==0)