1

I'm trying to update product stock in Magento 2 (2.4). But it is slow. I've used these 2 different methods:

Both options take a lot of time to update each item ( > 1.5 seconds). Is there a faster way to update stocks? Something like the saveAttribute function we use for products?

Thanks in advance for your help :)

1
  • did you find better and fastest way ? Commented Apr 1, 2022 at 9:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.