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
In the administration panel, when viewing the detail of a product, a request is made for each variant in order to return the related sales.
This causes a problem when there are several variants for a single product.
What's your proposed solution?
It would be interesting to have a configuration option to display or not this functionality.
For now, in order to work around the problem, I am getting each request to determine if it is a request with request queryParam ('p') === 'admin/actions/commerce/sales/get-sales-by-purchasable-id '.
If so, I directly return a void-type response to prevent sql query.
The text was updated successfully, but these errors were encountered:
What are you trying to do?
In the administration panel, when viewing the detail of a product, a request is made for each variant in order to return the related sales.
This causes a problem when there are several variants for a single product.
What's your proposed solution?
It would be interesting to have a configuration option to display or not this functionality.
For now, in order to work around the problem, I am getting each request to determine if it is a request with request queryParam ('p') === 'admin/actions/commerce/sales/get-sales-by-purchasable-id '.
If so, I directly return a void-type response to prevent sql query.
The text was updated successfully, but these errors were encountered: