Skip to content

Product attribute option lookup is not case sensitive  #291

@WinstonN

Description

@WinstonN

Hello

I have the privilege of working with your awesome module again, and I just want to start off by saying Thank You!! If you are ever in Cape Town, South Africa, please please get in touch because I would want to buy you a few beers :)

I have a small issue with the code, and that is that it's not validating attribute options based on casing
An example: We have an attribute Size, and an option of that 12 Years.
I would like to make that case sensitive, so that when we import "12 years" it would validate and say that that option does not exist. Currently that passes.

This leads onto a bigger problem, unfortunately.

I am using that Size to create the simple product SKU. But what is happening is that I would have a simple product in magento with sku "ABC-12 Years" and when this case manifests, with the import, there would be another simple product created with SKU "ABC-12 years"
That is strange right?

I tried to do that in the Magento admin and it failed validation saying that this SKU already exists.
But, for some reason with the importer that is not happening.

Can you please point me in the right direction?

Thank you so much!!

Winston

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions