Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Products are not getting replaced because of the strtolower function on fetching sku from the database #118

@NoorulBhoelai

Description

@NoorulBhoelai

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

  1. Magento version 2.2.3

Steps to reproduce

  1. import product with sku 11111M
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions