¨4.0.1¨

This commit is contained in:
¨NW¨
2023-12-03 14:07:47 +00:00
parent c08b36d1b6
commit f35052522d
1112 changed files with 43019 additions and 24987 deletions

View File

@@ -18,6 +18,17 @@
{{ $product->name }}
</a>
@if ($product->hasAnyVariation())
<ul class="list-inline product-options">
@foreach ($product->variations as $variation)
<li>
<label>{{ $variation->name }}:</label>
{{ $variation->values()->first()?->label }}{{ $loop->last ? "" : "," }}
</li>
@endforeach
</ul>
@endif
@if ($product->hasAnyOption())
<ul class="list-inline product-options">
@foreach ($product->options as $option)

View File

@@ -3,7 +3,7 @@
<li>
<label>{{ trans('storefront::account.view_order.subtotal') }}</label>
<span class="price-amount">
<span>
{{ $order->sub_total->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@@ -12,7 +12,7 @@
<li>
<label>{{ $order->shipping_method }}</label>
<span class="price-amount">
<span>
{{ $order->shipping_cost->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@@ -22,7 +22,7 @@
<li>
<label>{{ $tax->name }}</label>
<span class="price-amount">
<span>
{{ $tax->order_tax->amount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>
@@ -32,10 +32,10 @@
<li>
<label>
{{ trans('storefront::account.view_order.coupon') }}
<span class="coupon-code">[{{ $order->coupon->code }}]</span>
<span class="coupon-code">({{ $order->coupon->code }})</span>
</label>
<span class="price-amount">
<span>
-{{ $order->discount->convert($order->currency, $order->currency_rate)->format($order->currency) }}
</span>
</li>