You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.
While importing new simple products with a capital alpha character postfix, existing simple product will not get replaced because of the strtolower($sku) function when fetching SKU's from the database.
Preconditions
Magento version 2.2.3
Steps to reproduce
import product with sku 11111M
run import again with sku 11111M
Expected result
View catalog_product_entity table and you will find the sku 11111M product being copied instead of being replaced.
Function of the strtolower on SKU
\Magento\CatalogImportExport\Model\Import\Product\SkuProcessor::getNewSku line 144
The text was updated successfully, but these errors were encountered:
It would be best if SKU would be case-sensitive and if it would support all characters possible. This way we give more freedom to the merchant and they can create SKU's in any format. Having that said, we understand that his will be a big change.
Removing the strtolower functionality wasn't as easy as it looked, because it is used in a lot of classes.
Thank you for raising this issue. We are currently investigating this and more issues with regards to SKU look ups under the issue #37 I would like to combine these issues if that makes sense.
@tadhgbowe is this case being covered in your issue validation?
While importing new simple products with a capital alpha character postfix, existing simple product will not get replaced because of the strtolower($sku) function when fetching SKU's from the database.
Preconditions
Steps to reproduce
Expected result
View catalog_product_entity table and you will find the sku 11111M product being copied instead of being replaced.
Function of the strtolower on SKU
\Magento\CatalogImportExport\Model\Import\Product\SkuProcessor::getNewSku line 144
The text was updated successfully, but these errors were encountered: