Skip to content

Commit

Permalink
Fix sidebar (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored Jun 27, 2024
1 parent 930dc23 commit c3d7117
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/views/checkout/partials/sidebar.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div v-if="cart?.entity_id" class="rounded border p-3">
<div v-if="$root.cart?.id" class="rounded border p-3">
<div class="flex w-full flex-col">
<div v-for="item in cart.items" class="flex gap-x-1 border-b py-3">
<div class="w-7/12">@{{ item.name }}</div>
<div class="w-2/12 px-4 text-right">@{{ item.qty }}</div>
<div class="w-3/12 text-right">@{{ item.price | price }}</div>
<div v-for="item in $root.cart.items" class="flex gap-x-1 border-b py-3">
<div class="w-7/12">@{{ item.product.name }}</div>
<div class="w-2/12 px-4 text-right">@{{ item.quantity }}</div>
<div class="w-3/12 text-right">@{{ item.prices.row_total.value | price }}</div>
</div>
<div v-for="total_segment in checkout.totals.total_segments" v-if="total_segment.value" class="flex gap-x-1 border-b py-3 last:border-b-0 last:font-bold">
<div class="w-7/12">@{{ total_segment.title }}</div>
Expand Down

0 comments on commit c3d7117

Please sign in to comment.