magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[Bug]: Remove stock_status and only_x_left_in_stock from productDetailsQuery

Open Frodigo opened this issue 2 years ago • 1 comments

How the project can be improved?

Inpackages/api-client/src/api/productDetail/productDetailsQuery.ts there are fields:

  • stock_status
  • only_x_left_in_stock

When the MSI module is disabled, it caused GraphQL errors. Those fields are used in Product.vue

Additional information

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Frodigo avatar Apr 11 '22 10:04 Frodigo

Hi, I have remove stock_status and only_x_left_in_stock from productDetailsQuery. Please, check out my PR, #1383.

runyasak avatar Oct 23 '22 15:10 runyasak