BuddyForms / BuddyForms-WooCommerce-Form-Elements

This Plugin adds a new section to the BuddyForms Form Builder with all WooCommerce fields to create Product creation forms for the frontend
GNU General Public License v2.0
3 stars 3 forks source link

"Sale Price", "Regular Price" and "Product Type" fields are acting weird in the backend #82

Closed njota08 closed 5 years ago

njota08 commented 5 years ago

Describe the bug There are several behaviors with these new fields.

The first time you add any of these 3 fields in the backend, the field just show the "Advanced" tab.

image

Then if you click on "Publish", the form is published but there's an error and the field disappears.

image

If you add the field again, the field appears with all its tabs and behaves normally.

image

You can save/update the form, the error will disappear and the field will remain visible.

image

And if you delete the field, and try to add it again. The field won't be added and instead of it a zero number will appear below the last field every time you try to add the field. In the screenshot below you'll see I tried to add the field twice so there are two zero (0) numbers.

image

At this point, if you update the form everything will go back to normal for any of these fields.

To Reproduce

  1. Create a new form
  2. Add any of these new fields
  3. Follow the instructions provided above
njota08 commented 5 years ago

Fixed, tested and closed.