Comments (3)
You mean 100 (not 10) correct? yes, i think it could be useful to have it as a config variable; why not
from vue-storefront-1.
Sorry, my description probably was a bit bad.
Currently it's limited to 10 results per filter in ES by default. But it would be nice to have all available variants in these filters - that's what filters are for, right? ;)
What I've posted above with {size: 100}
is just how i've made it work while trying to find the "bug" but this 3rd argument which increases this value to 100 doesn't even exist in the original code.
That's why i suggest to make it configurable in the config.json/local.json...
The Demo-Store "Size"-Filter looks like this in Default Category and is limited to 10 items...
But if you open a Product you can see that there exist few more sizes... (e.g. "36" in the following example)
from vue-storefront-1.
Same issue here!
there are 2 issues to be discussed:
- Setting a fixed maximum number of terms for each aggregation doesn't mean that we always have the right number of options for each filter because it depends on the backend. Is it acceptable for you?
- Setting a number too high (es.100 to be sure) could impact too much on the performances?
I'd like to find a smart way of solving the problem, for example a "more options" link to load ten items a time. I don't know if elastic allows such a thing (load buckets from 1 to 10, then from 10 to 20 etc ..) I'll check.
What were you thinking of doing?
from vue-storefront-1.
Related Issues (20)
- Category filters in layered navigation
- [Bug]: Server Crashing
- [Bug]: Order Submission fails when using instore delivery HOT 3
- Bugfix stuck in develop branch
- [Bug]: If defaultStoreCode is set in a multistore setup, homepage results in error. HOT 2
- Hacktoberfest 2021 HOT 1
- [VSF1] reduce memory usage by refactoring nested function definitions HOT 1
- Update information regarding internationalization support
- [Bug]: Mutated value for config.products.omitVariantFields
- [Bug]: Invalid visibility for baseFilterProductsQuery
- [Bug]: change Not Found page layout
- [Bug]: Cart quantity update fails even though updated quantity is available
- Update the README file
- [Bug]: Product url goes to 404 (Show in google search console)
- [Bug]: URL mapping error after editing a category URL key for a store view
- Serving all assets from different domain trough /dist directory
- Session management
- [Bug]: Unable to verify the first certificate
- [Bug]: wrong product sort order after switching a category
- [Feature]: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-storefront-1.