Notification form breaks add to cart form with multiple variations

Created on 25 February 2021, over 3 years ago
Updated 21 January 2023, over 1 year ago

If you have a product with at least 2 variations, one of them out of stock, you are able though to switch from an in-stock variation to an out-of-stock, but choosing another variation from an out of stock variation breaks the add to cart form Ajax entirely.

A quick debugging showed me that the embedded notification form is causing the troubles. The obvious solution would be to replace the traditional form implementation with a CommerceInlineForm plugin implementation. Because that's why have that inline forms in Commerce

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇹Austria agoradesign

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024