• Resolved mcdeth

    (@mcdeth)


    Hi, I Have few imports using XML files and some of them don’t check for SKU duplicates. Current XML file structure is:

    <Product ID="134">
     <Item>
      <ItemEan>
        SKU
       </ItemEan>
      <ItemCode>
        10164_G
      </ItemCode>
     
     <ItemSymbol>
       13908
      </ItemSymbol>
     </Item>
    </Product>

    I’m using dont_duplicate_skus function from documentation. I can’t get this example to work, I’ve tried also checking for duplicate by filtering ean number (is same as sku, attribute is _alg_ean), but it also doesn’t give any effects. I’ve tried also:

    $sku = $data['ItemEan'];
    $sku = $data['Item/ItemEan'];
    $sku = $data['Item(1)/ItemEan(1)'];
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘check for duplicates hook not working’ is closed to new replies.