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
Issue description
Adding more than 20 products to a field leads to "Product missing" message in products preview
Steps to reproduce
Create a new entry (content type must have a field with commerce tools app installed for products widget)
Add more than 20 products to the field connected to commerce tools
Save
Only 20 products are properly shown, while exceeding products show the message mentioned before
Screenshot
Expected behavior
I expected all selected products to show correctly in the preview, the error message is misleading. The products do exist and should render (name & image).
Root cause
Commerce tools api response is limited to 20 entries. You have to provide the offset in order to fetch remaining results. Example of a response:
The logic to fetch the products preview is not considering the number of results, always returning at most 20 entries (link).
Issue description
Adding more than 20 products to a field leads to "Product missing" message in products preview
Steps to reproduce
Screenshot
Expected behavior
I expected all selected products to show correctly in the preview, the error message is misleading. The products do exist and should render (name & image).
Root cause
Commerce tools api response is limited to 20 entries. You have to provide the offset in order to fetch remaining results. Example of a response:
The logic to fetch the products preview is not considering the number of results, always returning at most 20 entries (link).
The text was updated successfully, but these errors were encountered: