|
|
@ -13,11 +13,13 @@
|
|
|
|
<i class="fa fa-shopping-bag"></i>
|
|
|
|
<i class="fa fa-shopping-bag"></i>
|
|
|
|
سبد خرید
|
|
|
|
سبد خرید
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="step step2" data-id="step2" data-done=".progress-step .step1,.progress-step .step2">
|
|
|
|
<div class="step step2" data-id="step2"
|
|
|
|
|
|
|
|
data-done=".progress-step .step1,.progress-step .step2">
|
|
|
|
<i class="fa fa-truck-fast"></i>
|
|
|
|
<i class="fa fa-truck-fast"></i>
|
|
|
|
اطلاعات ارسال
|
|
|
|
اطلاعات ارسال
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="step step3" data-id="step3" data-done=".progress-step .step1,.progress-step .step2, .progress-step .step3">
|
|
|
|
<div class="step step3" data-id="step3"
|
|
|
|
|
|
|
|
data-done=".progress-step .step1,.progress-step .step2, .progress-step .step3">
|
|
|
|
<i class="fa fa-credit-card"></i>
|
|
|
|
<i class="fa fa-credit-card"></i>
|
|
|
|
اطلاعات پرداخت
|
|
|
|
اطلاعات پرداخت
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -74,7 +76,8 @@
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@else
|
|
|
|
<span class="active" data-count="{{$pro->stock_quantity}}"></span>
|
|
|
|
<span class="active"
|
|
|
|
|
|
|
|
data-count="{{$pro->stock_quantity}}"></span>
|
|
|
|
@foreach(\App\Helpers\getPriceableMeta($pro) as $k => $meta)
|
|
|
|
@foreach(\App\Helpers\getPriceableMeta($pro) as $k => $meta)
|
|
|
|
<div class="meta">
|
|
|
|
<div class="meta">
|
|
|
|
{{\App\Helpers\getPropLabel($k)}}
|
|
|
|
{{\App\Helpers\getPropLabel($k)}}
|
|
|
@ -89,7 +92,8 @@
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td colspan="2" class="price-td" data-price="{{$pro->getPurePrice()}}">
|
|
|
|
<td colspan="2" class="price-td"
|
|
|
|
|
|
|
|
data-price="{{$pro->getPurePrice()}}">
|
|
|
|
@if($pro->getPurePrice() == 0)
|
|
|
|
@if($pro->getPurePrice() == 0)
|
|
|
|
{{__("We call you about price soon.")}}
|
|
|
|
{{__("We call you about price soon.")}}
|
|
|
|
@else
|
|
|
|
@else
|
|
|
@ -105,8 +109,10 @@
|
|
|
|
<div class="btn btn-info count-inc">
|
|
|
|
<div class="btn btn-info count-inc">
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input type="number" data-stock="{{$pro->stock_quantity}}"
|
|
|
|
<input type="number"
|
|
|
|
max="{{$pro->stock_quantity}}" name="count[{{$pro->id}}]"
|
|
|
|
data-stock="{{$pro->stock_quantity}}"
|
|
|
|
|
|
|
|
max="{{$pro->stock_quantity}}"
|
|
|
|
|
|
|
|
name="count[{{$pro->id}}]"
|
|
|
|
min="1"
|
|
|
|
min="1"
|
|
|
|
data-price="{{str_replace(',','',$pro->getPurePrice())}}"
|
|
|
|
data-price="{{str_replace(',','',$pro->getPurePrice())}}"
|
|
|
|
class="form-control product-count"
|
|
|
|
class="form-control product-count"
|
|
|
@ -117,7 +123,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('card.rem',$pro->slug)}}" class="btn btn-outline-danger">
|
|
|
|
<a href="{{route('card.rem',$pro->slug)}}"
|
|
|
|
|
|
|
|
class="btn btn-outline-danger">
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -129,7 +136,8 @@
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
|
|
<a href="{{route('product',$qpro->product->slug)}}">
|
|
|
|
<a href="{{route('product',$qpro->product->slug)}}">
|
|
|
|
<img src="{{$qpro->product->thumbUrl()}}" class="img-64" alt="">
|
|
|
|
<img src="{{$qpro->product->thumbUrl()}}" class="img-64"
|
|
|
|
|
|
|
|
alt="">
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td colspan="2">
|
|
|
|
<td colspan="2">
|
|
|
@ -137,7 +145,8 @@
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td colspan="2">
|
|
|
|
<td colspan="2">
|
|
|
|
@php($data = json_decode($qpro->data))
|
|
|
|
@php($data = json_decode($qpro->data))
|
|
|
|
<span class="badge badge-inverse" style="background: {{$data->color}};">
|
|
|
|
<span class="badge badge-inverse"
|
|
|
|
|
|
|
|
style="background: {{$data->color}};">
|
|
|
|
<b>
|
|
|
|
<b>
|
|
|
|
{{\App\Helpers\getColorName($data->color)}}
|
|
|
|
{{\App\Helpers\getColorName($data->color)}}
|
|
|
|
</b>
|
|
|
|
</b>
|
|
|
@ -162,7 +171,8 @@
|
|
|
|
<div class="btn btn-info count-inc">
|
|
|
|
<div class="btn btn-info count-inc">
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input type="number" data-stock="{{$qpro->count}}" max="{{$qpro->count}}"
|
|
|
|
<input type="number" data-stock="{{$qpro->count}}"
|
|
|
|
|
|
|
|
max="{{$qpro->count}}"
|
|
|
|
name="qcount[{{$qpro->id}}]"
|
|
|
|
name="qcount[{{$qpro->id}}]"
|
|
|
|
min="1"
|
|
|
|
min="1"
|
|
|
|
data-price="{{$qpro->price}}"
|
|
|
|
data-price="{{$qpro->price}}"
|
|
|
@ -174,7 +184,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="{{route('card.remq',$qpro->id)}}" class="btn btn-outline-danger">
|
|
|
|
<a href="{{route('card.remq',$qpro->id)}}"
|
|
|
|
|
|
|
|
class="btn btn-outline-danger">
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
<i class="fa fa-times"></i>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -183,6 +194,8 @@
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if(\App\Helpers\getSetting('reserve') != null )
|
|
|
|
|
|
|
|
|
|
|
|
<div class="alert alert-success text-center">
|
|
|
|
<div class="alert alert-success text-center">
|
|
|
|
شما میتوانید محصولات را رزرو کنید , برای اینکار به مرحله بعدی بروید و
|
|
|
|
شما میتوانید محصولات را رزرو کنید , برای اینکار به مرحله بعدی بروید و
|
|
|
|
<b>
|
|
|
|
<b>
|
|
|
@ -193,6 +206,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
را انتخاب کنید
|
|
|
|
را انتخاب کنید
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="step2" class="step">
|
|
|
|
<div id="step2" class="step">
|
|
|
|
@if(count($transports) > 0)
|
|
|
|
@if(count($transports) > 0)
|
|
|
@ -207,6 +221,7 @@
|
|
|
|
<input id="tns{{$k}}" type="radio" name="transport_id"
|
|
|
|
<input id="tns{{$k}}" type="radio" name="transport_id"
|
|
|
|
data-price="{{$t->price}}"
|
|
|
|
data-price="{{$t->price}}"
|
|
|
|
value="{{$t->id}}"
|
|
|
|
value="{{$t->id}}"
|
|
|
|
|
|
|
|
required
|
|
|
|
onclick="$('.product-count').change();"
|
|
|
|
onclick="$('.product-count').change();"
|
|
|
|
@if ($t->is_default) checked
|
|
|
|
@if ($t->is_default) checked
|
|
|
|
@endif class="form-check-input transport">
|
|
|
|
@endif class="form-check-input transport">
|
|
|
@ -215,8 +230,13 @@
|
|
|
|
{{$t->title}}
|
|
|
|
{{$t->title}}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
@if(strlen($t->description) > 1)
|
|
|
|
@if(strlen($t->description) > 1)
|
|
|
|
<p class="preline alert alert-info mt-1">{{$t->description}} <span
|
|
|
|
<p class="preline alert alert-info mt-1">{{$t->description}}
|
|
|
|
class="float-end">@if($t->price > 0){{number_format($t->price)}} @else {{__("Free")}} @endif</span>
|
|
|
|
<span
|
|
|
|
|
|
|
|
class="float-end">@if($t->price > 0)
|
|
|
|
|
|
|
|
{{number_format($t->price)}}
|
|
|
|
|
|
|
|
@else
|
|
|
|
|
|
|
|
{{__("Free")}}
|
|
|
|
|
|
|
|
@endif</span>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
@ -249,14 +269,17 @@
|
|
|
|
@endforeach
|
|
|
|
@endforeach
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
@if(\App\Helpers\getSetting('reserve') != null )
|
|
|
|
<div class="p-5 py-3" id="resv">
|
|
|
|
<div class="p-5 py-3" id="resv">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<div class="form-check form-switch">
|
|
|
|
<input name="reserve" class="form-check-input" type="checkbox" role="switch"
|
|
|
|
<input name="reserve" class="form-check-input" type="checkbox"
|
|
|
|
|
|
|
|
role="switch"
|
|
|
|
id="flexSwitchCheckDefault">
|
|
|
|
id="flexSwitchCheckDefault">
|
|
|
|
<label class="form-check-label"
|
|
|
|
<label class="form-check-label"
|
|
|
|
for="flexSwitchCheckDefault">{{__("Reserve order for :H hours",['H'=>\App\Helpers\getSetting('reserve')])}}</label>
|
|
|
|
for="flexSwitchCheckDefault">{{__("Reserve order for :H hours",['H'=>\App\Helpers\getSetting('reserve')])}}</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
@ -293,7 +316,8 @@
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<input type="text" class="form-control" id="discount-code" name="discount"
|
|
|
|
<input type="text" class="form-control" id="discount-code"
|
|
|
|
|
|
|
|
name="discount"
|
|
|
|
placeholder="{{__("Discount code")}}">
|
|
|
|
placeholder="{{__("Discount code")}}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
@ -360,18 +384,20 @@
|
|
|
|
تکمیل اطلاعات
|
|
|
|
تکمیل اطلاعات
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
@else
|
|
|
|
@else
|
|
|
|
<button type="submit" class="btn btn-success float-end me-3 ms-3">
|
|
|
|
<button type="submit" class="btn btn-success float-end my-2 w-100 card-submit" >
|
|
|
|
<i class="far fa-credit-card"></i>
|
|
|
|
<i class="far fa-credit-card"></i>
|
|
|
|
پرداخت از درگاه های آنلاین
|
|
|
|
پرداخت از درگاه های آنلاین
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="submit" class="btn btn-secondary float-end " name="nopay" value="no-payment">
|
|
|
|
<button type="submit" class="btn btn-secondary float-end w-100 card-submit" name="nopay"
|
|
|
|
|
|
|
|
value="no-payment" >
|
|
|
|
<i class="far fa-credit-card"></i>
|
|
|
|
<i class="far fa-credit-card"></i>
|
|
|
|
ثبت سفارش پرداخت اعتباری + آنلاین
|
|
|
|
ثبت سفارش پرداخت اعتباری + آنلاین
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@else
|
|
|
|
|
|
|
|
|
|
|
|
@else
|
|
|
|
{{-- {{__("Register or login to complete purchase")}}--}}
|
|
|
|
{{-- {{__("Register or login to complete purchase")}}--}}
|
|
|
|
<hr>
|
|
|
|
<hr>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|