Skip to content

Dont select an option - > Add to cart - > Errors UNDER add to cart instead of under the option. #5930

Closed
@HRR1337

Description

@HRR1337

Preconditions

  1. Magento 2.1 Luma theme
  2. PHP 7

Steps to reproduce

  1. Open a product with (multiple) options (i tested the configurable product)
  2. Dont select any option
  3. Click on 'Add to Cart'

Expected result

  1. The error 'This is a required field.' needs to be positioned at the attribute that wasn't selected.

Actual result

  1. The message (or multiple when you have more then 1 option) "This is a required field." is under the add to cart button.

error-add-to-cart

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions