Item Template Issues: On Image Removal and Variant Disabled Status Resetting Automatically"

I am using an item template with different variants, and I noticed some behavior that needs attention. When I change the template, the corresponding fields in the variants are automatically updated, which works as expected. Additionally, adding an image to the template reflects the variants correctly.

However, I encountered two issues:

  1. If I remove an image from the template, the image in the variants is not removed.
  2. If a variant is disabled, it gets automatically enabled whenever I change the template.

I need a solution to address these two issues