¨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

@@ -15,7 +15,7 @@
<div class="panel-body" :class="{ loading: fetchingWishlist }" v-cloak>
<div class="empty-message" v-if="wishlistIsEmpty">
<h3 v-if="! fetchingWishlist">
<h3 v-if="!fetchingWishlist">
{{ trans('storefront::account.wishlist.empty_wishlist') }}
</h3>
</div>
@@ -36,7 +36,11 @@
<tr v-for="product in products.data" :key="product.id">
<td>
<div class="product-image">
<img :src="baseImage(product)" :class="{ 'image-placeholder': ! hasBaseImage(product) }" alt="product-image">
<img
:src="baseImage(product)"
:class="{ 'image-placeholder': ! hasBaseImage(product) }"
:alt="product.name"
>
</div>
</td>
@@ -47,11 +51,11 @@
</td>
<td>
<span class="product-price" v-html="product.formatted_price"></span>
<span class="product-price" v-html="productPrice(product)"></span>
</td>
<td>
<span class="badge badge-success" v-if="product.is_in_stock">
<span class="badge badge-success" v-if="productIsInStock(product)">
{{ trans('storefront::account.wishlist.in_stock') }}
</span>
@@ -76,8 +80,8 @@
<v-pagination
:total-page="totalPage"
:current-page="currentPage"
@page-changed="fetchProducts"
v-if="products.total > 20"
@page-changed="changePage"
v-if="products.total > 10"
>
</v-pagination>
</div>