We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i checked the catalog_product.js, and "list" has no parameters. so how do i filter products ?
The text was updated successfully, but these errors were encountered:
I was able to get this working by editing the following part in catalog_product.js like so:
Before:
list: true
After
list: { optional: 'filters' },
After that change it works like documented:
magento.catalogProduct.list({ filters: { "status": 1, "created_at": { "from": "2018-01-01 00:00:00" } } }, function (err, results) { }
Sorry, something went wrong.
No branches or pull requests
i checked the catalog_product.js, and "list" has no parameters.
so how do i filter products ?
The text was updated successfully, but these errors were encountered: