Merge pull request #2687 from rahulshukla-webkul/development

Issue #2593 fixed
This commit is contained in:
Jitendra Singh 2020-03-18 16:33:16 +05:30 committed by GitHub
commit 7ed5943642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -161,6 +161,10 @@
props: ['index', 'attribute', 'appliedFilterValues'],
data: function() {
let maxPrice = '{{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) }}';
maxPrice = (parseInt(maxPrice) !== 0) ? parseInt(maxPrice) : 500;
return {
appliedFilters: [],
@ -171,7 +175,7 @@
0,
0
],
max: {{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) ?? 0 }},
max: maxPrice,
processStyle: {
"backgroundColor": "#FF6472"
},

View File

@ -183,7 +183,7 @@
data: function() {
let maxPrice = '{{ core()->convertPrice($productFlatRepository->getCategoryProductMaximumPrice($category)) }}';
maxPrice = (maxPrice !== '') ? parseInt(maxPrice) : 0;
maxPrice = (parseInt(maxPrice) !== 0) ? parseInt(maxPrice) : 500;
return {
active: false,