Merge pull request #5953 from prateek-webkul/quantity-update
issue #5728 fixed
This commit is contained in:
commit
8f488cf0d9
File diff suppressed because one or more lines are too long
|
|
@ -4,7 +4,7 @@
|
|||
"/js/velocity.js": "/js/velocity.js?id=8467110c3c1ee5e363d02172acbf1a3f",
|
||||
"/js/manifest.js": "/js/manifest.js?id=3cded37ef514b0fb89b10e7109801248",
|
||||
"/js/components.js": "/js/components.js?id=f536199f308a82f48041993dd85acdd3",
|
||||
"/css/velocity.css": "/css/velocity.css?id=e0656b4e3cddeebfc7bc1c8aff4d8a59",
|
||||
"/css/velocity.css": "/css/velocity.css?id=239077722644a8e239d497ae7c392d41",
|
||||
"/css/velocity-admin.css": "/css/velocity-admin.css?id=b67a82956e53163b5e3ff45a44f9778f",
|
||||
"/images/icon-calendar.svg": "/images/icon-calendar.svg?id=870d0f733a58377422766f3152e15486",
|
||||
"/images/icon-camera.svg": "/images/icon-camera.svg?id=b2fd2f9e17e1ccee96e29f6c6cec91e8",
|
||||
|
|
|
|||
|
|
@ -2484,12 +2484,22 @@
|
|||
@media only screen and (max-width: 425px) {
|
||||
.cart-details {
|
||||
.cart-content {
|
||||
.destop-view {
|
||||
display: none;
|
||||
.product-quantity {
|
||||
height: fit-content;
|
||||
|
||||
.quantity {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-view {
|
||||
display: block;
|
||||
.product-price.col-1 {
|
||||
flex: 0 0 100%;
|
||||
max-width: 100%;
|
||||
|
||||
.card-current-price.fw6 {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
}
|
||||
@endphp
|
||||
|
||||
<div class="row col-12 destop-view">
|
||||
<div class="row col-12">
|
||||
<a
|
||||
title="{{ $product->name }}"
|
||||
class="product-image-container col-2"
|
||||
|
|
@ -191,81 +191,6 @@
|
|||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="row col-12 mobile-view">
|
||||
<a
|
||||
title="{{ $product->name }}"
|
||||
class="product-image-container col-2"
|
||||
href="{{ route('shop.productOrCategory.index', $url_key) }}">
|
||||
|
||||
<img
|
||||
src="{{ $productBaseImage['medium_image_url'] }}"
|
||||
class="card-img-top"
|
||||
alt="{{ $product->name }}">
|
||||
</a>
|
||||
|
||||
<div class="col-10 pr0 pl0 item-title">
|
||||
<a
|
||||
href="{{ route('shop.productOrCategory.index', $url_key) }}"
|
||||
title="{{ $product->name }}"
|
||||
class="unset col-2 no-padding">
|
||||
|
||||
<span class="fs20 fw6 link-color">{{ $product->name }}</span>
|
||||
</a>
|
||||
|
||||
@if (isset($item->additional['attributes']))
|
||||
<div class="row col-8 no-padding no-margin">
|
||||
@foreach ($item->additional['attributes'] as $attribute)
|
||||
<b>{{ $attribute['attribute_name'] }} : </b>{{ $attribute['option_label'] }}</br>
|
||||
@endforeach
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="col-12 no-padding">
|
||||
@include ('shop::products.price', ['product' => $product])
|
||||
</div>
|
||||
|
||||
<div class="row col-12 remove-padding-margin actions">
|
||||
<div class="product-quantity col-lg-4 col-4 no-padding">
|
||||
@if ($item->product->getTypeInstance()->showQuantityBox() === true)
|
||||
<quantity-changer
|
||||
:control-name="'qty[{{$item->id}}]'"
|
||||
quantity="{{ $item->quantity }}"
|
||||
quantity-text="{{ __('shop::app.products.quantity') }}">
|
||||
</quantity-changer>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2 col-2 cursor-pointer mt-2">
|
||||
@auth('customer')
|
||||
@if ($showWishlist)
|
||||
@if ($item->parent_id != 'null' || $item->parent_id != null)
|
||||
<div class="alert-wishlist ml-2">
|
||||
@include('shop::products.wishlist', [
|
||||
'route' => route('shop.movetowishlist', $item->id),
|
||||
'text' => ""
|
||||
])
|
||||
</div>
|
||||
@else
|
||||
<div class="alert-wishlist ml-2">
|
||||
@include('shop::products.wishlist', [
|
||||
'route' => route('shop.movetowishlist', $item->child->id),
|
||||
'text' => ""
|
||||
])
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endauth
|
||||
</div>
|
||||
|
||||
<div class="col-lg-2 col-2 cursor-pointer ml-2 mt-2">
|
||||
<a href="{{ route('shop.checkout.cart.remove', ['id' => $item->id]) }}" class="unset">
|
||||
<i class="material-icons fs24">delete</i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue