Skip to content

Doesn't handle $ or £ in excel price column  #2

@autotelik

Description

@autotelik

If the Price column is a currency type containing symbol get a very nasty bug where the Product saves and save returns true but there is no master Variant. This is particularly nasty as will crash the main site as Products found, but access to master causes no method errors on nil.

Presume the price field is set to something on Master, not nil, so Product saves but then the underlying Variant fails to save when checks done on validity of Price field.

Odd since if you leave the Price column completely blank then the Product itself will not save, validation error something like 'Price must be set'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions