Skip to content

[Configurable] JS error on product page #25601

Closed
@ihor-sviziev

Description

@ihor-sviziev

Preconditions (*)

  1. Magento 2.3.3 or 2.3-develop

Steps to reproduce (*)

  1. Create Configurable product
  2. Go to this product on frontend
  3. Add this product to cart,
    image
  4. In the mini cart or on the cart page click on "Edit" (image) icon
  5. Open Google Chrome Developer tools

Expected result (*)

  1. You should not see any JS errors
  2. Already selected configurable option should be selected

Actual result (*)

  1. We have JS error
Uncaught TypeError: Cannot read property 'find' of undefined
    at $.<computed>.<computed>.updateMsrpPrice (msrp.js:355)
    at $.<computed>.<computed>.updateMsrpPrice (widget.js:100)
    at $.<computed>.<computed>.onUpdateMsrpPrice (msrp.js:333)
    at $.<computed>.<computed>.onUpdateMsrpPrice (widget.js:100)
    at HTMLDocument.dispatch (jquery.js:5232)
    at HTMLDocument.elemData.handle (jquery.js:4884)
    at Object.trigger (jquery.js:5136)
    at Object.jQuery.event.trigger (jquery-migrate.js:633)
    at HTMLDocument.<anonymous> (jquery.js:5866)
    at Function.each (jquery.js:376)

image
2. Already selected configurable option is not selected

Metadata

Metadata

Assignees

Labels

Area: FrontendComponent: ConfigurableProductFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions