show more
This commit is contained in:
parent
d2e1ff1400
commit
feaf03b774
|
|
@ -0,0 +1,7 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="22" viewBox="0 0 24 22">
|
||||
<g id="icon_love_" data-name="icon (love)" transform="translate(0 -40.993)">
|
||||
<g id="Сгруппировать_20" data-name="Сгруппировать 20" transform="translate(0 40.993)">
|
||||
<path id="Контур_26" data-name="Контур 26" d="M22.012,43.026a6.53,6.53,0,0,0-9.469,0L12,43.588l-.542-.563a6.531,6.531,0,0,0-9.47,0,7.208,7.208,0,0,0,0,9.941L11.42,62.74a.791.791,0,0,0,1.159,0l9.432-9.773a7.207,7.207,0,0,0,0-9.941Zm-1.16,8.608L12,60.806,3.149,51.634a5.251,5.251,0,0,1,0-7.277,4.929,4.929,0,0,1,7.148,0l1.123,1.164a.792.792,0,0,0,1.16,0L13.7,44.357a4.929,4.929,0,0,1,7.148,0,5.251,5.251,0,0,1,0,7.277Z" transform="translate(0 -40.993)" fill="#c3000e"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 789 B |
|
|
@ -52,8 +52,8 @@
|
|||
.item-section-title {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
grid-template-columns: 20.6rem 1fr 11rem;
|
||||
-ms-grid-column: 20.6rem 1fr 11rem;
|
||||
grid-template-columns: 50rem 1fr 11rem;
|
||||
-ms-grid-column: 50rem 1fr 11rem;
|
||||
column-gap: 4rem;
|
||||
padding-bottom: 3.4rem;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -457,6 +457,8 @@
|
|||
.divider {
|
||||
font-size: 1.4rem;
|
||||
margin-bottom: 2rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.upper-section-right-bottom-footer-img {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,10 @@
|
|||
<div class="breadcrumb-container">
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="/">Главная</a></li>
|
||||
<li><a href="#" class="current">{{$category->name}}</a></li>
|
||||
@foreach($category->getPathCategories() as $path)
|
||||
<li><a href="/{{$path->url_path}}" class="current">{{$path->name}}</a></li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@
|
|||
@endphp
|
||||
<main class="item container">
|
||||
<h1 class="item-title">{{ $product->name }}</h1>
|
||||
<div class="item-inner upper-section">
|
||||
<product-view>
|
||||
@csrf()
|
||||
@include ('shop::products.view.gallery')
|
||||
<div class="upper-section-middle">
|
||||
<div class="upper-section-middle-header-top">
|
||||
|
|
@ -81,20 +82,28 @@
|
|||
<input type="hidden" name="quantity" value="1">
|
||||
@endif
|
||||
<div class="upper-section-right-bottom">
|
||||
<form>
|
||||
<button type="button" class="add-to-cart">Добавить в корзину</button>
|
||||
<span class="divider">или</span>
|
||||
<button type="button" class="order-now">Заказать сейчас</button>
|
||||
</form>
|
||||
<button type="button" class="upper-section-right-bottom-footer">
|
||||
<div class="upper-section-right-bottom-footer-img">
|
||||
<img src="{{bagisto_asset('icons/icon (love).svg')}}" alt="love">
|
||||
</div>
|
||||
<h2 class="upper-section-right-bottom-footer-text">В избранное</h2>
|
||||
<button type="submit" class="add-to-cart addtocart" {{ ! $product->isSaleable() ? 'disabled' : '' }} >
|
||||
{{ $product->type == 'booking' ? __('shop::app.products.book-now') : __('shop::app.products.add-to-cart') }}
|
||||
</button>
|
||||
@if (core()->getConfigData('catalog.products.storefront.buy_now_button_display'))
|
||||
<span class="divider">или</span>
|
||||
<button type="submit" class="order-now buynow" {{ ! $product->isSaleable(1) ? 'disabled' : '' }}>
|
||||
{{ __('shop::app.products.buy-now') }}
|
||||
</button>
|
||||
@endif
|
||||
|
||||
@if(core()->getConfigData('general.content.shop.wishlist_option'))
|
||||
@inject ('wishListHelper', 'Webkul\Customer\Helpers\Wishlist')
|
||||
<button type="submit" class="upper-section-right-bottom-footer favorite">
|
||||
<div class="upper-section-right-bottom-footer-img">
|
||||
<img src="{{bagisto_asset($wishListHelper->getWishlistProduct($product)?'icons/heart.svg':'icons/love.svg')}}" alt="favorite">
|
||||
</div>
|
||||
<span class="upper-section-right-bottom-footer-text">В избранное</span>
|
||||
</button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</product-view>
|
||||
<div class="lower-section" id="spesifications">
|
||||
<div class="lower-section-title">
|
||||
<div class="title-wrapper">
|
||||
|
|
@ -258,7 +267,7 @@
|
|||
@push('scripts')
|
||||
|
||||
<script type="text/x-template" id="product-view-template">
|
||||
<form method="POST" id="product-form" action="{{ route('cart.add', $product->product_id) }}" @click="onSubmit($event)">
|
||||
<form method="POST" class="item-inner upper-section" id="product-form" action="{{ route('cart.add', $product->product_id) }}" @click="onSubmit($event)">
|
||||
|
||||
<input type="hidden" name="is_buy_now" v-model="is_buy_now">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue