responsive cart page update

This commit is contained in:
Shubham Mehrotra 2020-03-20 15:05:44 +05:30
parent b7ccb5c214
commit 5e82c8c1e6
6 changed files with 17 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"/js/velocity.js": "/js/velocity.js?id=ead79036faabfd4de68d",
"/js/velocity.js": "/js/velocity.js?id=973edd4336993fd9b95a",
"/css/velocity-admin.css": "/css/velocity-admin.css?id=612d35e452446366eef7",
"/css/velocity.css": "/css/velocity.css?id=6f5bad6b6ae5777a1a98"
"/css/velocity.css": "/css/velocity.css?id=3e8619277d84a8bde711"
}

View File

@ -678,6 +678,8 @@
.product-quantity {
.quantity {
float: left;
label {
display: none !important;
}
@ -2277,8 +2279,9 @@
.col,
.col-2 {
padding-left: 0;
max-width: 20%;
padding-left: 0;
word-break: break-word;
}
.image-wrapper {

View File

@ -864,6 +864,11 @@
.actions {
margin-top: 7px !important;
}
.continue-shopping,
.empty-cart-message {
padding: 0;
}
}
.checkout-process {

View File

@ -204,7 +204,7 @@
</div>
<div class="row col-12 remove-padding-margin actions">
<div class="product-quantity col-4 no-padding">
<div class="product-quantity col-lg-4 col-6 no-padding">
<quantity-changer
:control-name="'qty[{{$item->id}}]'"
quantity="{{ $item->quantity }}">
@ -248,18 +248,18 @@
{!! view_render_event('bagisto.shop.checkout.cart.summary.after', ['cart' => $cart]) !!}
@if ($cart)
<div class="col-lg-4 col-md-12 offset-2 row order-summary-container">
<div class="col-lg-4 col-md-12 offset-lg-2 row order-summary-container">
@include('shop::checkout.total.summary', ['cart' => $cart])
<coupon-component></coupon-component>
</div>
@else
<div class="fs16 col-12">
<div class="fs16 col-12 empty-cart-message">
{{ __('shop::app.checkout.cart.empty') }}
</div>
<a
class="fs16 mt15 col-12 remove-decoration"
class="fs16 mt15 col-12 remove-decoration continue-shopping"
href="{{ route('shop.home.index') }}">
<button type="button" class="theme-btn remove-decoration">