I write an observer who checks every item in the order, at some point I get the items
foreach($order->getAllItems() as $item){
but I get twice the same item with the same sku, of course, where is the catch? perhaps in some kind of configuration file?
source share