updates
This commit is contained in:
parent
4e5275b6fc
commit
fc2888aa74
|
|
@ -28,7 +28,7 @@
|
|||
<div class="form-container">
|
||||
@csrf()
|
||||
|
||||
{!! view_render_event('bagisto.admin.settings.locale.edit.before') !!}
|
||||
{!! view_render_event('bagisto.admin.settings.locale.edit.before', ['locale' => $locale]) !!}
|
||||
|
||||
<input name="_method" type="hidden" value="PUT">
|
||||
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
</div>
|
||||
</accordian>
|
||||
|
||||
{!! view_render_event('bagisto.admin.settings.locale.edit.after') !!}
|
||||
{!! view_render_event('bagisto.admin.settings.locale.edit.after', ['locale' => $locale]) !!}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -900,6 +900,7 @@
|
|||
|
||||
.customer-rating .rating-bar {
|
||||
top: 12px;
|
||||
padding: 0px;
|
||||
height: 5px;
|
||||
position: relative;
|
||||
background-color: #F7F7F9;
|
||||
|
|
@ -911,15 +912,8 @@
|
|||
background-color: #111111;
|
||||
}
|
||||
|
||||
.customer-rating .btn-write-review {
|
||||
.customer-rating .theme-btn.light, .customer-rating .cart-details .light.continue-shopping-btn, .cart-details .customer-rating .light.continue-shopping-btn, .customer-rating .account-content .account-layout .bottom-toolbar .pagination .page-item, .account-content .account-layout .bottom-toolbar .pagination .customer-rating .page-item {
|
||||
margin-top: 10px;
|
||||
color: #26A37C;
|
||||
font-weight: 600;
|
||||
padding: 8px 11px;
|
||||
background-color: white;
|
||||
-webkit-box-shadow: 0 1px 0 0 #CFCFCF;
|
||||
box-shadow: 0 1px 0 0 #CFCFCF;
|
||||
border: 1px solid rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.review-form {
|
||||
|
|
@ -1150,9 +1144,9 @@
|
|||
padding: 0 10px !important;
|
||||
font-size: 24px !important;
|
||||
font-weight: 600 !important;
|
||||
border: 1px solid #CCCCCC !important;
|
||||
color: #000000 !important;
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #CCCCCC !important;
|
||||
}
|
||||
|
||||
.quantity button:nth-of-type(1) {
|
||||
|
|
@ -1160,7 +1154,7 @@
|
|||
}
|
||||
|
||||
.quantity input {
|
||||
width: 50px;
|
||||
max-width: 28px;
|
||||
cursor: default;
|
||||
font-size: 16px !important;
|
||||
border-left: 0px !important;
|
||||
|
|
@ -1168,6 +1162,10 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.quantity button:hover {
|
||||
background-color: #f5f5f5 !important;
|
||||
}
|
||||
|
||||
.quantity button:nth-last-of-type(1) {
|
||||
border-radius: 0px;
|
||||
border-left: 0px !important;
|
||||
|
|
@ -1989,6 +1987,20 @@
|
|||
|
||||
#app {
|
||||
min-height: 65vh;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-container-wrapper .sticky-header {
|
||||
top: 0px;
|
||||
z-index: 1100;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.main-container-wrapper .sticky-header.header-shadow {
|
||||
-webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.search-container {
|
||||
|
|
@ -2686,8 +2698,19 @@ header #search-form > *:focus {
|
|||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
|
||||
.product-policy-container .card .col-sm-10 {
|
||||
line-height: 3.5rem;
|
||||
.product-policy-container .card .policy {
|
||||
display: table;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.product-policy-container .card .policy .left {
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.product-policy-container .card .policy .right {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* product policy section */
|
||||
|
|
@ -2897,7 +2920,11 @@ header #search-form > *:focus {
|
|||
}
|
||||
|
||||
.reviews-container .card .review-info > div:not(:last-child) {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.reviews-container .card .review-info .star-ratings {
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
|
||||
.reviews-container .product-info {
|
||||
|
|
@ -4071,6 +4098,10 @@ button[disabled] {
|
|||
color: #141516;
|
||||
}
|
||||
|
||||
.normal-white-text {
|
||||
color: rgba(255, 255, 255, 0.83);
|
||||
}
|
||||
|
||||
.display-table {
|
||||
display: table;
|
||||
}
|
||||
|
|
@ -4262,6 +4293,30 @@ button[disabled] {
|
|||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.product-detail .layouter,
|
||||
.product-detail #product-form {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.product-detail #product-form .form-container {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.product-detail #product-form .form-container .left {
|
||||
top: 60px;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.product-detail .accordian.active .accordian-header {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.product-detail .full-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.store-meta-images {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36532,7 +36532,7 @@ var render = function() {
|
|||
_c(
|
||||
"h2",
|
||||
{
|
||||
staticClass: "fs14 fw6 cursor-pointer tab",
|
||||
staticClass: "fs16 fw6 cursor-pointer tab",
|
||||
class: index == 0 ? "active" : ""
|
||||
},
|
||||
[_vm._v(_vm._s(tab))]
|
||||
|
|
@ -36582,7 +36582,7 @@ var render = function() {
|
|||
_vm._v(" "),
|
||||
!(_vm.viewAll == "false" || _vm.viewAll == "") && _vm.viewAll
|
||||
? [
|
||||
_c("div", { staticClass: "mr15" }, [
|
||||
_c("div", [
|
||||
_c(
|
||||
"a",
|
||||
{
|
||||
|
|
@ -36593,7 +36593,7 @@ var render = function() {
|
|||
}
|
||||
},
|
||||
[
|
||||
_c("h2", { staticClass: "fs14 fw6 cursor-pointer tab" }, [
|
||||
_c("h2", { staticClass: "fs16 fw6 cursor-pointer tab" }, [
|
||||
_vm._v("View All")
|
||||
])
|
||||
]
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class VelocityMetaDataSeeder extends Seeder
|
|||
|
||||
'subscription_bar_content' => '<div class="social-icons col-lg-6"><i class="fs24 within-circle rango-facebook" title="facebook"></i> <i class="fs24 within-circle rango-twitter" title="twitter"></i> <i class="fs24 within-circle rango-linked-in" title="linkedin"></i> <i class="fs24 within-circle rango-pintrest" title="Pinterest"></i> <i class="fs24 within-circle rango-youtube" title="Youtube"></i> <i class="fs24 within-circle rango-instagram" title="instagram"></i></div>',
|
||||
|
||||
'product_policy' => '<div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="row"><div class="col-sm-2"><i class="rango-van-ship fs40"></i></div><div class="col-sm-10"><span class="font-setting fs20">Free Shippingon Order $20 or More</span></div></div></div></div><div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="row"><div class="col-sm-2"><i class="rango-exchnage fs40"></i></div><div class="col-sm-10"><span class="font-setting fs20">ProductReplace & Return Available </span></div></div></div></div><div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="row"><div class="col-sm-2"><i class="rango-exchnage fs40"></i></div><div class="col-sm-10"><span class="font-setting fs20">ProductExchange and EMI Available </span></div></div></div></div>',
|
||||
'product_policy' => '<div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-van-ship fs40"></i></div> <div class="right"><span class="font-setting fs20">Free Shippingon Order $20 or More</span></div></div></div></div> <div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">ProductReplace & Return Available </span></div></div></div></div> <div class="col-sm-4 col-xs-12 product-policy-wrapper"><div class="card"><div class="policy"><div class="left"><i class="rango-exchnage fs40"></i></div> <div class="right"><span class="font-setting fs20">ProductExchange and EMI Available </span></div></div></div></div>',
|
||||
]);
|
||||
|
||||
DB::table('locales')->where('code', 'en')->update([
|
||||
|
|
|
|||
|
|
@ -22,8 +22,12 @@ class AdminHelper
|
|||
|
||||
public function saveLocaleImg($locale)
|
||||
{
|
||||
$locale->locale_image = $this->uploadImage('locale_image');
|
||||
$locale->save();
|
||||
$uploadedImagePath = $this->uploadImage('locale_image.image_0');
|
||||
|
||||
if ($uploadedImagePath) {
|
||||
$locale->locale_image = $uploadedImagePath;
|
||||
$locale->save();
|
||||
}
|
||||
|
||||
return $locale;
|
||||
}
|
||||
|
|
@ -32,8 +36,12 @@ class AdminHelper
|
|||
{
|
||||
$category = $this->categoryRepository->findOrFail($categoryId);
|
||||
|
||||
$category->category_icon_path = $this->uploadImage('category_icon_path');
|
||||
$category->save();
|
||||
$uploadedImagePath = $this->uploadImage('category_icon_path.image_0');
|
||||
|
||||
if ($uploadedImagePath) {
|
||||
$category->category_icon_path = $uploadedImagePath;
|
||||
$category->save();
|
||||
}
|
||||
|
||||
return $category;
|
||||
}
|
||||
|
|
@ -50,9 +58,11 @@ class AdminHelper
|
|||
Storage::delete($dir . $file);
|
||||
|
||||
$image = $request->file($file)->store($dir);
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
return $image;
|
||||
return false;
|
||||
}
|
||||
|
||||
public function storeSliderDetails($slider)
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ class VelocityServiceProvider extends ServiceProvider
|
|||
);
|
||||
|
||||
Event::listen([
|
||||
'bagisto.admin.catalog.category.edit_form_accordian.general.after',
|
||||
'bagisto.admin.catalog.category.create_form_accordian.general.after',
|
||||
'bagisto.admin.catalog.category.edit_form_accordian.description_images.controls.after',
|
||||
'bagisto.admin.catalog.category.create_form_accordian.description_images.controls.after',
|
||||
], function($viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate(
|
||||
'velocity::admin.catelog.categories.category-icon'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
class="col-lg-2 no-padding"
|
||||
v-for="(tab, index) in tabs.slice(0, 3)">
|
||||
|
||||
<h2 class="fs14 fw6 cursor-pointer tab" :class="index == 0 ? 'active' : ''">{{ tab }}</h2>
|
||||
<h2 class="fs16 fw6 cursor-pointer tab" :class="index == 0 ? 'active' : ''">{{ tab }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -40,9 +40,9 @@
|
|||
</template>
|
||||
|
||||
<template v-if="(! (viewAll == 'false' || viewAll == '')) && viewAll">
|
||||
<div class="mr15">
|
||||
<div>
|
||||
<a :href="viewAll" :title="`View all ${headerHeading} products`" class="remove-decoration link-color">
|
||||
<h2 class="fs14 fw6 cursor-pointer tab">View All</h2>
|
||||
<h2 class="fs16 fw6 cursor-pointer tab">View All</h2>
|
||||
</a>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
$white-color: #FFFFFF;
|
||||
$black-color: #111111;
|
||||
$font-color: rgba(0,0,0,0.83);
|
||||
$font-color-light: rgba(255, 255, 255, 0.83);
|
||||
$button-primary-bg: #21A179;
|
||||
$border-primary: #269c77;
|
||||
$button-danger: #F05153;
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@
|
|||
|
||||
.rating-bar {
|
||||
top: 12px;
|
||||
padding: 0px;
|
||||
height: 5px;
|
||||
position: relative;
|
||||
background-color: $light-background;
|
||||
|
|
@ -67,14 +68,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
.btn-write-review {
|
||||
margin-top: 10px;
|
||||
color: #26A37C;
|
||||
font-weight: 600;
|
||||
padding: 8px 11px;
|
||||
background-color: white;
|
||||
box-shadow: 0 1px 0 0 #CFCFCF;
|
||||
border: 1px solid rgba(0,0,0,0.12);
|
||||
.theme-btn {
|
||||
&.light {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -326,9 +323,9 @@
|
|||
padding: 0 10px !important;
|
||||
font-size: 24px !important;
|
||||
font-weight: 600 !important;
|
||||
border: 1px solid $border-common !important;
|
||||
color: $dark-color !important;
|
||||
background-color: $white-color;
|
||||
border: 1px solid $border-common !important;
|
||||
}
|
||||
|
||||
button:nth-of-type(1) {
|
||||
|
|
@ -336,7 +333,7 @@
|
|||
}
|
||||
|
||||
input {
|
||||
width: 50px;
|
||||
max-width: 28px;
|
||||
cursor: default;
|
||||
font-size: 16px !important;
|
||||
border-left: 0px !important;
|
||||
|
|
@ -344,6 +341,10 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #f5f5f5 !important;
|
||||
}
|
||||
|
||||
button:nth-last-of-type(1) {
|
||||
border-radius: 0px;
|
||||
border-left: 0px !important;
|
||||
|
|
@ -1247,7 +1248,21 @@
|
|||
|
||||
#app {
|
||||
min-height: 65vh;
|
||||
position: relative;
|
||||
}
|
||||
.main-container-wrapper {
|
||||
.sticky-header {
|
||||
top: 0px;
|
||||
z-index: 1100;
|
||||
position: sticky;
|
||||
background: white;
|
||||
|
||||
&.header-shadow {
|
||||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.search-container {
|
||||
padding: 30px 20px;
|
||||
|
|
|
|||
|
|
@ -201,8 +201,19 @@ header #search-form > *:focus {
|
|||
background: $white-color;
|
||||
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
||||
|
||||
.col-sm-10 {
|
||||
line-height: 3.5rem;
|
||||
.policy {
|
||||
display: table;
|
||||
padding: 0 10px;
|
||||
|
||||
.left {
|
||||
margin-right: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.right {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -430,7 +441,11 @@ header #search-form > *:focus {
|
|||
box-shadow: 0 4px 17px 0 rgba(0,0,0,0.11);
|
||||
|
||||
> div:not(:last-child) {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.star-ratings {
|
||||
margin-bottom: 5px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -218,6 +218,34 @@
|
|||
}
|
||||
}
|
||||
|
||||
.layouter,
|
||||
#product-form {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#product-form {
|
||||
.form-container {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
|
||||
.left {
|
||||
top: 60px;
|
||||
position: sticky;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.accordian {
|
||||
&.active {
|
||||
.accordian-header {
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.full-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.store-meta-images {
|
||||
|
|
|
|||
|
|
@ -751,6 +751,9 @@ button[disabled] {
|
|||
.normal-text {
|
||||
color: $light1-black;
|
||||
}
|
||||
.normal-white-text {
|
||||
color: $font-color-light;
|
||||
}
|
||||
|
||||
.display-table {
|
||||
display: table;
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ return [
|
|||
'footer' => 'Footer',
|
||||
'product-policy' => 'Product Policy',
|
||||
'slider-path' => 'Slider Path',
|
||||
'category-logo' => 'Category logo',
|
||||
],
|
||||
'category' => [
|
||||
'title' => 'Category Menu List',
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
<input
|
||||
type="file"
|
||||
name="category_icon_path"
|
||||
style="position: relative;top: -22px;left: 15px;" />
|
||||
<div class="control-group">
|
||||
<label>{{ __('velocity::app.admin.meta-data.category-logo') }}</label>
|
||||
|
||||
|
||||
|
||||
<image-wrapper
|
||||
:multiple="false"
|
||||
input-name="category_icon_path"
|
||||
:images='"{{ $category->image_url }}"'
|
||||
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
|
||||
</image-wrapper>
|
||||
@if (isset($category) && $category->category_icon_path)
|
||||
<image-wrapper
|
||||
:multiple="false"
|
||||
input-name="category_icon_path"
|
||||
:images='"{{ url()->to('/') . '/storage/' . $category->category_icon_path }}"'
|
||||
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
|
||||
</image-wrapper>
|
||||
@else
|
||||
<image-wrapper
|
||||
:multiple="false"
|
||||
input-name="category_icon_path"
|
||||
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
|
||||
</image-wrapper>
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -1 +1,16 @@
|
|||
<input type="file" name="locale_image" />
|
||||
<div class="control-group">
|
||||
@if (isset($locale) && $locale->locale_image)
|
||||
<image-wrapper
|
||||
:multiple="false"
|
||||
input-name="locale_image"
|
||||
:images='"{{ url()->to('/') . '/storage/' . $locale->locale_image }}"'
|
||||
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
|
||||
</image-wrapper>
|
||||
@else
|
||||
<image-wrapper
|
||||
:multiple="false"
|
||||
input-name="locale_image"
|
||||
:button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'">
|
||||
</image-wrapper>
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -19,14 +19,14 @@
|
|||
<div class="categories-collection">
|
||||
<div class="category-text-content">
|
||||
<h2 class="text-uppercase">
|
||||
<a href="{{ $category[0]->slug }}" class="unset">
|
||||
<a href="{{ $category[0]->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $category[0]->name }}
|
||||
</a>
|
||||
</h2>
|
||||
<ul type="none" class="fs14">
|
||||
@foreach ($category[0]->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $category[0]->slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $category[0]->slug . '/' . $subCategory->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -48,14 +48,14 @@
|
|||
<div class="categories-collection">
|
||||
<div class="category-text-content">
|
||||
<h2 class="text-uppercase">
|
||||
<a href="{{ $category[1]->slug }}" class="unset">
|
||||
<a href="{{ $category[1]->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $category[1]->name }}
|
||||
</a>
|
||||
</h2>
|
||||
<ul type="none" class="fs14">
|
||||
@foreach ($category[1]->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $category[1]->slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $category[1]->slug . '/' . $subCategory->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -75,14 +75,14 @@
|
|||
<div class="categories-collection">
|
||||
<div class="category-text-content">
|
||||
<h2 class="text-uppercase">
|
||||
<a href="{{ $category[2]->slug }}" class="unset">
|
||||
<a href="{{ $category[2]->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $category[2]->name }}
|
||||
</a>
|
||||
</h2>
|
||||
<ul type="none" class="fs14">
|
||||
@foreach ($category[2]->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $category[2]->slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $category[2]->slug . '/' . $subCategory->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -103,14 +103,14 @@
|
|||
<div class="categories-collection">
|
||||
<div class="category-text-content">
|
||||
<h2 class="text-uppercase">
|
||||
<a href="{{ $category[3]->slug }}" class="unset">
|
||||
<a href="{{ $category[3]->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $category[3]->name }}
|
||||
</a>
|
||||
</h2>
|
||||
<ul type="none" class="fs14">
|
||||
@foreach ($category[3]->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $category[3]->slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $category[3]->slug . '/' . $subCategory->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -142,14 +142,14 @@
|
|||
<div class="categories-collection">
|
||||
<div class="category-text-content">
|
||||
<h2 class="text-uppercase">
|
||||
<a href="{{ $categoryItem->slug }}" class="unset">
|
||||
<a href="{{ $categoryItem->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $categoryItem->name }}
|
||||
</a>
|
||||
</h2>
|
||||
<ul type="none" class="fs14">
|
||||
@foreach ($categoryItem->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $categoryItem->slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $categoryItem->slug . '/' . $subCategory->slug }}" class="remove-decoration normal-white-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<label class="fs20 no-margin display-block">
|
||||
<h4 class="fs20 fw6 no-margin display-block">
|
||||
{{ $review['name'] }}
|
||||
</label>
|
||||
</h4>
|
||||
|
||||
<div class="product-info fs16">
|
||||
<span>Reviewed- <a class="remove-decoration link-color" href="{{ route('shop.productOrCategory.index', ['slug' => $review->product->url_key]) }}">{{$review['title']}}</a></span>
|
||||
<span>Reviewed- <a class="remove-decoration link-color" href="{{ route('shop.productOrCategory.index', ['slug' => $review->product->url_key]) }}">{{$review->product->name}}</a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
<ul type="none">
|
||||
@foreach ($categoryDetails->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $slug . '/' . $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $slug . '/' . $subCategory->slug }}" class="remove-decoration normal-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<ul class="font-clr pl30">
|
||||
@foreach ($categoryDetails->children as $subCategory)
|
||||
<li>
|
||||
<a href="{{ $subCategory->slug }}" class="unset">
|
||||
<a href="{{ $subCategory->slug }}" class="remove-decoration normal-text">
|
||||
{{ $subCategory->name }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,22 @@
|
|||
<header>
|
||||
<header class="sticky-header">
|
||||
<div class="row col-12 remove-padding-margin velocity-divide-page">
|
||||
<logo-component></logo-component>
|
||||
<searchbar-component></searchbar-component>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
(() => {
|
||||
document.addEventListener('scroll', e => {
|
||||
scrollPosition = Math.round(window.scrollY);
|
||||
|
||||
if (scrollPosition > 50){
|
||||
document.querySelector('header').classList.add('header-shadow');
|
||||
} else {
|
||||
document.querySelector('header').classList.remove('header-shadow');
|
||||
}
|
||||
});
|
||||
})()
|
||||
</script>
|
||||
@endpush
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@endpush
|
||||
|
||||
@section('full-content-wrapper')
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
@if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
|
||||
<a href="{{ route('shop.reviews.create', ['slug' => $product->url_key ]) }}">
|
||||
<button type="button" class="btn-write-review">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
<button type="button" class="theme-btn light">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -51,13 +51,13 @@
|
|||
@for ($i = 5; $i >= 1; $i--)
|
||||
|
||||
<div class="row">
|
||||
<span class="col-lg-3 no-padding fs16 fw6">{{ $i }} Star</span>
|
||||
<span class="col-3 no-padding fs16 fw6">{{ $i }} Star</span>
|
||||
|
||||
<div class="col-lg-7 rating-bar" title="{{ $percentageRatings[$i] }}%">
|
||||
<div class="col-7 rating-bar" title="{{ $percentageRatings[$i] }}%">
|
||||
<div style="width: {{ $percentageRatings[$i] }}%"></div>
|
||||
</div>
|
||||
|
||||
<span class="col-lg-2 fs16">{{ $countRatings[$i] }}</span>
|
||||
<span class="col-2 fs16">{{ $countRatings[$i] }}</span>
|
||||
</div>
|
||||
@endfor
|
||||
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
@if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
|
||||
<a href="{{ route('shop.reviews.create', ['slug' => $product->url_key ]) }}">
|
||||
<button type="button" class="btn-write-review">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
<button type="button" class="theme-btn light">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
<div class="customer-reviews" slot="body">
|
||||
@foreach ($reviewHelper->getReviews($product)->paginate(10) as $review)
|
||||
<div class="row">
|
||||
<h4 class="col-lg-12">{{ $review->title }}</h4>
|
||||
<h4 class="col-lg-12 fs18">{{ $review->title }}</h4>
|
||||
|
||||
<star-ratings
|
||||
:ratings="{{ $review->rating }}"
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
<span>{{ $review->comment }}</span>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 review-date-time">
|
||||
<div class="col-lg-12 mt5">
|
||||
<span>{{ __('velocity::app.products.review-by') }} -</span>
|
||||
|
||||
<label>
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
|
||||
<a
|
||||
href="{{ route('shop.reviews.index', ['slug' => $product->url_key ]) }}"
|
||||
class="mb20"
|
||||
class="mb20 link-color"
|
||||
>{{ __('velocity::app.products.view-all-reviews') }}</a>
|
||||
</div>
|
||||
</accordian>
|
||||
|
|
@ -157,7 +157,7 @@
|
|||
<div class="customer-reviews">
|
||||
@foreach ($reviewHelper->getReviews($product)->paginate(10) as $review)
|
||||
<div class="row">
|
||||
<h4 class="col-lg-12">{{ $review->title }}</h4>
|
||||
<h4 class="col-lg-12 fs18">{{ $review->title }}</h4>
|
||||
|
||||
<star-ratings
|
||||
:ratings="{{ $review->rating }}"
|
||||
|
|
@ -168,7 +168,7 @@
|
|||
<span>{{ $review->comment }}</span>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-12 review-date-time">
|
||||
<div class="col-lg-12 mt5">
|
||||
@if ("{{ $review->name }}")
|
||||
<span>{{ __('velocity::app.products.review-by') }} -</span>
|
||||
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
@if (core()->getConfigData('catalog.products.review.guest_review') || auth()->guard('customer')->check())
|
||||
<div class="customer-rating" style="border: none">
|
||||
<a href="{{ route('shop.reviews.create', ['slug' => $product->url_key ]) }}">
|
||||
<button type="button" class="btn-write-review">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
<button type="button" class="theme-btn light">{{ __('velocity::app.products.write-your-review') }}</button>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue