Skip to main content
added 1 character in body
Source Link
Keyur Shah
  • 18.1k
  • 6
  • 67
  • 80

It's because you are using catalog_product_save_after. so on product save you are again saving and again this evenevent called so bottleneck happen. I would suggest to use different event. or Use catalog_product_save_before event and just set the $_product->setSku("testNew1"); and not save $product object.

It's because you are using catalog_product_save_after. so on product save you are again saving and again this even called so bottleneck happen. I would suggest to use different event. or Use catalog_product_save_before event and just set the $_product->setSku("testNew1"); and not save $product object.

It's because you are using catalog_product_save_after. so on product save you are again saving and again this event called so bottleneck happen. I would suggest to use different event. or Use catalog_product_save_before event and just set the $_product->setSku("testNew1"); and not save $product object.

Source Link
Keyur Shah
  • 18.1k
  • 6
  • 67
  • 80

It's because you are using catalog_product_save_after. so on product save you are again saving and again this even called so bottleneck happen. I would suggest to use different event. or Use catalog_product_save_before event and just set the $_product->setSku("testNew1"); and not save $product object.