File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ public function execute(Observer $observer)
5050 try {
5151 $ product = $ observer ->getProduct ();
5252
53+ // NOTE: If you experience issues with multiselect attribute values not saving properly for products,
54+ // try commenting out the early return below. This check prevents frequent updates but may interfere
55+ // with multiselect value persistence in some configurations.
5356 if ($ this ->productHelper ->wasUpdatedRecently ($ product )) {
5457 return ;
5558 }
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ public function execute(Observer $observer)
6060 $ productId = $ stockItem ->getProductId ();
6161 $ product = $ this ->productRepository ->getById ($ productId );
6262
63+ // NOTE: If you experience issues with multiselect attribute values not saving properly for products,
64+ // try commenting out the early return below. This check prevents frequent updates but may interfere
65+ // with multiselect value persistence in some configurations.
6366 if ($ this ->productHelper ->wasUpdatedRecently ($ product )) {
6467 return ;
6568 }
You can’t perform that action at this time.
0 commit comments