Skip to content

Deleting a custom option affects / removes other custom options #39405

@ProceduralUserName

Description

@ProceduralUserName

Preconditions and environment

Magento 2.4.7 p-3

Steps to reproduce

(Outcomes differ based on steps taken)

Setup:

  • Create a new product
  • Fill out required fields
  • Scroll down to customizable options
  • Create 4 custom fields: Field1, Dropdown1, Dropdown2, Radiobutton1.
  • For each, fill in required fields with dummy data.
  • For option type choose these, in order:
    - Field
    - Dropdown
    - Dropdown
    - Radiobuttons
  • Make sure to add and populate Dropdown1, Dropdown2 and Radiobutton1's values fields.
  • Save product
    Reproduce:
  • Delete Field option
    OR
  • Delete Dropdown1
    OR
  • Delete Dropdown2

Expected result

Respective field is deleted and other fields remain the same as they were.

Actual result

If Field option was deleted:

  • Field option is removed (Correct action)
  • Dropdown1’s values are removed
  • Dropdown1’s option type is reset to “--please select–” and cannot reselect Dropdown as an option type.
    If Dropdown1 was deleted:
  • Field1 option type is reset to –”please select–” and cannot reselect Field as an option type.
  • Dropdown1 is removed (Correct action)
  • Dropdown2’s values are removed
  • Radiobutton1’s values jump into Dropdown2’s values.
  • Radiobutton1’s values are empty
    If Dropdown2 was deleted:
  • Field1 option type is reset to –”please select–” and cannot reselect Field as an option type.
  • Dropdown2 is removed (Correct action)
  • Radiobutton1’s values are removed

Additional information

First post here, if there's any information I'm missing that I should add let me know.

Thanks.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.7-p3Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions