product_attribute_value_archive
Enable archiving of product attribute values that are only referenced by archived product variants while letting them be restored when variants return.
Key Features
- product.attribute.value: Adds an active flag and archives values instead of deleting them when they are only linked to archived variants
- product.attribute.value: Reuses existing archived values with the same name and attribute by unarchiving them on creation to avoid duplicates
- product.product: Unarchiving a variant also unarchives its related template attribute values and underlying attribute values
- product.template.attribute.value: Unarchiving a template attribute value reactivates its attribute line and relinks the value without triggering unwanted variant generation