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

Magento modifies the SKU when creating products and SKU is already used #101

Open
@federivo

Description

@federivo

Preconditions

  1. Magento 2.x
  2. PHP 5.5 5.6 7.0 7.1
  3. MySql 5.5 5.6

Steps to reproduce

  1. Create a product with SKU "ABC"
  2. Then create another product with the same SKU "ABC"

Expected result

  1. It should alert the user with an error message that the SKU is already in use by another product

Actual result

  1. Magento appends a "-1" to the SKU and saves it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions