1

I've created a custom customer attribute via install script.

Now I would like to bulk update this attribute for batches of customers programmatically. Preferably in a single query (using foreach would be inefficient).

If I understand this correctly in case of products there's Magento\Catalog\Model\ResourceModel\ProductAction, but there is no customer equivalent for this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.