You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to reproduce
I'm trying to retreive the products from a virtual category via API.
The virtual category has been created on the "Only discounted products" criteria.
Problem
Following the recomandation found on this subject Smile-SA/elasticsuite#217.
I tried retrieving the products via the REST search API using the price.is_discount field but it doesn't work.
Reason
After diging I found that the index is made on an offer.is_discount field which is inconsistent with the field used in the Magento.
Solution
So the module needs to eather set the offer.is_discount as the field for "Only discounted products" or index on the price.is_discount field instead of the offer.is_discount.
The text was updated successfully, but these errors were encountered:
Thank you for report this issue.
You are right, actually it is impossible to retrieve the product list with the criteria is_discount. We need to find a way to select the seller to apply the filter.
For the virtual category on front, we will make a quick fix to use the "Only discounted products" criteria.
How to reproduce
I'm trying to retreive the products from a virtual category via API.
The virtual category has been created on the "Only discounted products" criteria.
Problem
Following the recomandation found on this subject Smile-SA/elasticsuite#217.
I tried retrieving the products via the REST search API using the
price.is_discount
field but it doesn't work.Reason
After diging I found that the index is made on an
offer.is_discount
field which is inconsistent with the field used in the Magento.Solution
So the module needs to eather set the
offer.is_discount
as the field for "Only discounted products" or index on theprice.is_discount
field instead of theoffer.is_discount
.The text was updated successfully, but these errors were encountered: