Notification form breaks add to cart form with multiple variations

Created on 25 February 2021, almost 4 years ago
Updated 21 January 2023, almost 2 years 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.71.5 2024