Magento Product Indentifier

Every product in the Magento catalog can have both an ID and a SKU. The id is usually numeric while the SKU can be alphanumeric. In some installations of Magento we observed that the API will only allow SellerCloud to update based on the one identifier or the other, so we added an AppSetting in SellerCloud called MagentoProductIdentifierType to control this. The accepted values are: either sku, id . but not both.

In some cases, Magento will give back an error message of  “product not exists” until the above setting is taken care of.

There is also a related known bug in some Magento versions where it will try to use the ID instead of the SKU if the submitted SKU is numeric. Below are instructions how to update one of the Magento files to resolve this issue:

 /public_html/app/code/core/Mage/Catalog/Helper/Product.php    Line #427

if ($identifierType == 'sku') {
            $idBySku = $product->getIdBySku($productId);
            if ($idBySku) {
                $productId = $idBySku;
                $identifierType = 'id' ;
            if ($loadByIdOnFalse) {
                $identifierType = 'id';