Webform is adding a second product to the cart

Created on 9 June 2022, over 2 years ago
Updated 24 January 2023, almost 2 years ago

I have a webform with several text and select fields. the Webform Product fields are set up correctly.

I added a new select field to my form, and now an additional product using that field's name is being added to the cart along with the correct webform product. The same thing happens if I create a radio button field or a checkbox field. The issue does NOT occur when I create a new text field.

The strange thing is, I have had a couple other select fields on the form for months, with no such issues. It wasn't until today that it suddenly started occurring, after I added an additional select field.

What would cause this issue, and how can I resolve it?

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States hockey2112

Live updates comments and jobs are added and updated live.
  • PHP 7.4

    The issue particularly affects sites running on PHP version 7.4.0 or later.

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.

  • Status changed to Needs review almost 2 years ago
  • Status changed to Fixed almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States hockey2112

    Sorry for the delay. I may have spoken too soon with the 3.03 version. This morning I tested it again, and it added the "phantom" products to the cart.

    I switched to the latest dev, and that solved the issue... no phantom products were added to cart. Will those updates be committed to a new version?

  • πŸ‡­πŸ‡ΊHungary nagy.balint

    I released 3.0.4, let me know if it works fine for you.

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024