Skip to content

Adding required custom options to simple product removes it from parent composite products without warning #30492

Closed
@magento2pl

Description

@magento2pl

Steps to reproduce

  1. Login to the Magento Admin panel
  2. Create a configurable or group product
  3. Create a simple product and add it to configurable or group product
  4. Edit simple product and add a required custom option
  5. Save

Expected result

A simple product should not be saved. A warning should be displayed to the admin user: "Required custom options cannot be added to a simple product that is a part of a composite product"

Actual result

A simple product is saved. It is unassigned from parent composite products. No warning is displayed to the admin user.

Additional Info

Moreover there is problem with those simple product custom options. When simple product has custom option and You are in configurable product page and You choose simple product ( configurable attribute ) there should also be possibility to choose product simple custom option.

Metadata

Metadata

Labels

Component: ConfigurableProductComponent: GroupedProductIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions